|
From: | aliko |
Subject: | Re: generate polynomial features given a vector X and degree |
Date: | Tue, 20 Dec 2011 17:39:04 +0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Take a look at ... help vander Does this do what you're looking for? Ben
No this is not the function that do job it will not compute cross vector element multiplications like X(1)*X(2)^2 and so on.
As was previously suggested by M. Sc. Juan Pablo Carbajal, the function that do job is multinom from specfun package.
[Prev in Thread] | Current Thread | [Next in Thread] |