ind_se: Extract individual standard errors

View source: R/fcts RSF.R

ind_seR Documentation

Extract individual standard errors

Description

Extract individual standard errors

Usage

ind_se(m = 1, mod_ls, cutoff = 0, id_year = F)

Arguments

m

model number (based on number in list of formula provided to rsf_ind)

mod_ls

A list of list of model generated by rsf_ind

cutoff

A cutoff value to exclude individuals with bad fit, default = -1 indicating model that did not converge will be excluded. Values > 0 will exclude based on coefficient

id_year

Whether id_year (instead of individual) are provided. Individual and year needs to be separated by an underscore for the function to work properly.

Value

A table of individual standard errors for each coefficients

Examples

data(goats)
ls1<-list()
ls1[[1]]<-as.formula(STATUS~ELEVATION+SLOPE+ET+ASPECT+HLI+TASP)
ls1[[2]]<-as.formula(STATUS~ET+ASPECT+HLI+TASP)
out<-rsf_ind(goats$ID, data=goats, form_ls=ls1)
ind_se(m=1, out)

BastilleRousseau/IndRSA documentation built on Jan. 28, 2024, 2:14 a.m.