[R] recover log of matrix

Rui Barradas ruipbarradas at sapo.pt
Mon May 13 21:19:23 CEST 2013


Hello,

Just use what you've written:

m <- matrix(1:12, ncol = 3)
2^m  # it's a matrix

Hope this helps,

Rui Barradas

Em 13-05-2013 19:41, JiangZhengyu escreveu:
> 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 		 	   		
> 	[[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