R/vis-guess.R
guess_type.Rdvis_guess uses guess_type to guess cell elements, like fingerprint.
guess_type(x)
| x | is a vector of values you want to guess |
|---|
a character vector that describes the suspected class. e.g., "10" is an integer, "20.11" is a double, "text" is character, etc.
# NOT RUN { guess_type(1) guess_type("x") guess_type(c("1", "0L")) purrr::map_df(iris, guess_type) # }