Claudia Siano 2 Posted November 26, 2019 Share Posted November 26, 2019 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") error The beginning or our script is: library(DescTools) library(fitdistrplus) dat Link to comment Share on other sites More sharing options...
Gaia Paolini Posted November 27, 2019 Share Posted November 27, 2019 without the data it is really hard to debug this. Can you upload a sample (if possible, a dxp with the data and script) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now