Set the global options, including the color theme.
set.ph.options (…,
rendering.style="r", theme="blue",
main.line.width=1, main.line.color="#000000",
main.fill.color, main.fill.color.2="#B0B0B0",
semi.fill.color = "#00000030",
palette="earth")set.ph.theme (theme="blue")
Single character. Refer to barsurf::set.bs.options.
Character, either "blue" or "green". Other themes from the barsurf package are partially supported.
Numeric, default main line width.
String (R color string), default main line color.
String (R color string), default color for the area under univariate probability distributions, excluding quantile functions.
String (R color string), default color for the area under quantile functions, and univariate dks/cks data bars/points.
String (R color string), default color for bivariate data points.
String, color palette, for grDevices::hcl.colors, used when plotting distribution sets, and by the kernel.array function.
Ignored.
This function calls barsurf::set.bs.options, to set the rendering.style and theme.
Refer to the vignette for an overview, references and better examples.
# NOT RUN {
set.ph.theme ("blue")
# }
Run the code above in your browser using DataLab