[R] Set a Numeric Field To Blank

Sparks, John James jspark4 at uic.edu
Tue Feb 8 17:40:02 CET 2011


Hi,

I have one of those questions that I suspect is very simple, but hard to
classify, so I have been searching for quite some time and am not able to
find it.

If I have a data frame and I want to change all the values of one of the
columns to blanks, what is the syntax?  I tried a few different spellings
of Null, etc., but can't get it.  Can someone please send me what I
suspect is a one line solution to this?

Many thanks,
--John J. Sparks, Ph.D.



More information about the R-help mailing list