On 9/21/2007 12:16 PM, Giovanni Petris wrote:
> Hello,
> 
> How can I see a function called "+.dlm"?
> 
>> methods("+")
> [1] +.Date   +.dlm*   +.POSIXt
> 
>    Non-visible functions are asterisked
>> getAnywhere("+.dlm")
> Error in grep(pattern, x, ignore.case, extended, value, fixed, useBytes) : 
>       invalid regular expression '+\.dlm'

Oh, by the way:  I'm assuming you're using the dlm package, and that's 
where +.dlm lives.  If so you can see the definition by

get("+.dlm", environment(is.dlm))

The "environment(is.dlm)" tells get to look in the private environment 
attached to the is.dlm function, which happens to be where "+.dlm" lives.

Duncan Murdoch

______________________________________________
R-help@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.

Reply via email to