OpnCoe: Builds an OpnCoe object

View source: R/cl-def-Opn.R

OpnCoeR Documentation

Builds an OpnCoe object

Description

In Momocs, OpnCoe classes objects are wrapping around lists of morphometric coefficients, along with other informations, on which generic methods such as plotting methods (e.g. boxplot) and specific methods can be applied. OpnCoe objects are primarily Coe objects.

Usage

OpnCoe(
  coe = matrix(),
  fac = dplyr::tibble(),
  method = character(),
  baseline1 = numeric(),
  baseline2 = numeric(),
  mod = list(),
  r2 = numeric()
)

Arguments

coe

matrix of morphometric coefficients

fac

(optionnal) a data.frame of factors, specifying the grouping structure

method

used to obtain these coefficients

baseline1

(x; y) coordinates of the first baseline point

baseline2

(x; y) coordinates of the second baseline point

mod

an R lm object, used to reconstruct shapes

r2

numeric, the r-squared from every model

Value

an OpnCoe object

See Also

Other classes: Coe(), Coo(), Ldk(), Opn(), OutCoe(), Out(), TraCoe()

Examples

# all OpnCoe classes
methods(class='OpnCoe')

Momocs documentation built on Nov. 13, 2023, 5:07 p.m.

Related to OpnCoe in Momocs...