[R] polynomials transformation
Abd. Rahman Kassim
rahmank at frim.gov.my
Thu Nov 10 02:06:09 CET 2005
Dear Chuck,
Thanks for your prompt reply.
Abd. Rahman
----- Original Message -----
From: "Chuck Cleland" <ccleland at optonline.net>
To: "Abd. Rahman Kassim" <rahmank at frim.gov.my>
Cc: "R-Help Discussion" <r-help at stat.math.ethz.ch>
Sent: Wednesday, November 09, 2005 6:04 PM
Subject: Re: [R] polynomials transformation
> The coefficients are in the attribute list:
>
> > x <- rnorm(100)
> > attributes(poly(x, 2))$coefs
> $alpha
> [1] -0.1585783 -0.1193990
>
> $norm2
> [1] 1.0000 100.0000 110.3589 254.5965
>
> ?attributes
>
> Abd. Rahman Kassim wrote:
>> Dear All,
>>
>> Need some help in polynomials transformation to get the coefficients. I
>> have tried "poly.transform" as applied in S-plus but it does not work.
>>
>> Thanks in advanced for any helps.
>>
>> Regards.
>>
>>
>> Abd. Rahman Kassim (PhD)
>> Head Forest Ecology Branch
>> Forest Management & Ecology Program
>> Forestry and Conservation Division
>> Forest Research Institute Malaysia
>> Kepong 52109
>> Selangor, Malaysia
>>
>> *****************************************
>>
>> Checked by TrendMicro Interscan Messaging Security.
>> For any enquiries, please contact FRIM IT Department.
>> *****************************************
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>
> --
> Chuck Cleland, Ph.D.
> NDRI, Inc.
> 71 West 23rd Street, 8th floor
> New York, NY 10010
> tel: (212) 845-4495 (Tu, Th)
> tel: (732) 452-1424 (M, W, F)
> fax: (917) 438-0894
*****************************************
Checked by TrendMicro Interscan Messaging Security.
For any enquiries, please contact FRIM IT Department.
More information about the R-help
mailing list