powered by
this function returns the type of a column of a dataFrame, if it is numeric or character.
verificaTipoColuna(coluna)
column of dataframe
# NOT RUN { ID_REGIAO <- c(1,2,3,4) CD_PLANTIO <- c("ACD","CDB","CDC","CDD") test <- data.frame(ID_REGIAO,CD_PLANTIO) verificaTipoColuna(test$ID_REGIAO) # }
Run the code above in your browser using DataLab