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

.pcr_cvR Documentation

Get vector coefficient of variance by a variable

Description

Get vector coefficient of variance by a variable

Usage

.pcr_cv(vec, var)

Arguments

vec

A vector of numerics

var

A grouping variable

Value

A vector of numerics

Examples

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


MahShaaban/pcr documentation built on Jan. 23, 2023, 11:37 p.m.