Hi all R mailing listers: I am using the coda package. I tried to view the source of HPDinterval code by typing fix(HPDinterval), it dispalys as follows:
function (obj, prob = 0.95, ...) UseMethod("HPDinterval") Then I search the answers about this case (see below), it still failed. Thank you in advance! David > getAnywhere('HPDinterval')2 differing objects matching HPDinterval were > found in the following places .GlobalEnv package:coda namespace:coda Use [] to view one of them> getAnywhere('HPDinterval')[1]function (obj, prob = 0.95, ...) UseMethod("HPDinterval") <environment: 0x0b616134>> getAnywhere('HPDinterval')[2]function (obj, prob = 0.95, ...) UseMethod("HPDinterval") <environment: namespace:coda> [[alternative HTML version deleted]]
______________________________________________ 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.