Returns the first element of what class(x) returns
Examples
class(as.POSIXct("2022-06-02"))
#> [1] "POSIXct" "POSIXt"
mainClass(as.POSIXct("2022-06-02"))
#> [1] "POSIXct"
Returns the first element of what class(x) returns
class(as.POSIXct("2022-06-02"))
#> [1] "POSIXct" "POSIXt"
mainClass(as.POSIXct("2022-06-02"))
#> [1] "POSIXct"