Skip to content

Instantly share code, notes, and snippets.

@Ddedalus
Created May 7, 2018 22:59
Show Gist options
  • Save Ddedalus/fc2308f5f9cbe43c89225f0e2aff51e2 to your computer and use it in GitHub Desktop.
Save Ddedalus/fc2308f5f9cbe43c89225f0e2aff51e2 to your computer and use it in GitHub Desktop.
Get density function out of data in R
{plot(density(in_deg), col=2) # where in_deg is a list of degrees - one obs. per verticle
lines(density(out_deg), col=3)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment