
Last chance! 50% off unlimited learning
Sale ends in
## S3 method for class 'formula':
Desc(formula, data = parent.frame(), subset = TRUE, ...)
lhs ~ rhs
where lhs
gives the data values and rhs the corresponding groups.formula
.
By default the variables are taken from environment(formula)
.Desc.logical
, Desc.factor
, Desc.ordered
, Desc.integer
,
Desc.numeric
, Desc.Date
, Desc.table
, Desc.data.frame
,
Desc.list
# univariate evaluation of temperature and driver
Desc(temperature + driver ~ 1, data=d.pizza, digits=1)
# temperature by driver
Desc(temperature ~ driver, data=d.pizza, digits=1)
# functions are evaluated
Desc(I(temperature^2) + sqrt(temperature) ~ interaction(driver, area), data=d.pizza, digits=1)
Run the code above in your browser using DataLab