Displaying 1 result from an estimated 1 matches for "david_d".
Did you mean:
david3d
2009 Jun 22
1
Convert NA to '.'
Dear R-users,
For reporting purpose (using Sweave and LaTeX), I am creating complex tables
with the cat function such as
> x<-c("A", "B", "C", NA)
> cat(x, '\n')
A B C NA
For convenience, I would like to change all my NA value to something else
like '.' (as in SAS for example). Is there a global option which allows this
change? Or should I