Convenience constructor for setting aesthetics that apply to both point
and line elements of a role. Pass to role-level theme arguments (e.g.,
obs, cent) to set shared properties without specifying each
element individually.
See also
Other element constructors:
pmx_color(),
pmx_errorbar(),
pmx_line(),
pmx_point(),
pmx_ribbon(),
pmx_trend()
Examples
plot_dvtime_theme(obs = pmx_style(alpha = 0.3))
#> <plot_dvtime_theme>
#> obs_point <pmx_point>: shape = 1, size = 0.75, alpha = 0.3
#> obs_line <pmx_line>: linewidth = 0.5, linetype = 1, alpha = 0.3
#> cent_point <pmx_point>: shape = 16, size = 1.25, alpha = 0
#> cent_line <pmx_line>: linewidth = 0.75, linetype = 1, alpha = 1
#> cent_errorbar <pmx_errorbar>: linewidth = 0.75, linetype = 1, alpha = 1, width = NULL
#> ref_line <pmx_line>: linewidth = 0.5, linetype = 2, alpha = 1
#> loq_line <pmx_line>: linewidth = 0.5, linetype = 2, alpha = 1
