Thursday 1 March 2012

How to substitute 'NA' in R for any other desired value


my.table$column[is.na(my.table$column)] <- 0

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Pedrosauriotl said...

I love tetracycline