data_n: Number of Observations

View source: R/data_n.R

data_nR Documentation

Number of Observations

Description

Generates a sequence of sample sizes in a range from min=5 to a max:

  • whose root is an integer (data_nsq), and

  • that are divisible only by 2 and 5 (data_n25)

Usage

data_n(max, min = 5)

data_nsq(max, min = 5)

data_n25(max, min = 5)

dn(max, min = 5)

dn25(max, min = 5)

dnsq(max, min = 5)

Arguments

max

integer: maximum sample size

min

integer: minimum sample size (default: 5)

Value

A sequence of integers.

Examples

data_n(10)
data_nsq(1000)
data_n25(1000)

exams.forge documentation built on Sept. 11, 2024, 5:32 p.m.