set_plot: Create a new plot of the desired type

Description Usage Arguments Value See Also

View source: R/pmxClass.R

Description

Create a new plot of the desired type

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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:

  • "IND" Individual plot type: individual

  • "DIS" Distribution plot type : distrib

  • "SCATTER" Residual plot type :residual

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()


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