ggPMX (version 0.9.4)

set_plot: Create a new plot of the desired type

Description

Create a new plot of the desired type

Usage

set_plot(ctr, ptype = c("IND", "DIS", "SCATTER", "ETA_PAIRS", "ETA_COV",
  "PMX_QQ", "VPC", "PMX_DENS"), pname, use.defaults = TRUE, filter = NULL,
  strat.color = NULL, strat.facet = NULL, color.scales = NULL,
  trans = NULL, ...)

Arguments

ctr

pmxClass controller object

ptype

plot type can be:

pname

plot name, if missing it will be created using function aestetics

use.defaults

logical if FALSE do not use defaults defined in yaml init files

filter

optional filter which will be applied to plotting data

strat.color

character

strat.facet

formula define categorical stratification as formula

color.scales

list can be used with strat.color to set scale_color_manual

trans

listtransformation operator

...

other plot parameters to configure pmx_gpar.

Value

invisible ctr object

See Also

Other pmxclass: get_cats, get_conts, get_covariates, get_data, get_occ, get_plot_config, get_plot, get_strats, plot_names, plots, pmx_update, set_data