View source: R/z_projections.R
BivariateProjection | R Documentation |
Bivariate projection
BivariateProjection(
V,
stencil = c("linear", "cosine", "sigmoid"),
spray = "uniform",
fwhm = 1/2
)
V |
numeric matrix with two columns representing bivariate observations. |
stencil |
either "linear", "cosine" or "sigmoid". It is possible to use non-ambiguous abbreviated forms of these keywords. |
spray |
defines the distribution used to generate noise values.
This can be either |
fwhm |
positive numeric value defining the Full Width at Half Maximum of the normal
distribution used when |
BivariateProjection
returns a numeric matrix representing 2D
coordinates.
UnivariateProjection, Atomize
## Not run:
n <- 50000
V <- cbind(
c(rnorm(n, 10, 5), rnorm(n, -10, 1)),
c(rnorm(n, 10, 1), rnorm(n, -10, 5))
)
P <- BivariateProjection(V)
r <- BivariateDensity(P)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.