[R] Transformation of data!

David Huffer David.Huffer at csosa.gov
Thu Jul 16 22:57:53 CEST 2009


I'm guessing you want to perform some sort of transformation on all the
elements in the matrix you've posted and that you've only presented
those 3 elements as an example of how the transformation will affect
those 3 elements. Is that right? 

--
 David 


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Andriy Fetsun
Sent: Thursday, July 16, 2009 4:10 PM
To: r-help-request at r-project.org; r-help at r-project.org
Subject: [R] Transformation of data!

Hi Colleagues,

Could you please help?

I get as the output of my calculations following

   [1]  0.000000e+00  1.890000e-04  3.933000e-05  1.701501e-04
2.040456e-04
   [6]  3.119242e-04  2.545665e-04  1.893930e-03  1.303112e-03
9.880183e-04
  [11]  1.504378e-03  1.549246e-03  5.877690e-04  4.771359e-04
8.528219e-04

How is it possible to transform the data to get a vector as following

10   0.017511063
11   0.017819918
12   0.017944472


Thank you in advance!

-- 
Best regards,

Andy

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