linearize: linearize

Description Usage Arguments Value

View source: R/sfun_rpm_20_04_04.R

Description

returns a linerized version of the splits. The coefficients represent the effect that each split has on the mean

Usage

1
linearize(x, data, weights = ~1, strata = ~1, clusters = ~1, type = "part")

Arguments

x

rpms object

data

data.frame

weights

formula or vector of sample weights for each observation

strata

formula or vector of strata labels

clusters

formula or vector of cluster labels

type

is on of "part" or "lin"

Value

data.frame including splits and estimates for the coefficient and their standard errors


rpms documentation built on June 26, 2021, 1:07 a.m.