Dear R-help,
Is the following a bug of pmvnorm?
R-matrix(c(1,.5,.5,1),2,2)
pmvnorm(lower=c(-Inf,-Inf),upper=c(Inf,Inf),corr=R)
It returns,
[1] 0
attr(,error)
[1] 0
attr(,msg)
[1] Normal Completion
But I think it should return 1.
Yung-jui
__
Sorry about that. I'm trying to pass a tag=value argument to a function
which creates a list using list(...).
Specifically, it's necessary for tag to become the name of the list
component - I'm not sure I'm using the right nomenclature.
I can make the call work explicitly here. But I would
Looks like a bug (in mvt()?). Note that
pmvnorm(lower = c(-Inf, -Inf), upper = c(Inf, 10))
works as expected, as does replacing any of the 4 Infs with a finite
value.
Function sadmvn() in pkg:mnormt does give 1 with Inf lower/uppers.
Peter Ehlers
Daniel Yang wrote:
Dear R-help,
Is the
Is this what you want:
For each component of the dotlist check whether its name exists in
the caller's environment as an R object and if it exists then use the
contents of that object coerced to character as the name of the
component; otherwise, use the component name as given.
If that's it then
There was some copying/pasting error and some junk got in. Here
it is again:
testme - function(...) {
dotlist - list(...)
names(dotlist) - sapply(names(dotlist),
function(x) if (exists(x)) as.character(get(x, envir = parent.frame()))
else x)
dotlist
}
if (exists(nm))
Hi all, first thanks reading my letter,
Im statistics student . im doing my final assignment bout application of
correspondence analysis in geographical information system. i use delphi 7
for developing and R for statistical computation. I use RDCom to cennect
delphi and R. there was
Rob == Rob Balshaw [EMAIL PROTECTED]
on Fri, 26 May 2006 07:50:16 -0700 writes:
Rob Thank you to Prof Ripley, Gabor Grothendieck, Dirk Eddelbuettel and
Rob others who emailed with suggestions and comments.
Rob Dr Ripley's suggestion that I reinstall appears to have fixed the
Hi
I am using boosting for a classification and prediction problem.
For some reason it is giving me an outcome that doesn't fall between 0
and 1 for the predictions. I have tried type=response but it made no
difference.
Can anyone see what I am doing wrong?
Screen output shown below:
Perhaps by following the Posting Guide you're likely to get more helpful
responses. You have not shown an example that others can reproduce, not
given version information for R or gbm. The output you showed does not use
type=response, either.
Andy
_
From: [EMAIL PROTECTED] on behalf