Function for sampling normal distribution with grand means built into participant effects (i.e., participant effects not zero-centered). This is useful for sampling DPSD or UVSD models with no item effects and without hierarchical pooling (neither of which should be done!).

1 2 | ```
sampleNorm2(sample, y, cond, subj, item, lag, N, I, J, R,
ncond, nsub, nitem, s2mu, s2a, s2b, meta, metb, sigma2, sampLag = 1, Hier = 1)
``` |

`sample` |
~~Describe |

`y` |
~~Describe |

`cond` |
~~Describe |

`subj` |
~~Describe |

`item` |
~~Describe |

`lag` |
~~Describe |

`N` |
~~Describe |

`I` |
~~Describe |

`J` |
~~Describe |

`R` |
~~Describe |

`ncond` |
~~Describe |

`nsub` |
~~Describe |

`nitem` |
~~Describe |

`s2mu` |
~~Describe |

`s2a` |
~~Describe |

`s2b` |
~~Describe |

`meta` |
~~Describe |

`metb` |
~~Describe |

`sigma2` |
~~Describe |

`sampLag` |
~~Describe |

`Hier` |
~~Describe |

hbmem documentation built on April 7, 2018, 1:03 a.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.