Description Usage Arguments Value
This function is to derive the deviance distribution based on the permutation method This function is not to be used independently but will be called by the function selectnew()
1 | update_dev(data, vslist, C, weights, ncores, family)
|
data |
the variable 'data' within seqcutoff() |
vslist |
a vector of selected variables |
C |
the number of permutation times |
family |
family=stats::gaussian(link="identity"));family=stats::binomial(link="logit");family=list(family="cox");etc. |
weights |
In a binomial model, weights: =TRUE: if weighted version is desired; =FALSE, otherwise ; In other models,weights: =vector of weights of the same size as the sample size N: if weighted version is desired;=FALSE, otherwise (other generalized model) |
ncores |
the number of cores to use for parallel computation |
dev: a vector of deviance after C permutations (length OF this vector is C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.