-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running the example code #1
Comments
I have been looking through the code and it seems the problem is in the function Plotfit of the investr package. It's used in the regIDF function. The problem is with the version 1.4.2. If I downgrade the package to the version 1.4.0, the code works correctly. |
Hi Ernesto,
Thanks in advance for use this tool.
So, can you resolved the error?
Let me know if can and the other hand can you give me your opinion about
this package.
Regards
…On Mon, Apr 17, 2023, 10:11 AM ernesto561 ***@***.***> wrote:
I have been looking through the code and it seems the problem is in the
function *Plotfit* of the investr
<https://cran.r-project.org/web/packages/investr/index.html>. It's used
in the regIDF function. The problem is with the version 1.4.2. If I
downgrade the package to the 1.4.0 version, the code works correctly.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCHZG6V6DVIIXKCVXC4JBLXBVMRJANCNFSM6AAAAAAW6QRGKU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
*Aviso legal:* El contenido de este mensaje y los archivos adjuntos son
confidenciales y de uso exclusivo de la Universidad Nacional de Colombia.
Se encuentran dirigidos sólo para el uso del destinatario al cual van
enviados. La reproducción, lectura y/o copia se encuentran prohibidas a
cualquier persona diferente a este y puede ser ilegal. Si usted lo ha
recibido por error, infórmenos y elimínelo de su correo. Los Datos
Personales serán tratados conforme a la Ley 1581 de 2012 y a nuestra
Política de Datos Personales que podrá consultar en la página web
www.unal.edu.co <http://www.unal.edu.co/>.* *Las opiniones, informaciones,
conclusiones y cualquier otro tipo de dato contenido en este correo
electrónico, no relacionados con la actividad de la Universidad Nacional de
Colombia, se entenderá como personales y de ninguna manera son avaladas por
la Universidad.
|
Hello David, Thanks for your answer. The problem is in the function investr::plotFit. In the latest version (1.4.2) the function is not working. You have to downgrade to 1.4.0 or install the development version. Regarding you package, it's very useful. I would only make bigger the text and legends for some plots, but the output data can be used to create custom plots anyway. I like that the output includes the coefficients for the IDF equation. Thanks for your package. I don't know if this issue should still be open, because it's related to another package. |
Hello,
Thanks for this package. It's the most complete package for the calculation of IDF curves I have found. I am having some problems running the example code. When I run these lines:
Meteorology station in the Farfan Airport in Tulua, Colombia.
data(inten)
Test.idftool <- IDFCurve(Data = inten, Station='2610516', Duration = FALSE,
Periods = FALSE, Type = "gumbel", M.fit = "lmoments",
Plot = 1234, Strategy = 1, logaxe = "", CI = FALSE, CIpdf = TRUE, iter = 50,
goodtest = FALSE, Resolution = 300, SAVE = FALSE, name = TRUE)
I get the following result:
[1] "Just compute a strategy"
Error in eval(stats::getCall(object)$data) : object 'MD.INT' not found
The plots are created, although it generates an empty one at the end. The problem is that the data are not saved in the variable Test.idftool. I have tried to look for the object MD.INT in all the R scripts but haven' found anything. My R version is 4.2.2. Thanks.
The text was updated successfully, but these errors were encountered: