mg: Coerce an object to a modelglyphs class

Description Usage Arguments

Description

mg coerces an object to the modelglyphs class specified by the class argument.

Usage

1
  mg(x, ens, class, collate = FALSE)

Arguments

x

An object to be coerced to a modelglyphs class.

ens

An mg_ensemble object to borrow attributes from.

class

A chracter string. The name of the class to give the new object.

collate

logical. Should the output be arranged in the order of the data the mg_ensemble was fitted to and assigned the same row.names.


garrettgman/modelglyphs documentation built on May 16, 2019, 5:39 p.m.