linearize {rpms} | R Documentation |
linearize
Description
returns a linerized version of the splits. The coefficients represent the effect that each split has on the mean
Usage
linearize(x, data, weights = ~1, strata = ~1, clusters = ~1, type = "part")
Arguments
x |
|
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
[Package rpms version 0.5.1 Index]