Nothing
#'@title Random number generation from unit sphere.
#'@export
#' @description This function generates random numbers from p-dimensional unit sphere.
#'
#' @param n number of random samples.
#' @param p dimension of the unit sphere.
#' @param seed seed for C++ random number generator.
#'
#' @details
#'
#' seed is passed to function std::srand(seed); Value -1 means that seed is not set in c++ code.
#'
#' This function uses function randn() from Armadillo C++ Library.
#'
#' @author Daniel Kosiorowski, Mateusz Bocian, Anna Wegrzynkiewicz and Zygmunt Zawadzki from Cracow University of Economics.
#'
#' @examples
#'
#' x = runifsphere(n=100)
#' plot(x)
runifsphere = function(n, p = 2, seed = -1)
{
runifsphereCPP(n,p,seed)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.