Tena koe Kon

y(1)
y(2) and so on.  Or even y(1:5).

HTH ...

Peter Alspach 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Kon Knafelman
> Sent: Thursday, 21 May 2009 11:35 a.m.
> To: [email protected]
> Subject: [R] evaluate polynomial
> 
> 
> Hey guys, sorry im drawing a mental blank.
> 
>  
> 
> i have coded the function:
> 
>  
> 
> y <- function(x) 6*x^4-(1*x^2)^3
> 
>  
> 
> How do i evaluate this function for a given x?
> 
>  
> 
> i know this is a ridiculous question, but thanks anyway
> 
> _________________________________________________________________
> [[elided Hotmail spam]]
> 
> [[elided Hotmail spam]]
> =Domain_tagline&_m=EXT
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> [email protected] 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.
> 

The contents of this e-mail are confidential and may be subject to legal 
privilege.
 If you are not the intended recipient you must not use, disseminate, 
distribute or
 reproduce all or any part of this e-mail or attachments.  If you have received 
this
 e-mail in error, please notify the sender and delete all material pertaining 
to this
 e-mail.  Any opinion or views expressed in this e-mail are those of the 
individual
 sender and may not represent those of The New Zealand Institute for Plant and
 Food Research Limited.

______________________________________________
[email protected] 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.

Reply via email to