[R] Help in using PCR

Erik Iverson iverson at biostat.wisc.edu
Tue Jul 1 17:03:19 CEST 2008

> So, I used df <- data.frame( x=I(coef(cancerv1(,2:407))),
> y=cancerv1[,408])before feeding to PCR.
> However, I get the below error.
> Error in coef(cancerv1(, 2:407)) : could not find function "cancerv1".

It's because you have the syntax error 'cancerv1(...)', which looks to 
R, and me, a function call.  The error message seems straightforward.

More information about the R-help mailing list