search for: reinman

Displaying 1 result from an estimated 1 matches for "reinman".

2007 Mar 05
1
error message when using outer function
...id, post.a1, y) #*** no error messages *** post.a2 <- function(mu,sd,y) { ldens <- sum(log(dnorm(y,mu,sd))) ldens } y <- c(10,10,12,11,9) mugrid <- c(10,11) sdgrid <- c(1,1.2) logdens2 <- outer (mugrid, sdgrid, post.a2, y) #***error message occurs here *** Thank You! Grant Reinman e-mail:grant.reinman at pw.utc.com