Learn R Programming

Momocs (version 1.4.1)

OpnCoe: 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()
)

Value

an OpnCoe object

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

See Also

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

Examples

Run this code
# all OpnCoe classes
methods(class='OpnCoe')

Run the code above in your browser using DataLab