[R] representing NULL values in a vector

Patrick Burns pburns at pburns.seanet.com
Mon Sep 6 10:25:34 CEST 2010


Perhaps you mean NA rather than NULL.

If NA is not what you want, then I
think you'll need to explain your
application.

On 06/09/2010 06:00, rajeshj at cse.iitm.ac.in wrote:
>
> Hi,
>
> I have a vector who contents should look like this,
>
> "c" "d" NULL "e" "f" etc
> or
> 4 5 6 NULL 7 8 9
>
> how can I represent the null value?
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Patrick Burns
pburns at pburns.seanet.com
http://www.burns-stat.com
(home of 'Some hints for the R beginner'
and 'The R Inferno')



More information about the R-help mailing list