Displaying 1 result from an estimated 1 matches for "rvmvnorm".
Did you mean:
rmvnorm
2007 Aug 20
1
rv package, rvnorm function
...Gentoo Linux and R
2.2.1 (the latest available through Gentoo's portage/emerge system).
Everything worked well until I tried the following command (found on p.
2 of the document):
beta <- rvnorm(mean=beta.hat, var=V.beta*sigma^2)
That command produced the following error message:
Error in .rvmvnorm(n = n, mean = mean, Sigma = var) :
Invalid (non-numeric) covariance matrix Sigma
Any suggestions for interpreting the error message or correcting the
problem would be much appreciated.
Pasted below, in case it is useful, is my R file:
****R file begins here **************************
#...