make_array.Rd
Cast Data to Array or Matrix for Use in JAGS
make_array(
df = bbs,
val,
row = c("rteno", "checklist_id"),
col = "year",
slice = "gridcellid",
drop.na.rows = FALSE
)
Data frame with three or more columns
target value to populate the matrix or array matrices
target rownames
target colnames
target slice-by values
logical if TRUE will drop the values of arg "val" where is NA.