make_kernel_dist | R Documentation |
Calculate 1D, 2D, or 3D kernel smooth distribution
make_kernel_dist(
output,
var_names,
lims,
kde_fun,
n,
h,
adjust,
weight_var = NULL
)
output |
A matrix of simulation output, or a |
var_names |
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 |
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 list of the smooth distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.