Skip to content
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

doRetro pt.fc.in argument #4

Open
MichaelFolkes opened this issue Mar 13, 2019 · 2 comments
Open

doRetro pt.fc.in argument #4

MichaelFolkes opened this issue Mar 13, 2019 · 2 comments

Comments

@MichaelFolkes
Copy link
Owner

doRetro has argument pt.fc.in and relies on it here

In the demo script, doRetro is called without defining pt.fc.in. (line 118). The function fails. I think you succeeded in the gui as you're loading data objects in memory, that works differently in a package.

@SOLV-Code
Copy link
Collaborator

maybe the call in the demo script is for an older version of the fn that didn't have this pieces (i.e. before the prediction intervals were added). But I think I tested the demo script since then, and it worked on my end. You can just make that change in the demo script.

sibreg.retro <- doRetro(model= "SibRegSimple", data = data.withage$data, 
				retro.settings = list(min.yrs=15), 
				fit.settings = NULL, 
				fc.settings = list(boot=NULL),
				tracing=FALSE,out.type="short",
                                pt.fc.in=sibregfit.withage )

Inside multiFC() on the command line and inside the app, doRetro() is called with a pt.fc.in argument and so it works there.

@SOLV-Code
Copy link
Collaborator

Given all the recent activity with the functions, it's been impossible to keep all the scripts up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants