View source: R/evaluation_func.R
evaluation | R Documentation |
This function calculates measures of comparison after generalised orthogonal Procrustes Analysis
is performed in moveplot3
. Orthogonal Procrustes Analysis is used to compare a target to a testee configuration.
The following measures are calculate: Procrustes Statistic (PS), Congruence Coefficient (CC), Absolute Mean Bias (AMB),
Mean Bias (MB) and Root Mean Squared Bias (RMSB).
evaluation(bp, centring = TRUE)
bp |
biplot object from |
centring |
logical argument to apply centring or not (default is |
eval.list |
Returns a list containing the measures of comparison for each level of the time variable. |
fit.plot |
Returns a line plot with the fit measures that are bounded between zero and one: PS and CC. A small PS value and large CC value indicate good fit. |
bias.plot |
Returns a line plot with bias measures taht are unbounded: AMB, MB and RMSB. Small values indicate low bias. |
data(Africa_climate)
data(Africa_climate_target)
bp <- biplotEZ::biplot(Africa_climate, scaled = TRUE) |> biplotEZ::PCA()
results <- bp |> moveplot3(time.var = "Year", group.var = "Region", hulls = TRUE,
move = FALSE, target = NULL) |> evaluation()
results$eval.list
results$fit.plot
results$bias.plot
data(Africa_climate)
data(Africa_climate_target)
bp <- biplotEZ::biplot(Africa_climate, scaled = TRUE) |> biplotEZ::PCA()
results <- bp |> moveplot3(time.var = "Year", group.var = "Region", hulls = TRUE,
move = FALSE, target = Africa_climate_target) |> evaluation()
results$eval.list
results$fit.plot
results$bias.plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.