my first R script

# hello, this is my first R script  —(nth time)
rm (list = ls())
ws_dir = “/Users/??????”
ws_dir
getwd()
cars <- c(1, 3, 6, 4, 9)
sample(1:75,5)
plot(sample(1:75, 5))
plot(sample(1:75,5), type=”o”, col=”blue”)
plot(sample(1:75,5), main=”mega millions”, type=”o”, col=”blue”)
plot(NULL,
main=”mega millions”,
xlab=”x axis”,
ylab=”y axis”,
type=”n”,
xlim=c(0, 5),
ylim=c(0, 75))
mmn <- sample(1:75,5)
lines(mmn,
type = “o”,
col = “blue”)

ప్రకటనలు

About a2zdreams

No Rules .. No Restrictions ..
This entry was posted in a2z. Bookmark the permalink.