#' Permutations for simulated data from a normal distribution
#'
#' @param set_n Sets the size of the simulated data.
#' @param set_mean Sets the mean of the normal distribution from which the simulated data is drawn.
#' @param set_sd Sets the standard deviation of the normal distribution from which the simulated
#' data is drawn.
#' @param decimals Selects the decimals place which will be shuffled. For example, if you set
#' 'decimals = 1', then after the data is drawn from a normal distribution, it will be
#' truncated to the first decimal place and in the resulting simulations the numbers in the first
#' decimal place will be shuffled.
#' @param reps The number of shuffles (permutations) to perform for each set of data.
#' @param times The number of simulations to perform.
#'
#' @return A tibble
#' @export
#'
#' @examples
#'
#' @useDynLib fabricated
#' @importFrom Rcpp sourceCpp
#'
norm_sim <- function(set_n, set_mean, set_sd, decimals, reps, times) {
rnorm_sim(set_n, set_mean, set_sd, decimals, reps, times)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.