I learned to making histogram and CDF/ogive. There is a code looks like:
xs <- seq(floor(min(x)), ceiling(max(x)),0.1)
x is some vector in integers. What if i write the code without floor/ceiling function?
also, can anybody explain aboud ecdf function? I have code like this:
plot(xs,ecdf(x)(xs),type="l",
xlab="Height in Inches, ylab="F(x)")
if you don't mind, please explain about type function too