View source: R/single_simulation_landscape.R
make_3d_static | R Documentation |
Make 3D static landscape plots from simulation output
make_3d_static(
output,
x,
y,
lims,
kde_fun = c("ks", "MASS"),
n = 200,
h,
adjust = 1,
Umax = 5,
weight_var = NULL
)
make_3d_single(
output,
x,
y,
lims,
kde_fun = c("ks", "MASS"),
n = 200,
h,
adjust = 1,
Umax = 5,
weight_var = NULL
)
output |
A matrix of simulation output, or a |
x , y |
The names of the target variables. |
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. |
weight_var |
The name of the weight variable, in case the weight of each observation is different. This may be useful when a weighted MC (e.g., importance sampling) is used. Only effective for |
A 3d_static_landscape
object that describes the landscape of the system, including the smooth distribution and the landscape plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.