I would guess that x.pt does not have class "func", whatever that is. You really ought to read the manual section indicated in the error. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On October 19, 2015 10:29:54 AM PDT, carol white via R-help <r-help@r-project.org> wrote: >Hi,I have invoked plot in a function (plot.func) as follows but when I >check the built package, I get a warning: >plot(x.pt,y.pt,xlim = c(0, 10), ylim = c(0,1), xlab= "xlab", >ylab="ylab", main = "title", col = col,type = "l") >R CMD check my.package >checking S3 generic/method consistency ... WARNING >plot: > function(x, ...) >plot.func: > function(x.pt, y.pt, arg3, arg4, "title", col, arg5) > >See section ‘Generic functions and methods’ in the ‘Writing R >Extensions’ manual. >Which plot argument is illegitimate or missing and how to eliminate the >warning? >Thanks >Carol > > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.