unused arguments

Why is this problem occuring? unused arguments? It wasnt occuring before, but only now that i try to assign triangular distribution, it seems to give me errors. I dont know why

...
library(mc2d)
capex_vec <- rtriang(10000, min = 485, mode=633, max = 816)
Error in rtriang(10000, min = 485, mode = 633, max = 816) :
unused arguments (min = 485, mode = 633, max = 816)
...

Is mode a required argument?

library('jmuOutlier')
rtriang(10000, min = 485, max = 816)

Yes, it is. I closed R and then ran it again. it runs fine

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.