Skip to content

Commit ca60481

Browse files
Fix AR correlation structure in gls calls (#512)
closes #512
1 parent 24fff45 commit ca60481

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vignettes/mmrm_review_methods.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ MODEL FEV1 = AVISIT|ARMCD / ddfm=satterthwaite solution chisq;
196196
<pre><code>gls(
197197
FEV1 ~ ARMCD * AVISIT,
198198
data = fev_data,
199-
correlation = <b>corCAR1(form = ~AVISIT | USUBJID)</b>,
199+
correlation = <b>corAR1(form = ~AVISIT | USUBJID)</b>,
200200
weights = <b>varIdent(form = ~1|AVISIT)</b>,
201201
na.action = na.omit
202202
)
@@ -222,7 +222,7 @@ MODEL FEV1 = ARMCD|AVISIT / ddfm=satterthwaite solution chisq;
222222
<pre><code>gls(
223223
FEV1 ~ ARMCD * AVISIT,
224224
data = fev_data,
225-
correlation = <b>corCAR1(form = ~AVISIT | USUBJID)</b>,
225+
correlation = <b>corAR1(form = ~AVISIT | USUBJID)</b>,
226226
na.action = na.omit
227227
)
228228
</code></pre>

0 commit comments

Comments
 (0)