get.sample.mean.r {argminCS} | R Documentation |
Compute sample mean differences for hypothesis testing
Description
Computes the vector of differences between the sample mean at the reference index and the remaining dimensions.
Usage
get.sample.mean.r(sample.mean, r)
Arguments
sample.mean |
A vector of length |
r |
An integer between 1 and |
Value
A vector of length p - 1
giving the differences: sample.mean[r] - sample.mean[-r].
Examples
sample.mean <- 1:5
get.sample.mean.r(sample.mean, r = 3)
[Package argminCS version 1.1.0 Index]