[R] reduced variate in R

Rui Barradas ruipbarradas at sapo.pt
Sun Jun 3 19:32:28 CEST 2012


Hello,

Try

scale(x)

Half of homework done.
The other half is to have a quick look at R-intro.pdf, it comes with 
every installation of R. Chapters 8 and 12.

Hope this helps,

Rui Barradas

Em 03-06-2012 18:15, eliza botto escreveu:
>
> thankyou very much for answer. i want to calculate normal reduced variate of a matix consisting of 366 rows and 92 columns. how can i do that??
> please reply if you know the answer..
> eliza
>
>
>> Subject: Re: [R] reduced variate in R
>> From: pdalgd at gmail.com
>> Date: Sun, 3 Jun 2012 19:11:55 +0200
>> CC: r-help at r-project.org
>> To: eliza_botto at hotmail.com
>>
>>
>> On Jun 3, 2012, at 17:57 , eliza botto wrote:
>>
>>> Dear  R users,
>>> is there a way in R to calculate normal reduced variate??
>> Yes. It depends on what you mean, though. AFAICT "reduced" is just what others call "standard normal" (mean 0, variance 1), so rnorm(n, 0, 1) is one answer; z<- (X - mu)/s is another.
>>
>>
>> -- 
>> Peter Dalgaard, Professor,
>> Center for Statistics, Copenhagen Business School
>> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
>> Phone: (+45)38153501
>> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>>
>>
>>
>>
>>
>>
>>
>>
>   		 	   		
> 	[[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