Define unknown changes in the pattern of response to be estimated.
cp(x, psi, data = NULL, groups = NULL, contrasts = NULL,
only.UV = FALSE)numeric vector. Covariate over which range define unknown change-points.
numeric vector. Starting values for the change-points.
data frame. Where to search for the covariate?
not used at the moment. To be implemented.
character. A contrast method for factor covariates in groups. Default to contr.treatment.
logical. Not required.