V2_contrast: V2_contrast

View source: R/V2_contrast.R

V2_contrastR Documentation

V2_contrast

Description

This is an internal function called to calculate the estimate of the asymptotic variance of a contrast.

Usage

V2_contrast(data, coef, na.rm = FALSE)

Arguments

data

The data set for which to calculate the contrast.

coef

The set of coefficients.

na.rm

This parameter controls whether NA values are removed from the data prior to calculation. Default is FALSE.

Value

The coefficients multiplied by the variance of each column

Author(s)

Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu

Examples

dat_1 <- matrix(1:10, ncol=2)
V2_contrast(dat_1, coef=1)


yelleKneK/SMSD documentation built on Nov. 23, 2022, 6:40 p.m.