
Summarise a shape-sensitivity sweep
Source:R/shape-sensitivity.R
janusplot_shape_sensitivity_summary.RdAggregate the raw output of janusplot_shape_sensitivity() into a
per-cell mean-accuracy table at either the fine (24-category) or
archetype (7-family) level.
Usage
janusplot_shape_sensitivity_summary(results, level = c("fine", "archetype"))Arguments
- results
Data frame returned by
janusplot_shape_sensitivity().- level
One of
"fine"(default) or"archetype".
See also
Other shape-sensitivity:
janusplot_shape_sensitivity(),
janusplot_shape_sensitivity_plot(),
janusplot_shape_sensitivity_shapes()
Examples
data("shape_sensitivity_demo", package = "janusplot")
head(janusplot_shape_sensitivity_summary(shape_sensitivity_demo,
level = "archetype"))
#> truth n sigma accuracy
#> 1 bimodal 100 0.05 1.0000000
#> 2 concave_up 100 0.05 1.0000000
#> 3 inverted_u 100 0.05 1.0000000
#> 4 linear_up 100 0.05 0.6666667
#> 5 u_shape 100 0.05 1.0000000
#> 6 wave 100 0.05 0.0000000