Jump to content

Error running fitdist function

Claudia Siano 2

Recommended Posts

We creted a fnction in R that works fine in R studio but when we tried in Spotfire it does not.

We get

TIBCO Enterprise Runtime for R returned an error (2)

The data function 'DistributionPlot (Simon)' could not be executed.

Error in fitdist(std.data, distr = "beta") : data must be a numeric vector of length greater than 1

eval(expr, envir, enclos)

eval(expr, envir, enclos)

density.plots(dat, 1, 8)

fitdist(std.data, distr = "beta")

stop("data must be a numeric vector of length greater than 1")





The beginning or our script is:




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...