View source: R/plot_parameters_correlations.R
plot_parameters_correlations | R Documentation |
Returns selected parameters correlations in the form of either a matrix, a data frame or a plot.
plot_parameters_correlations(
run,
parameters = NULL,
type = "heatmap",
correlation_method = NULL,
baseline_only = TRUE,
auto_order = TRUE,
smoothing_method = NULL,
smoothing_se = TRUE,
fixed_ratio = TRUE,
auto_legend = TRUE
)
run |
|
parameters |
character vector of parameters names. Default is |
type |
character. Type of plot. One of |
correlation_method |
a character string indicating which correlation
coefficient (or covariance) is to be computed. One of |
baseline_only |
logical. Consider only the baseline (= first) values of the subjects. Default is
|
auto_order |
logical. If |
smoothing_method |
character. If |
smoothing_se |
logical. Display confidence interval around smooth? |
fixed_ratio |
logical. If |
auto_legend |
logical. When |
A ggplot2 object.
EXAMPLERUN %>% plot_parameters_correlations()
EXAMPLERUN %>% plot_parameters_correlations(type = "heatmap")
EXAMPLERUN %>% plot_parameters_correlations(type = "heatmap", auto_order = FALSE)
EXAMPLERUN %>% plot_parameters_correlations(type = "scatterplot")
EXAMPLERUN %>% plot_parameters_correlations(type = "scatterplot", smoothing_method = "lm")
EXAMPLERUN %>% plot_parameters_correlations(type = "scatterplot", smoothing_method = "loess")
EXAMPLERUN %>% group_by(STUD) %>% plot_parameters_correlations(type = "scatterplot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.