eta_cov_plot | R Documentation |
Eta Covariates plots
Relationships between (ETA) and categorical covariates
Relationships between (ETA) and continuous covariates
dummy(
dname,
show.correl,
correl,
point,
facets,
covariates,
filter,
strat.facet,
strat.color,
trans,
pmxgpar,
labels,
axis.title,
axis.text,
ranges,
is.smooth,
smooth,
is.band,
band,
is.draft,
draft,
is.identity_line,
identity_line,
scale_x_log10,
scale_y_log10,
color.scales
)
pmx_plot_eta_cats(ctr, ...)
pmx_plot_eta_conts(ctr, ...)
dname |
|
show.correl |
|
correl |
|
point |
|
facets |
|
covariates |
list of selected covariates and custom labels, e.g. pmx_update parameters |
filter |
|
strat.facet |
|
strat.color |
|
trans |
|
pmxgpar |
a object of class pmx_gpar possibly the output of the pmx_gpar: Shared basic graphics parameters |
labels |
|
axis.title |
|
axis.text |
|
ranges |
|
is.smooth |
|
smooth |
|
is.band |
|
band |
|
is.draft |
|
draft |
|
is.identity_line |
|
identity_line |
|
scale_x_log10 |
|
scale_y_log10 |
|
color.scales |
|
ctr |
pmx controller |
... |
others graphics parameters passed :
eta_cov parameters |
ggplot2 object
ggplot2 object
ggplot2 object
# basic use ---------------------------------------
ctr <- theophylline()
ctr %>% pmx_plot_eta_cats
ctr %>% pmx_plot_eta_conts
# update graphical parameter ----------------------
## plot selected covariates
ctr %>% pmx_plot_eta_cats(
covariates = pmx_cov(values = list("SEX"))
)
## update labels
ctr %>% pmx_plot_eta_cats(
labels = list(title = "New eta cats title")
)
## remove draft
ctr %>% pmx_plot_eta_cats(is.draft = FALSE)
## change text color line
ctr %>% pmx_plot_eta_conts(
correl=list(colour="magenta")
)
## set covariates custom labels
ctr %>% pmx_plot_eta_conts(
covariates=pmx_cov(values=list("WT0","AGE0"),
labels=list("Weight","Age"))
)
## set effects and covaraites custom labels
ctr <- theophylline( settings = pmx_settings(
effects=list( levels=c("ka", "V", "Cl"),
labels=c("Concentration","Volume","Clearance")
)
)
)
ctr %>% pmx_plot_eta_conts(
covariates=pmx_cov(values=list("WT0","AGE0"),
labels=list("Weight","Age"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.