guess_type is used by vis_guess to guess cell elements, like fingerprint.

guess_type(x)

Arguments

x

is a vector of values you want to guess

Value

a character vector that describes the suspected class. e.g., "10" is an integer, "20.11" is a double, "text" is character, etc.

Examples

# NOT RUN {
guess_type(1)

guess_type("x")

guess_type(c("1", "0L"))

purrr::map_df(iris, guess_type)
# }