[R] Searching for antilog function

Heather J. Branton hjb at pdq.com
Wed Nov 24 20:18:53 CET 2004


Yes! Somehow I must have made an entry error when I tried that before as 
I was getting something completely different!

Thank you.

...heather

Liaw, Andy wrote:

>What's wrong with log2()?
>
>  
>
>>log2(16)
>>    
>>
>[1] 4
>
>Isn't that exactly what you asked for?
>
>Andy
>
>  
>
>>From: Heather J. Branton
>>
>>Dear R-users,
>>
>>I have a basic question about how to determine the antilog of 
>>a variable.
>>
>>Say I have some number, x, which is a factor of 2 such that x 
>>= 2^y. I 
>>want to figure out what y is, i.e. I am looking for the 
>>antilog base 2 of x.
>>
>>I have found log2 in the Reference Manual. But I am struggling how to 
>>get the antilog of that.
>>
>>Any help will be appreciated!
>>
>> > version
>>
>>platform i386-pc-mingw32
>>arch     i386          
>>os       mingw32       
>>system   i386, mingw32 
>>status                 
>>major    1             
>>minor    9.1           
>>year     2004          
>>month    06            
>>day      21            
>>language R
>>
>>...heather
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide! 
>>http://www.R-project.org/posting-guide.html
>>
>>
>>    
>>
>
>
>------------------------------------------------------------------------------
>Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
>------------------------------------------------------------------------------
>
>
>  
>

-- 
_______________________________________________________________________
Heather J. Branton                                  Public Data Queries
Data Specialist                                 310 Depot Street, Ste C
734.213.4964 x312                                  Ann Arbor, MI  48104

               U.S. Census Microdata At Your Fingertips
                          http://www.pdq.com




More information about the R-help mailing list