rsf_ind | R Documentation |
Apply rsf_mod to each individual of a dataset
rsf_ind(id, data, form_ls, cleanModel = F, method = "glm.fit")
id |
A vector indicating the individuals |
data |
The dataset containing all data |
form_ls |
A list of formulas for the different candidate models |
method |
Weither typical glm or bias-reduction glm should be fitted (default="glm.fit) (see package brglm) |
cleamModel |
Whether the model should be "cleaned" to save memory space (default = F) |
A list of list of glm objects
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.