Several methods are provided to convert common objects (such as "lm") into "maars" objects, which can be used with the various functions in the package.

as.maars(x, ...)

# S3 method for lm
as.maars(x, ...)

Arguments

x

Object to be converted. See Methods section below for details on formatting of each input type.

...

Additional arguments passed to methods.

Methods (by generic)

  • as.maars: The input object x must be of class "lm". The function returns an object of class ("maars_lm, "lm").