Description Usage Arguments Value Author(s) See Also
A function for generating leave-individuals-out cross-validation output for a step-selection model.
1 2 3 4 5 6 7 8 9  | lio.clogit(
  dat,
  form,
  thin = NULL,
  cluster = "ID_year",
  ID = "AnimalID",
  inPar = TRUE,
  ncores = NULL
)
 | 
dat | 
 a movetrack object with pseudo-absences points (.e., available; Used = 0) and used points (Used = 1) stratified by step and annotated with representative covariates.  | 
form | 
 a formula object with the clogit formula to be evaluated using LIO cross-validation.  | 
thin | 
 an integer representing the amount of thinning required before performing the cross-validation (not recommended and potentially biases results).  | 
cluster | 
 a character string for the name of the clustering variable (e.g., 'ID_year').  | 
ID | 
 a character string for the name of the animal IDs. Used to partition individuals for the LIO procedure.  | 
inPar | 
 Boolean for whether or not procedure should be performed in parallel (TRUE by default).  | 
ncores | 
 if inPar = TRUE, ncores will define the number of cpu cores to use.  | 
Returns a list of lists indexed by individual. Nested within each individual's element is a second list containing the fitted and observed values (obj[[i]]$values) and cross-validation metrics (obj[[i]]$cv).
Peter Mahoney
processMovedata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.