rm_asym {Momocs}R Documentation

Removes asymmetric and symmetric variation on OutCoe objects

Description

Only for those obtained with efourier, otherwise a message is returned. rm_asym sets all B and C coefficients to 0; rm_sym sets all A and D coefficients to 0.

Usage

rm_asym(OutCoe)

## Default S3 method:
rm_asym(OutCoe)

## S3 method for class 'OutCoe'
rm_asym(OutCoe)

rm_sym(OutCoe)

## Default S3 method:
rm_sym(OutCoe)

## S3 method for class 'OutCoe'
rm_sym(OutCoe)

Arguments

OutCoe

an OutCoe object

Value

an OutCoe object

References

Below: the first mention, and two applications.

#'

See Also

symmetry and the note there.

Examples

botf <- efourier(bot, 12)
botSym <- rm_asym(botf)
boxplot(botSym)
botSymp <- PCA(botSym)
plot(botSymp)
plot(botSymp, amp.shp=5)

# Asymmetric only
botAsym <- rm_sym(botf)
boxplot(botAsym)
botAsymp <- PCA(botAsym)
plot(botAsymp)
# strange shapes because the original shape was mainly symmetric and would need its
# symmetric (eg its average) for a proper reconstruction. Should only be used like that:
plot(botAsymp, morpho=FALSE)

[Package Momocs version 1.4.1 Index]