unique_num: Analytic, bootstrap, and permutations for unique numbers

View source: R/unique_num.R

unique_numR Documentation

Analytic, bootstrap, and permutations for unique numbers

Description

Analytic, bootstrap, and permutations for unique numbers

Usage

unique_num(data, variable, group = NULL, decimal_place = 1, reps = 1000)

Arguments

data

A data frame

variable

A numeric variable that includes the first decimal place.

group

A second variable used to group the primary variable such that average frequency Z-scores are calculated separately for each group.

decimal_place

The number of decimal places used for the calculation. The default is set to "1" meaning decimals in the second (hundreds place) and below are discarded.

reps

The number of shuffles (simulations) to perform. The default is set to 1,000.

Value

A tibble

Examples

unique_num(bodyweight, obs, reps = 100)


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