random.yx.nonnormal(10, 50, 20, 4, 2, .5, .75, 3, 4, .5, 1)
# Should return:
# y x
# 1 47.3 18.8
# 2 52.0 20.3
# 3 51.3 22.3
# 4 50.9 21.3
# 5 55.2 22.0
# 6 53.7 20.1
# 7 46.4 20.0
# 8 54.9 24.7
# 9 48.7 20.7
# 10 44.7 18.6
Run the code above in your browser using DataLab