norm_sim: Permutations for simulated data from a normal distribution

View source: R/rnorm_sim.R

norm_simR Documentation

Permutations for simulated data from a normal distribution

Description

Permutations for simulated data from a normal distribution

Usage

norm_sim(set_n, set_mean, set_sd, decimals, reps, times)

Arguments

set_n

Sets the size of the simulated data.

set_mean

Sets the mean of the normal distribution from which the simulated data is drawn.

set_sd

Sets the standard deviation of the normal distribution from which the simulated data is drawn.

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.

reps

The number of shuffles (permutations) to perform for each set of data.

times

The number of simulations to perform.

Value

A tibble


josh-mc/fabricated documentation built on April 25, 2022, 1:31 p.m.