dot-pcr_cv: Get vector coefficient of variance by a variable

Description Usage Arguments Value Examples

Description

Get vector coefficient of variance by a variable

Usage

1
.pcr_cv(vec, var)

Arguments

vec

A vector of numerics

var

A grouping variable

Value

A vector of numerics

Examples

1
2
3
vec <- rnorm(6, 30, 1)
var <- rep(c('group1', 'group2'), 3)
pcr:::.pcr_cv(vec, var)

MahShaaban/pcr documentation built on Oct. 4, 2019, 1:37 p.m.