Description Usage Arguments Details Value Author(s)
Check if the first variables have an specific data type and return the names of that variables
1 2 3 4 | firstvariables_df_datatype(
df,
data_type = c("character", "numeric", "integer", "date", "numeric", "factor")
)
|
df |
dataset to check. |
data_type |
string datatype that we are interested. |
This function allows you to check if the first or the first two or the first three variables have the same data type and return the names of that variables.
This function allows us to return:"
Names of the first or first, second or first, second and third variables that have the same data type.
In other case return a message indicate that the first variables do not have that data type.
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.