Skip to content
Back to formatted view

Raw Message

Message-ID: <49D3205F.7020200@pburns.seanet.com>
Date: 2009-04-01T08:05:51Z
From: Patrick Burns
Subject: Variable Wildcard Value

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
>
>