statIcon.Rd
Access path to local apputils
stat box icon image files.
statIcon(id, theme = "white")
id | character, id to be matched to a stat box icon. |
---|---|
theme | character, |
character string specifying the local image file location in the apputils
package.
This accessor function provides convenient access to local package resources.
Specifically, given an ID, it returns the resource path to a stat box icon png file.
This is typically used in a Shiny app that has apputils
loaded.
Available options include:
Normal distribution density curve
Normal curve with minimum line and statistic notation
As above, for the maximum
As above, for the mean
As above, with two lines marking +/- one standard deviation
As above, for the median
Box plot with interquartile range marked and labeled
Beta zero hat for linear models, scatter plot with linear model intercept highlight
Beta one hat for linear models, scatter plot with linear model slope highlight
R-squared, scatter plot with correlation highlight
Normal distribution curve with lower tail highlight
Increasing trend line with delta change symbol
As above but decreasing
As above but with percentage symbol added
As above but decreasing and with percentage symbol added
Increasing consecutive bars with arrow change indicators
As above but decreasing
statIcon("normal")#> [1] "resources/images/stat_icon_normal_dist_white.png"