plot_var_matrix: Plot a matrix comparing variables present in a list of...

Description Usage Arguments Examples

View source: R/plot_multistudy.R

Description

Plot a matrix comparing variables present in a list of studies

Usage

1
plot_var_matrix(dat_list, width = 845, h_padding = 0, head = NULL)

Arguments

dat_list

a list of data frames containing study data

width

width of the plot in pixels

h_padding

extra height to add to the plot to account for long variable names

head

the number of variables to limit the x-axis to (if negative, it will show all but the first head variables)

Examples

1
2
3
4
5
6
dat_list <- list(
  cpp1 = cpp[, c(1:5, 7:9, 14:19, 23:32)],
  cpp2 = cpp[, c(1:5, 11:24)],
  cpp3 = cpp
)
plot_var_matrix(dat_list)

hafen/hbgd documentation built on March 1, 2020, 5:31 p.m.