Plot only certain points in R -
there dense set of points need show - pdf gets large , thinking plotting every 10th data point
example
plot(c(1:100),runif(100))
how plot every 4th data? know create new input data frame isn't there easier thing?
you this:
x <- runif(100) # every 10th element plot(x[seq.int(1, length(x), 10)]) # every 4th element plot(x[seq.int(1, length(x), 4)])
Comments
Post a Comment