Error saying object mvnorm not found

0 votes

I am using R and my function has following lines of code:

pd <- Posdef(10, ev=1:10)
spd <- Symm(pd)
mu1 <- c(1:10)
data = MASS:::mvnorm(1000,mu1,spd)

But I am getting the error:

Error in get(name, envir = asNamespace(pkg), inherits = FALSE) (from func1.R@11#7) : 
object 'mvnorm' not found
Nov 9, 2018 in Data Analytics by Ali
• 11,360 points
1,252 views

1 answer to this question.

0 votes

You seem to have made a small spelling mistake.

MASS::mvrnorm
answered Nov 9, 2018 by Maverick
• 10,840 points

Related Questions In Data Analytics

+2 votes
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

answered Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
6,339 views
+1 vote
1 answer

What does “Error: object '<myvariable>' not found” mean?

The error means that R could not ...READ MORE

answered Oct 29, 2018 in Data Analytics by Ali
• 11,360 points
2,047 views
+1 vote
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
5,109 views
0 votes
1 answer

": cannot open the connection" Error in R

There can be two reasons for this ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
5,069 views
+2 votes
1 answer

“subscript out of bounds” Error in r programming

This error is likely to occur when ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
9,563 views
+1 vote
1 answer

What does “replacement has” Error mean?

This error occurs when one tries to ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
690 views
0 votes
1 answer

Errors saying "Error: unexpected '}' in "}"

This is a syntax error: Enclose your if ...READ MORE

answered Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
3,121 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP