dot-pcr_intercept: Calculate the intercept of a line

.pcr_interceptR Documentation

Calculate the intercept of a line

Description

Calculate the intercept of a line

Usage

.pcr_intercept(vec, var)

Arguments

vec

A vector of numerics

var

A grouping variable

Value

A numeric

Examples

vec <- rnorm(6, 30, 1)
var <- rep(c(.1, .5), 3)
pcr:::.pcr_intercept(vec, var)


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