Last active
March 17, 2021 10:30
-
-
Save dhavalpotdar/d32446aa59d94f7a32f195704f65c2f2 to your computer and use it in GitHub Desktop.
Draw a sine plot in R.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x <- seq(0, 2 * pi, length = 100) | |
sinx <- sin(x) | |
plot(x, sinx, type = "l") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment