Description Usage Arguments Value Examples

Compute power for a One Factor Within Subjects LMM Trends with up to four levels. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user

1 2 3 |

`m1` |
Mean of first time point |

`m2` |
Mean of second time point |

`m3` |
Mean of third time point |

`m4` |
Mean of fourth time point |

`s1` |
Standard deviation of first time point |

`s2` |
Standard deviation of second time point |

`s3` |
Standard deviation of third time point |

`s4` |
Standard deviation of forth time point |

`r12` |
correlation Time 1 and Time 2 |

`r13` |
correlation Time 1 and Time 3 |

`r14` |
correlation Time 1 and Time 4 |

`r23` |
correlation Time 2 and Time 3 |

`r24` |
correlation Time 2 and Time 4 |

`r34` |
correlation Time 3 and Time 4 |

`n` |
Sample size for first group |

`alpha` |
Type I error (default is .05) |

Power for the One Factor Within Subjects LMM Trends

1 2 | ```
lmm1Ftrends(m1=-.25,m2=-.15,m3=-.05,m4=.05,s1=.4,s2=.5,s3=.6,s4=.7,
r12=.50, r13=.30, r14=.15, r23=.5, r24=.30, r34=.50, n=25)
``` |

pwr2ppl documentation built on June 12, 2019, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.