[R] Transformation of data!

Michael Knudsen micknudsen at gmail.com
Thu Jul 16 22:41:30 CEST 2009


On Thu, Jul 16, 2009 at 10:09 PM, Andriy Fetsun <fetsun at googlemail.com> wrote:

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

That it a vector of length 15.

> How is it possible to transform the data to get a vector as following
>
> 10   0.017511063
> 11   0.017819918
> 12   0.017944472

That looks like a 3x2 matrix. How do you get that from the vector above?

--
Michael Knudsen
micknudsen at gmail.com
http://lifeofknudsen.blogspot.com/




More information about the R-help mailing list