# to see all methods for Coo objects.
methods(class='Coe')
data(bot)
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 desing. See also browseVignettes("Momocs")
data(olea)
op <- opoly(olea, 5)
op
class(op)
op$coe # same thing
data(wings)
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
Run the code above in your browser using DataLab