?function help(function)
?mean
?mean
rnorm(n, mean = 0, sd = 1)
pnorm(q, mean = 0, sd = 1, lower.tail = TRUE)
Important functionality: lower.tail
plot.ecdf(rnorm(100))
plot.ecdf(rnorm(1000), ylab = "ECDF(x)")
Hint: look through the examples on the function’s help page