Skip to content

Instantly share code, notes, and snippets.

@Teino1978-Corp
Created November 8, 2015 00:41
Show Gist options
  • Select an option

  • Save Teino1978-Corp/48696d703d5cb907600f to your computer and use it in GitHub Desktop.

Select an option

Save Teino1978-Corp/48696d703d5cb907600f to your computer and use it in GitHub Desktop.
# qqnorm() assumes comparison to normal distribution
qqnorm(df_salary$amount)
# qqline() plots 45 degres lines
qqline(df_salary$amount, col = 2)
# qqplot() is more flexible.
# 1st argument is the simulated distribution
qqplot(df_ideal$amount , df_salary$amount)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment