make_3d_matrix {simlandr} | R Documentation |
Make a matrix of 3D static landscape plots for one or two parameters
Description
Currently only 3D (x, y, color) is supported. Matrices with 3D (x, y, z) plots are not supported.
Usage
make_3d_matrix(
bs,
x,
y,
rows = NULL,
cols,
lims,
kde_fun = c("ks", "MASS"),
n = 200,
h,
adjust = 1,
Umax = 5,
individual_landscape = TRUE
)
Arguments
bs |
A |
x , y |
The names of the target variables. |
rows , cols |
The names of the parameters. |
lims |
The limits of the range for the density estimator as |
kde_fun |
Which kernel estimator to use? Choices: "ks" |
n |
The number of equally spaced points in each axis, at which the density is to be estimated. |
h |
A number, or possibly a vector for 3D and 4D landscapes, specifying the smoothing bandwidth to be used. If missing, the default value of the kernel estimator will be used (but |
adjust |
The multiplier to the bandwidth. The bandwidth used is actually |
Umax |
The maximum displayed value of potential. |
individual_landscape |
Make individual landscape for each simulation? Default is |
Value
A 3d_matrix_landscape
object that describes the landscape of the system, including the smoothed distribution and the landscape plot.