ConvertFactorsToStringReplaceNAInDf | R Documentation |
This function takes data fields containing illness codes/time of diagnosis distributed in multiple with each row representing one individual. It processed the data and return in episodes of event for all individuals
ConvertFactorsToStringReplaceNAInDf(df)
df |
dataframe containing the fields |
a data.table object with all episodes
ConvertFactorsToStringReplaceNAInDf(data.frame("a" = c(1,2,3),"p" = c("t","b",""),"y" = c(NA,"w","r")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.