Description Usage Arguments Value Author(s) Examples
The experimental code analyse_randomKde2d_AutoCalibrated
computes statistics from uniformly randomly created 2D fields based on kernel density
estimations (using create_randomKde2d
). It runs for as many
interations as necessary for the statistical measuremnt stabilize (but it will abort
after maxIter
iterations is reached).
1 2 | analyse_randomKde2d_AutoCalibrated(nstars, maxX, maxY, nKde=50, maxIter=40,
showStats=FALSE, returnStats=TRUE)
|
nstars |
an integer with the number of stars to consider |
maxX |
the length of the field in X |
maxY |
the length of the field in Y |
nKde |
the number of samplings of the kernel in each direction |
maxIter |
an integer with the maximum number of iterations |
showStats |
a boolean indicating if the user wants to see statistics |
returnStats |
a boolean indicating if the user wants statistics to be returned |
A data frame with the mean
and sd
fields containing the results
of the random field analysis.
Alberto Krone-Martins, Andre Moitinho
1 2 3 4 5 6 | # Runs the analysis on random fields
toyRes <- analyse_randomKde2d_AutoCalibrated(100, 100, 100, 100, showStats=TRUE)
# Clean the environment
rm(toyRes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.