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 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)

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)

sigbertklinke/exams2moodle documentation built on July 6, 2023, 3:26 p.m.