[R] Variable Wildcard Value

Patrick Burns pburns at pburns.seanet.com
Wed Apr 1 10:05:51 CEST 2009


I would be truly amazed if the answer were "yes".

I find this the most fascinating question on R-help
for a long time, maybe ever.  Can you tell us what
you have in mind and what your ultimate purpose is?

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")

Francis Smart wrote:
> Is there a wildcard value for vector values in r?
>
> For instance:
>
>   
>> M <- *wildcard
>>     
>
>   
>> (M==1)
>>     
> TRUE
>
>   
>> (M=="peanut butter")
>>     
> TRUE
>
>   
>> is.na(M)
>>     
> FALSE
>
> thanks,
> Francis
>
>




More information about the R-help mailing list