Dear R-Users,
For example i have a data matrix with five samples and three variables.
DATA - matrix(c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5),nrow=5,ncol=3,byrow=TRUE)
colnames (DATA) - c(V1,V2,V3)
rownames (DATA) - c(S1,S2,S3,S4,S5)
I want to normalize all samples to same sum of variables:
NormFun -
: Andris Jankevics [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Friday, December 08, 2006 9:36 AM
Subject: [R] question about apply function
Dear R-Users,
For example i have a data matrix with five samples and three
variables.
DATA -
matrix(c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5),nrow=5
to: r-help@stat.math.ethz.ch
Subject:Re: [R] Question on apply() with more information...
Hi,
I tried both ideas, but it isn't that what I'm looking for.
I want to avoid for loop, because the matrix is of big size(1200*1200
entries)
With a loop I would do
Dear list,
I try to do the following:
I have an list of length n, with elements done by smooth.spline
(SmoothList).
Now I have a matrix with n rows and m columns with x-values(Xarray)
Now I want ot predict the y-values.
Therefor I want to take the first element of SmoothList and the first row
at 8:05, Gunther Höning wrote:
From: Gunther Höning [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Date sent: Mon, 18 Sep 2006 08:05:28 +0200
Subject:[R] Question on apply()
Dear list,
I try to do the following:
I have
:[EMAIL PROTECTED]
Gesendet: Montag, 18. September 2006 08:43
An: Gunther Höning; r-help@stat.math.ethz.ch
Betreff: Re: [R] Question on apply()
Hi
not much information about what can be wrong. As nobody knows your Xarray
and SmoothList it is hard to guess. You even omitted to show what does not
work
So
Höning [EMAIL PROTECTED]
To: 'Petr Pikal' [EMAIL PROTECTED],
r-help@stat.math.ethz.ch
Subject:AW: [R] Question on apply() with more information...
Date sent: Mon, 18 Sep 2006 09:26:01 +0200
Ok.
I tried this too, but it still doesn't work.
Here
than just to predict a value, but it isn't
important for the initial question...
Gunther
-Ursprüngliche Nachricht-
Von: Petr Pikal [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. September 2006 11:44
An: Gunther Höning
Cc: r-help@stat.math.ethz.ch
Betreff: Re: AW: [R] Question on apply
From: =?ISO646-US?Q?Gunther_H=3Fning?= [EMAIL PROTECTED]
Date: 2006/09/18 Mon AM 06:26:25 CDT
To: 'Petr Pikal' [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Question on apply() with more information...
I think you want something like below but it
probably needs some fixing up