converteCampoParaCharacter {Fgmutils} | R Documentation |
converts a column of a dataframe to String
converteCampoParaCharacter(nomeCampo, base)
nomeCampo |
the column name you want to convert |
base |
the column having dataFrame, that you want to convert to String |
base dataFrame with a column converted to String
measurement_date <- c(02/2009,02/2010,02/2011,02/2011)
plot <- c(1,2,3,4)
test <- data.frame(measurement_date,plot)
converteCampoParaCharacter("measurement_date",test)