complete.cases for dlat and ilat? [RSABE / ABEL]
Hi Helmut!
Got a flashback. Take a look:
data_r should not be used for dlat AND ilat (if the goal is to mimic Phoenix template where dlat is calculated for all data where RR is available, not only full periods data)
Got a flashback. Take a look:
data_r <- data_r[complete.cases(data_r$TR), ]
<...>
data_r$RR <- data_r$logpk.R1 - data_r$logpk.R2
data_r$TT <- data_r$logpk.T1 - data_r$logpk.T2
data_rr <- data_r[complete.cases(data_r$RR), c(1:2, 8)]
data_tt <- data_r[complete.cases(data_r$TT), c(1:2, 9)]
data_r should not be used for dlat AND ilat (if the goal is to mimic Phoenix template where dlat is calculated for all data where RR is available, not only full periods data)
—
Kind regards,
Mittyri
Kind regards,
Mittyri
Complete thread:
- any SAS or R-macro for 3 period two sequence RSABEIs Achievwin 2023-07-05 18:38 [RSABE / ABEL]
- Use the one for TRTR | RTRT Helmut 2023-07-06 08:46
- RSABE R coded by Detlew mittyri 2023-07-06 14:07
- ‘dlat’ for 3-period full replicate? Helmut 2023-07-07 14:41
- ‘dlat’ for 3-period full replicate? mittyri 2023-07-07 16:04
- Likely wrong workaround? Helmut 2023-07-07 20:06
- a bit corrected workaround mittyri 2023-07-07 22:52
- THX! Another attempt… Helmut 2023-07-08 12:15
- complete.cases for dlat and ilat?mittyri 2023-07-09 21:45
- a bit corrected workaround Achievwin 2023-07-10 20:43
- THX! Another attempt… Helmut 2023-07-08 12:15
- a bit corrected workaround mittyri 2023-07-07 22:52
- Likely wrong workaround? Helmut 2023-07-07 20:06
- ‘dlat’ for 3-period full replicate? mittyri 2023-07-07 16:04
- ‘dlat’ for 3-period full replicate? Helmut 2023-07-07 14:41
- RSABE R coded by Detlew mittyri 2023-07-06 14:07
- Use the one for TRTR | RTRT Helmut 2023-07-06 08:46