| linearize | R Documentation |
returns a linerized version of the splits. The coefficients represent the effect that each split has on the mean
linearize(x, data, weights = ~1, strata = ~1, clusters = ~1, type = "part")
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" |
data.frame including splits and estimates for the coefficient and their standard errors