subset.varbvs | R Documentation |
Select a subset of the candidate hyperparameter settings, and return a new varbvs analysis object with these hyperparameter settings only.
## S3 method for class 'varbvs'
subset(x, subset, ...)
x |
Output of function |
subset |
Expression indicating hyperparameter settings to select.
This expression should include one or more of |
... |
Other arguments to generic subset function. These extra arguments are not used here. |
An object with S3 class c("varbvs","list")
.
Peter Carbonetto peter.carbonetto@gmail.com
P. Carbonetto and M. Stephens (2012). Scalable variational inference for Bayesian variable selection in regression, and its accuracy in genetic association studies. Bayesian Analysis 7, 73–108.
varbvs
# First run one of the examples in help(varbvs), then try running
# this.
#
# fit.new <- subset(fit,logodds < (-2))
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.