Skip to content

Instantly share code, notes, and snippets.

@JakeJing
Created August 10, 2021 08:48
Show Gist options
  • Select an option

  • Save JakeJing/fbb1ba47fc40f1ab621e461ead5794d6 to your computer and use it in GitHub Desktop.

Select an option

Save JakeJing/fbb1ba47fc40f1ab621e461ead5794d6 to your computer and use it in GitHub Desktop.
# y: a list of 100 matrices
y = map(1:100, ~ my_lkj_corr_rng(K = 2, eta = 1.4))
# data_lkj_corr: a list of list
data_lkj_corr = list(N = 100, y = y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment