crm is used to fit a linear regression model to symbolic interval-valued variables based on the Centre and Range method (Lima Neto and De Carvalho, 2008).crm(formula1, formula2, data, ...)formula": a symbolic description of the model to be fitted. formula": a symbolic description of the model to be fitted. cm returns an object of class "crm" including at least the following elements:
Billard, L. and Diday, E. (2000) Regression analysis for interval-valued data. Data Analysis, Classification and Related Methods: Proceedings of the Seventh Conference of the International Federation of Classification Societies, Springer-Verlag, pp. 369-374.
Lima Neto, E.A. and De Carvalho, F.A.T. (2008). Centre and range method to fitting a linear regression model on symbolic interval data. Computational Statistics and Data Analysis, 52, 1500--1515.
summary.crm, coef.crm, fitted.crm, residuals.crm, formula
data("Cardiological.CR", package = "iRegression")
ex.crm <- crm("PulseC~SystC+DiastC","PulseR~SystR+DiastR",data=Cardiological.CR)
ex.crm
Run the code above in your browser using DataLab