Skip to contents

best() returns the fitted drm_sem of the top-ranked candidate under the criterion used by compare().

Usage

best(object, ...)

# S3 method for class 'drm_model_set'
best(object, ...)

# S3 method for class 'drm_compare'
best(object, ...)

Arguments

object

A drm_compare (from compare()) or a drm_model_set.

...

Passed to compare() when object is an unfitted model set (e.g. data, family).

Value

The fitted drm_sem of the top-ranked candidate.

References

van der Bijl W (2018). “phylopath: Easy Phylogenetic Path Analysis in R.” PeerJ, 6, e4718. doi:10.7717/peerj.4718 .

See also

Examples

if (FALSE) { # \dontrun{
best(cmp)
} # }