What does int surv mean in this coding?

I am using the following code to create risk scores for patients:


The second to last variable listed after static is int surv
I do not know what this relates to. I have all the other variables.

Does anyone have any ideas? I do not usually use C++ but will instead be running this in R or stata.


This isn't the ideal forum for a C++ question, but I'll take a crack at it. surv is there for other purposes than used in the qrisk calc interface. It only appears in the two functions as declarations and is not assigned in the code otherwise. I guess you'd need outcome data to need it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.