View source: R/getShrinkageTargets.R
getShrinkageTargets | R Documentation |
Get the specified samples to shrink towards instead of the global mean
getShrinkageTargets(obj, group)
obj |
Input matrix |
group |
Samples/colnames to use for targeted shrinkage |
A matrix composed of samples to shrink towards
dummy <- matrix(rnorm(1000), ncol=25)
dummy.sub <- getShrinkageTargets(dummy, group = c(1,5,8,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.