Coder Social home page Coder Social logo

Error in predict function about bmstdr HOT 4 CLOSED

sujit-sahu avatar sujit-sahu commented on July 19, 2024
Error in predict function

from bmstdr.

Comments (4)

sujit-sahu avatar sujit-sahu commented on July 19, 2024

Dear Hallo951,
Thank you very much. I am away attending ISBA in Montreal this week. I will reply once I am able to investigate the issues - possibly next week after my return. Please can you wait.
Best wishes, Sujit

from bmstdr.

Hallo951 avatar Hallo951 commented on July 19, 2024

Hello Mr. Sujit,

thank you very much for the answer. Yes until next week is not a problem...I will then do other work left this week....

best regard
Frank (alias Hallo951)

from bmstdr.

sujit-sahu avatar sujit-sahu commented on July 19, 2024

Thanks for this. But sorry, I have not been able to reproduce the error. I checked both on my linux and Windows machines. I will ask some of my students to double check this. Please can you give me code which results in error.

from bmstdr.

Hallo951 avatar Hallo951 commented on July 19, 2024

That's very strange.

I have tried their package on different computers and the error occurs on all of them. The incorrect line for me is the following:

call.f<-as.formula(paste("tmp~",paste(call.f,sep="")[[3]]))

Where call.f is the model formula. Does the following work for them:

call.f <- as.formula(y8hrmax ~ xmaxtemp + xwdsp + xrh)

call.f<-as.formula(paste("tmp~",paste(call.f,sep="")[[3]]))

After all, this line does nothing but replace "y8hrmax" with "tmp". And just this causes me the error no matter which computer I test it on...

Do you have an additional package installed or something?

from bmstdr.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.