[R] recover log of matrix

Berend Hasselman bhh at xs4all.nl
Mon May 13 21:20:11 CEST 2013


On 13-05-2013, at 20:41, JiangZhengyu <zhyjiang2006 at hotmail.com> wrote:

> Dear all, I have a matrix with all values being log transformed.  I want them back to the values before the transformation.  i.e. 2^matrix M. Is there any easy code to do this? Thanks,Zhengyu 	

Please don't post in html.

Have you tried 2^M assuming your log transformed matrix is M and that you used a log 2 transformation.

Berend


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



More information about the R-help mailing list