Hi,
you can try close R and run R again for getting and saving another csv.
Or if your max(x) is too big, try split into 4, or 5 or even more like:
1:(max(x)/4)
and next run:
(max(x)/4+1) : (max(x)/2) etc
hope this helps,
JL
--
View this message in context:
http://r.789695.n4.nabble.com/
Hi,
I think you can try the function rep().
Example:
# this means rep 1 once, 2 twice and 3 three times
> rep(c(1,2,3), c(1,2,3))
[1] 1 2 2 3 3 3
# this means rep "A", "B", "C", until it reaches length of 10
> rep(c("A","B","C"), length.out = 10)
[1] "A" "B" "C" "A" "B" "C" "A" "B" "C" "A"
you
hi,
you may want to try the following, see whether you want this:
plot(NULL, xlim = c(0, 10), ylim = c(0, 8), xaxt = "n", yaxt = "n",
main = "The Demand Curve", xlab = "", ylab = "", bty = "n")
lines(x = c(1, 8), y = c(1, 1))
lines(x = c(1, 1), y = c(1, 8))
lines(x = c(1, 7), y = c(7, 1))
li
3 matches
Mail list logo