View source: R/cl-def-CooCoe.R
Coe | R Documentation |
Coe
class is the 'parent' or 'super' class of
OutCoe
, OpnCoe
, LdkCoe
and TraCoe
classes.
Coe(...)
... |
anything and, anyway, this function will simply returns a message. |
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
OutCoe
for coefficients from closed outlines morphometrics
OpnCoe
for coefficients from open outlines morphometrics
LdkCoe
for 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)
.
a list of class Coe
Other classes:
Coo()
,
Ldk()
,
OpnCoe()
,
Opn()
,
OutCoe()
,
Out()
,
TraCoe()
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.