Description Usage Arguments Value Examples
This function returns the type of a variable as character. It
is similar to pillar::type_sum()
, however, the
return value is not truncated, and var_type()
works
on data frames and within pipe-chains.
1 |
x |
A vector or data frame. |
... |
Optional, unquoted names of variables that should be selected for
further processing. Required, if |
abbr |
Logical, if |
The variable type of x
, as character.
1 2 3 4 5 6 7 8 9 10 11 |
[1] "numeric"
[1] "integer"
[1] "character"
[1] "numeric"
[1] "categorical"
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
c82cop1 c83cop2 c84cop3 c85cop4 c86cop5 c87cop6 c88cop7 c89cop8
"numeric" "numeric" "numeric" "numeric" "numeric" "numeric" "numeric" "numeric"
c90cop9
"numeric"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.