Compare two MizerParams objects and print out differences
Source:R/compareParams.R
compareParams.Rd
Examples
params1 <- NS_params
params2 <- params1
species_params(params2)$w_mat[1] <- 10
compareParams(params1, params2)
#> [1] "The following species parameters differ: Component \"w_mat\": Mean absolute difference: 3"
#> [2] "The time_modified slots do not agree: Mean absolute difference: 1118012"
#> [3] "The maturity slots do not agree: Mean absolute difference: 0.04497162"
#> [4] "The psi slots do not agree: Mean absolute difference: 0.06138336"