plot_multivariate_data {sGMRFmix}R Documentation

Plot multivariate data

Description

Plot multivariate data

Usage

plot_multivariate_data(df, label = NULL, order_by = index(df),
  guide_title = NULL, fix_scale = FALSE, point_size = 1L)

Arguments

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.

Value

ggplot2 object

Examples

library(sGMRFmix)

test_data <- generate_test_data()
test_label <- generate_test_labels()

plot_multivariate_data(test_data)
plot_multivariate_data(test_data, test_label)


[Package sGMRFmix version 0.3.0 Index]