Make 3D kernel smooth distribution
make_3d_kernel_dist(
output,
x,
y,
z,
n = 200,
lims = c(-0.1, 1.1, -0.1, 1.1, -0.1, 1.1),
h
)
A matrix of simulation output.
The name of the target variable.
Passed to ks::kde()
(but using the format of MASS::kde2d()
to make it consistent across functions).
For ks::kde
, H = diag(h, 2, 2)
.
A MASS::kde2d
-type list of smooth distribution.