[R] using function from specific packages

From: jiho.han <whizvast_at_gmail.com>
Date: Tue, 03 Jun 2008 13:31:04 -0700 (PDT)

hello, useRs-

i have a function that i wrote myself, for example, lag(x). however, when i load 'zoo' packages and try to lag 'zoo' object, it gave me error. (R try to
pass 'zoo' object into my function.)

i typed 'lag.zoo' in R, but it can't find it. how can i access 'lag.zoo' function?
and in general, how can i deal with such problem as to access functions from specific packages

View this message in context: http://www.nabble.com/using-function-from-specific-packages-tp17632885p17632885.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
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 03 Jun 2008 - 22:31:06 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 03 Jun 2008 - 23:30:42 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