Closed jakejh closed 2 years ago
shouldn't the weights argument be true/false since the only other option is to use our weights?
I don't think so. What if someone wants to calculate scores for a few patients from their institution, and to use weights based on all patients at their institution?
Yeah you're right! They could even have a weight file saved and load that instead of having to calculate it every time.
61633729b5a8c75c8f8ea2b3fb66a1f8fdadf721
phers()
.https://github.com/hugheylab/phers/blob/b9c3189aa469568616977b7c3b42ee3752f6584d/R/phers.R#L198-L200