twoway_simulation_correlated function

Simulate measurements repeated over either or both factors of a two-way design