Learn R Programming

SNSequate (version 1.3.1)

sim_unimodal: Simulate different unimodal distributions.

Description

Simulate different unimodal, skewed distributions based on different mean and variance parameters.

Usage

sim_unimodal(n, x_mean, x_var, N_item, seed = NULL, name = NULL)

Arguments

n

Size of the simulated distribution

x_mean

Mean

x_var

Variance

N_item

Number of items simulated

seed

(Optional) Set a random seed

name

(Optional) Sample based on the names given by Keats & Lord (1962). Options are: "GANA", "MACAA", "TQS8", "WM8", "WMI".

Value

Simulated values

Details

All the inner working of this procedure can be seen in Keats & Lord (1962).