Skip to content

filling blanks with NA

4 messages · kayj, Richard Cotton, K. Elo +1 more

#
want
help

Please help us to help you.  What form are the data in?  Are they in a 
text file, or are they in R already?  What do you mean by 'blanks'?  If we 
can reproduce your problem then we can solve it more easily.

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}
#
Hi,
kayj wrote:
Something like this?
stringsAsFactors=F)
[1] "1"  "2"  "5"  ""   "66" "4"  "3"  ""   "67" "5"  "3"  "2"  "1"
"4"  "32" "56" "23"
[1] "1"  "2"  "5"  NA   "66" "4"  "3"  NA   "67" "5"  "3"  "2"  "1"
"4"  "32" "56" "23"

Kind regards,
Kimmo