bad_fit1 | R Documentation |
Identify potential individual with bad fits based on coefficients and model convergence
bad_fit1(mod_ls, cutoff = 1000, m = 1)
mod_ls |
A list of list of model generated by rsf_ind |
cutoff |
Value a coeffiecient may take to indicate bad fit (default=1000) |
m |
model number (based on number in list of formula provided to rsf_ind) |
A list with first element giving individuals with bad fits based on coefficients and second element containing individuals with bad fit based on convergence
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)
bad_fit(out, cutoff=20, m=1) #None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.