-
These are more overall than the native typeof. This is used to assess a more -meaningful "clinical" data type.
+Data type assessment
@@ -53,7 +50,7 @@ meaningful "clinical" data type.
@@ -99,15 +96,6 @@ meaningful "clinical" data type.
#> $carb
#> [1] "categorical"
#>
-mtcars |>
- default_parsing() |>
- data_type()
-#> mpg cyl disp hp drat
-#> "continuous" "categorical" "continuous" "continuous" "continuous"
-#> wt qsec vs am gear
-#> "continuous" "continuous" "dichotomous" "dichotomous" "categorical"
-#> carb
-#> "categorical"
c(1, 2) |> data_type()
#> [1] "dichotomous"
1 |> data_type()
@@ -118,8 +106,6 @@ meaningful "clinical" data type.
#> [1] "continuous"
factor(letters[1:20]) |> data_type()
#> [1] "categorical"
-as.Date(1:20) |> data_type()
-#> [1] "datetime"