pairs_plot | R Documentation |
Two Dimensional Projections of Latin Hypercube Designs
pairs_plot(
design,
point_color = "#21908CFF",
point_size = 1.5,
grid = c(-1, -1),
n_columns = 2
)
design |
A Latin hypercube design. Can be matrix, or data.frame |
point_color |
Change color of points in plots |
point_size |
Change size of points in plots |
grid |
A numeric vector specifying the dimensions of the grid to overlay. |
n_columns |
number of columns for grid layout. Default is 2 |
A grid of scatter plots from all two dimensional projections of a Latin hypercube design.
set.seed(10)
X <- lhs::randomLHS(n=12,k=4)
pairs_plot(X,n_columns = 3)
pairs_plot(X,n_columns = 3, grid = c(3,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.