plot_parameters_correlations.Rd
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")#>#> Warning: Removed 18972 rows containing non-finite values (stat_smooth).EXAMPLERUN %>% plot_parameters_correlations(type = "scatterplot", smoothing_method = "loess")#>#> Warning: Removed 18972 rows containing non-finite values (stat_smooth).#>#> Warning: Factor variables are omitted in plot