plot_multivariate_data {sGMRFmix} | R Documentation |
Plot multivariate data
plot_multivariate_data(df, label = NULL, order_by = index(df),
guide_title = NULL, fix_scale = FALSE, point_size = 1L)
df |
data.frame of multivariate data |
label |
data.frame of label for each variables. Or vector of label for each observation. |
order_by |
vector. An x-axis of plots. |
guide_title |
character. |
fix_scale |
logical. |
point_size |
integer. Point size. |
ggplot2 object
library(sGMRFmix)
test_data <- generate_test_data()
test_label <- generate_test_labels()
plot_multivariate_data(test_data)
plot_multivariate_data(test_data, test_label)