Learn R Programming

distr6 (version 1.3.2)

PosNaturals: Set of Positive Natural Numbers

Description

The mathematical set of positive natural numbers.

Value

Returns R6 object of class PosNaturals.

Constructor

PosNaturals$new(dim = 1)

Constructor Arguments

Argument Type Details
dim numeric Dimension of the set.

Details

The set of Positive Naturals is defined as the positive counting numbers, i.e. $$PosNaturals = \{1, 2, 3,...\}$$

See Also

listSpecialSets

Examples

Run this code
# NOT RUN {
PosNaturals$new()
PosNaturals$new(dim = 2)

# }

Run the code above in your browser using DataLab