Re: [R] Help in using PCR

From: Erik Iverson <iverson_at_biostat.wisc.edu>
Date: Tue, 01 Jul 2008 10:03:19 -0500

> 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.



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. Received on Tue 01 Jul 2008 - 15:06:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 01 Jul 2008 - 15:31:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive