[datatable-help] Replace a character in one data table column
Frank S.
f_j_rod at hotmail.com
Wed Jul 30 13:37:28 CEST 2014
Thanks for your reply Jim,
I've realized that in my data R recognizes the value "missing" as authentic NA. So, in conclusion, I really have:
> DT
id date
1: 1 1997-04-26
2: 1 NA
3: 4 1998-08-25
4: 4 NA
5: 4 1998-11-07
And if I do:
> sum(is.na(DT$date))
The result is 2. So I've applied your suggestion and there are not changes in date variable. Can you help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140730/ca1aad9f/attachment.html>
More information about the datatable-help
mailing list