simu_coefs | R Documentation |
Simulate individual coefficients based on standard errors (to propagate uncertainty)
simu_coefs(coef, se, n = 1000)
coef |
A matrix of individual coefficients (output of ind_se) |
n |
Number of random coefficients to generate for each individual (default=1000) |
An array of individual coefficients
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)
coef<-ind_coef(m=1, out)
se<-ind_se(m1, out)
simu<-simu_coefs(coef, se, n=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.