Jump to content

R fitdistrplus library


Michele Scarpa

Recommended Posts

Hello,

hello i created a data funcion installingfitdistrplus library to get weibull distribution parameters:

fitdistrplus::mledist(input1, "weibull", lower=c(0,0))

when I force the lower parameters limit to avoid errors for distribution with smallshape or scale parameters, spotfire returns the following error eventhough it works fine in R studio with the very same library version.

TIBCO Enterprise Runtime for R returned an error: 'Error in fitdistrplus::mledist(input1, "weibull", lower = c(0, 0)) : argument is of length zero

eval(expr, envir, enclos)

eval(expr, envir, enclos)

distribution_check(input1)

fitdistrplus::mledist(input1, "weibull", lower = c(0, 0))'.

at Spotfire.Dxp.Data.DataFunctions.Executors.LocalFunctionClient.OnExecuting()

at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.d__0.MoveNext()

at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.d__0.MoveNext()

at Spotfire.Dxp.Data.Methods.TerrAggregation`1.Worker(CxxSession session, UInt64 groupCount, CxxTable tempTable, CxxReader[] dependencies, CxxWriter writer, IList`1 propertyGetters)

Can anyone sugest me a solution

Thanks

Michele

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...