format_covariates | R Documentation |
format_covariates
formats an array used by Data_Fn
for habitat (a.k.a. density) covariates
format_covariates(
Lat_e,
Lon_e,
t_e,
Cov_ep,
Extrapolation_List,
Spatial_List,
FUN = mean,
Year_Set = min(t_e):max(t_e),
na.omit = "error"
)
Lat_e |
Latitude for covariate sample e |
Lon_e |
Longitude for covariate sample e |
t_e |
Time (e.g., year) for covariate sample e |
Cov_ep |
matrix of covariates |
Spatial_List |
Output from |
FUN |
function used to aggregate observations associated with each knot-time combination |
Year_Set |
Set of times |
na.omit |
What to do when some knot-time combination has no observation. Options include |
Tagged list of useful output
3-dimensional array for use in Data_Fn
a matrix summarizing the data-level variance, variance among knots, and lost variance when aggregating from data to knots for each covariate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.