Skip to content

Commit e57dd60

Browse files
20260511 - extract participant-specific coefficients
1 parent 316017c commit e57dd60

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

hlm.qmd

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,23 @@ linearMixedModel_re$id <- head(linearMixedModel_re$id)
336336
linearMixedModel_re
337337
```
338338

339+
##### Extract Participant-Specific Coefficients {#sec-extractParticipantCoefficients}
340+
341+
```{r}
342+
#| output: false
343+
344+
coef(linearMixedModel)
345+
```
346+
347+
```{r}
348+
#| echo: false
349+
350+
linearMixedModel_coef <- coef(linearMixedModel)
351+
352+
linearMixedModel_coef$id <- head(linearMixedModel_coef$id)
353+
linearMixedModel_coef
354+
```
355+
339356
#### `nlme`
340357

341358
```{r}

0 commit comments

Comments
 (0)