We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow non-existing time-point references to default to some value, for example, instead of doing this
node("TI", t=0:7, distr="rbern", prob=plogis(-5 - 0.3*CVD + 0.5*A1C[t] + 1.5*{if (t==0) {0} else {TI[t-1]}}))
write just this, with TI[t-1] at t=0 defaulting to 0:
node("TI", t=0:7, distr="rbern", prob=plogis(-5 - 0.3*CVD + 0.5*A1C[t] + 1.5*TI[t-1]))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Allow non-existing time-point references to default to some value, for example, instead of doing this
write just this, with TI[t-1] at t=0 defaulting to 0:
The text was updated successfully, but these errors were encountered: