Validate KEMA Eigenvalues Against Paper Specifications
Source:R/kema-validation.R
validate_kema_eigenvalues.RdTests whether KEMA produces eigenvalues matching those reported in Figure 2 of Tuia & Camps-Valls (2016).
Usage
validate_kema_eigenvalues(
expected_eigenvals = c(0.82, 0.41),
tolerance = 0.1,
n_per_domain = 100
)Examples
# \donttest{
result <- validate_kema_eigenvalues()
#> Warning: Eigenvalue extraction failed: upper value must be greater than lower value
print(result$success)
#> [1] FALSE
# }