liud4 / rVMAP

Data Management code for VMAC-MAP study
Other
3 stars 0 forks source link

coalesce with trust.mean.spo2 #73

Closed liud4 closed 7 months ago

liud4 commented 7 months ago

https://github.com/liud4/rVMAP/blob/81139d5d788ce766a388929b895c6c20c024c4e1/R/derive_automated_3T.R#L337C3-L337C118

data$oef.ya <- coalesce(rowMeans(data[, c("asl.3t.trust.spo2", "asl.3t.trust.spo2.1", "asl.3t.trust.spo2.2")], na.rm = TRUE), trust.mean.spo2)

panpanzhang99299 commented 7 months ago

Function "derive_automated_3T" has been updated.