Skip to content

Instantly share code, notes, and snippets.

@Bojne
Created September 12, 2019 01:49
Show Gist options
  • Save Bojne/a7f55b0dca880201840677c0395d909b to your computer and use it in GitHub Desktop.
Save Bojne/a7f55b0dca880201840677c0395d909b to your computer and use it in GitHub Desktop.
df <- data.frame(Father = runif(200, min=150, max=190),
Mother = runif(200, min=140, max=180),
N = 10 * rnorm(200),
Kid = round(mother_h * 0.4 + father_h * 0.6 + noise,2))
print (df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment