CBIIT / R-cometsAnalytics

R package development for COMETS Analytics
12 stars 10 forks source link

COMETS 1.3. N does not update when "where" statement used #28

Closed steven-moore closed 6 years ago

steven-moore commented 6 years ago

If the "where" statement is used in either "interactive" mode or in "batch" mode, the N listed does not update. This will create downstream problems when calculating standard errors for meta-analysis and so is an important problem.

ewymathe commented 6 years ago

Not seeing anything obvious in the code. Could you give me a specific example?

steven-moore commented 6 years ago

image

The N should be 990 because 10 of the values for BMI are 0. The models are running correctly, I think. It's just the N that is not updating.

ewymathe commented 6 years ago

Could you resend the input data?

steven-moore commented 6 years ago

Issue resolved