powered by
analyse_randomKde2d will compute statistics from uniformly randomly created 2D fields based on Kernel Density Estimations (calling the code create_randomKde2d).
analyse_randomKde2d
create_randomKde2d
analyse_randomKde2d(nfields=100, nstars, maxX, maxY, nKde=50, showStats=FALSE, returnStats=TRUE)
an integer with the number of individual field realisations
an integer with the number of stars to consider
the length of the field in X
the length of the field in Y
the number of samplings of the kernel in each direction
a boolean indicating if the user wants to see statistics
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.
mean
sd
# NOT RUN { # Runs the analysis on random fields toyRes <- analyse_randomKde2d(100, 200, 100, 100, showStats=TRUE) # Clean the environment rm(toyRes) # }
Run the code above in your browser using DataLab