Apply standard column names to calculated covariates consistent with
the requirements of the beethoven
package. Column names follow fixed
format of 3 character data genre, 2 - 15 character variable code, 1 digit
temporal lag, and 5 digit buffer radius (in meters). Variable code character
range is required to retain interpretable column names across datasets.
calc_setcolumns(from, lag, dataset, locs_id)
a data.frame or SpatVector object (depending on from
)
data.frame(1) or SpatVector(1). Calculated covariates as
returned from calc_covariates()
or a source specific covariate
function.
integer(1). Temporal lag.
character(1). Covariate parent dataset.
character(1). Column containing identifier for each unique coordinate location.