powered by
Two Dimensional Projections of Latin Hypercube Designs
pair_plots( design, point_color = "#21908CFF", grid = FALSE, point_size = 1.5, n_columns = 2 )
A grid of scatter plots from all two dimensional projections of a Latin hypercube design.
A Latin hypercube design. Can be matrix, or data.frame
Change color of points in plots
Logial argument. Specify if a grid should be added to each projection. The grid is constructed using seq(0,1,length=nrows(design)+1). Default is FALSE
Change size of points in plots
number of columns for grid layout. Default is 2
set.seed(10) X <- lhs::randomLHS(n=15,k=4) pair_plots(X,n_columns = 3)
Run the code above in your browser using DataLab