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
• 10,380 points
37 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You seem to have made a small spelling mistake.

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

Related Questions In Data Analytics

+1 vote
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,020 points
329 views
0 votes
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
• 10,380 points
21 views
0 votes
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,020 points
255 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
• 36,260 points
259 views
0 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
• 36,260 points
753 views
0 votes
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
• 36,260 points
31 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,020 points
240 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.