getShrinkageTargets: Get the specified samples to shrink towards instead of the...

Description Usage Arguments Value Examples

View source: R/getShrinkageTargets.R

Description

Get the specified samples to shrink towards instead of the global mean

Usage

1

Arguments

obj

Input matrix

group

Samples/colnames to use for targeted shrinkage

Value

A matrix composed of samples to shrink towards

Examples

1
2
dummy <- matrix(rnorm(1000), ncol=25)
dummy.sub <- getShrinkageTargets(dummy, group = c(1,5,8,10))

JordanVeldboom/compartmap documentation built on July 3, 2020, 6:32 p.m.