Learn R Programming

Momocs (version 1.4.1)

coo_truss: Truss measurement

Description

A method to calculate on shapes or on Coo truss measurements, that is all pairwise combinations of euclidean distances

Usage

coo_truss(x)

Value

a named numeric or matrix

Arguments

x

a shape or an Ldk object

See Also

Other premodern: measure()

Examples

Run this code
# example on a single shape
cat <- coo_sample(shapes[4], 6)
coo_truss(cat)

# example on wings dataset
tx <- coo_truss(wings)

txp <- PCA(tx, scale. = TRUE, center=TRUE, fac=wings$fac)
plot(txp, 1)

Run the code above in your browser using DataLab