| Coe {Momocs} | R Documentation |
Coe "super" class
Description
Coe class is the 'parent' or 'super' class of
OutCoe, OpnCoe, LdkCoe and TraCoe classes.
Usage
Coe(...)
Arguments
... |
anything and, anyway, this function will simply returns a message. |
Details
Useful shortcuts are described below. See browseVignettes("Momocs") for
a detail of the design behind Momocs' classes.
Coe class is the 'parent' class of the following 'child' classes
-
OutCoefor coefficients from closed outlines morphometrics -
OpnCoefor coefficients from open outlines morphometrics -
LdkCoefor coefficients from configuration of landmarks morphometrics.
In other words, OutCoe, OpnCoe and LdkCoe classes
are all, primarily, Coe objects on which we define generic and
specific methods. See their respective help pages for more help.
You can access all the methods available for Coe objects
with methods(class=Coe).
Value
a list of class Coe
See Also
Other classes:
Coo(),
Ldk(),
OpnCoe(),
Opn(),
OutCoe(),
Out(),
TraCoe()
Examples
# to see all methods for Coe objects.
methods(class='Coe')
# to see all methods for OutCoe objects.
methods(class='OutCoe') # same for OpnCoe, LdkCoe, TraCoe
bot.f <- efourier(bot, 12)
bot.f
class(bot.f)
inherits(bot.f, "Coe")
# if you want to work directly on the matrix of coefficients
bot.f$coe
#getters
bot.f[1]
bot.f[1:5]
#setters
bot.f[1] <- 1:48
bot.f[1]
bot.f[1:5] <- matrix(1:48, nrow=5, ncol=48, byrow=TRUE)
bot.f[1:5]
# An illustration of Momocs design. See also browseVignettes("Momocs")
op <- opoly(olea, 5)
op
class(op)
op$coe # same thing
wp <- fgProcrustes(wings, tol=1e-4)
wp
class(wp) # for Ldk methods, LdkCoe objects can also be considered as Coo objects
# so you can apply all Ldk methods available.
wp$coe # Procrustes aligned coordinates