Pilotdata based simulations for estimating power in linear mixed models

check_significance | Gets t/z value out of model_emp and compares it to a... |

get_depvar | Gets dependent variable of a mixed model |

get_n | Gets number of participants in a dataset |

mixedpower | Function thatr runs the whole mixedpower power process |

multiplot | Multiple plot function from Cookbook-R |

multiplotPower | Multiple plot function to plot the mmpower output |

power_simulation | Function that runs the power simulation |

prepare_rnorm_model | Function to prepare a mixed model with varied fixed effect... |

prepare_safeguard_model | Function that computes confidence intervals for fixed effects... |

reset_contrasts | Resets specified contrasts in the simulated dataset |

simulateSamplesize | Simulate a new data set |

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.