Lists special sets that can be used in Set.

listSpecialSets(simplify = FALSE)

Arguments

simplify

logical. If FALSE (default) returns data.frame of set name and symbol, otherwise set names as characters.

Value

Either a list of characters (if simplify is TRUE) or a data.frame of SpecialSets and their traits.

Examples

listSpecialSets()
#>        ClassName        Symbol Infimum Supremum
#> 1      Universal             𝕍      NA       NA
#> 2       Logicals {TRUE, FALSE}   FALSE     TRUE
#> 3       Naturals            ℕ0       0      Inf
#> 4    PosNaturals            ℕ+     0/1      Inf
#> 5       Integers             ℤ    -Inf      Inf
#> 6    PosIntegers            ℤ+     0/1      Inf
#> 7    NegIntegers            ℤ-    -Inf     -1/0
#> 8      Rationals             ℚ    -Inf      Inf
#> 9   PosRationals            ℚ+     0/1      Inf
#> 10  NegRationals            ℚ-    -Inf     -1/0
#> 11         Reals             ℝ    -Inf      Inf
#> 12      PosReals            ℝ+     0/1      Inf
#> 13      NegReals            ℝ-    -Inf     -1/0
#> 14 ExtendedReals  ℝ ∪ {-∞, +∞}    -Inf      Inf
#> 15       Complex             ℂ      NA       NA
listSpecialSets(TRUE)
#>  [1] "Universal"     "Logicals"      "Naturals"      "PosNaturals"  
#>  [5] "Integers"      "PosIntegers"   "NegIntegers"   "Rationals"    
#>  [9] "PosRationals"  "NegRationals"  "Reals"         "PosReals"     
#> [13] "NegReals"      "ExtendedReals" "Complex"