[Maturing]

Calculates fluctuating asymmetry (FA) of landmark templates. FA scores are calculated as Euclidean distance between original and symmetrised templates, corrected for directional asymmetry of sample

calc_fa(data, mirroredlandmarks)

Arguments

data

facefuns object or three-dimensional array of dimensions p, k, and n

mirroredlandmarks

Vector specifying order of mirrored landmarks

Value

Returns tibble containing ID and FA scores

Examples

data(LondonSet_aligned) data(mirroredlandmarks) calc_fa(LondonSet_aligned, mirroredlandmarks)
#> # A tibble: 102 x 2 #> id fa #> <chr> <dbl> #> 1 001 0.0704 #> 2 002 0.0876 #> 3 003 0.0506 #> 4 004 0.0675 #> 5 005 0.0445 #> 6 006 0.0575 #> 7 007 0.0449 #> 8 008 0.0471 #> 9 009 0.0528 #> 10 010 0.0599 #> # … with 92 more rows