pmx_update: Update plot object

Description Usage Arguments Details Value See Also

View source: R/pmx-filter.R

Description

Update plot object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
pmx_update(
  ctr,
  pname,
  strat.color = NULL,
  strat.facet = NULL,
  color.scales = NULL,
  filter = NULL,
  trans = NULL,
  ...,
  pmxgpar = NULL
)

Arguments

ctr

pmxClass controller object

pname

character the plot name to update

strat.color

character optional stratification parameter

strat.facet

formula optional stratification parameter

color.scales

list can be used with strat.color to set scale_color_manual pmx_gpar function.

filter

optional filter which will be applied to plotting data

trans

character define the transformation to apply on x or y or both variables

...

others graphical parameters given to set the plot

pmxgpar

a object of class pmx_gpar possibly the output of the

Details

trans is a transformation that user can apply to x, or y coordinates. The transformation is applied to the data before the plotting. This gives more felxiblilty to the user and also conserves all static positions like annotations ( draft specially)

For example:

var_x apply variance to x coordinates the variance function

var_xy apply variance to both This mechanism is applied internally to scale log.

Value

controller object with the plot updated

See Also

Other pmxclass: get_cats(), get_conts(), get_covariates(), get_data(), get_occ(), get_plot_config(), get_plot(), get_strats(), plot_names(), plots(), set_data(), set_plot()


ggPMX documentation built on Sept. 20, 2021, 5:09 p.m.