powered by
Generate sequences which are equidistant on a log-scale.
lseq(from, to, length)
a numeric vector of length length.
numeric
length
starting value of sequence.
end value of the sequence.
desired length of the sequence.
seq.
seq
(x <- lseq(1, 990, length= 21)) plot(x, x^4, type = "b", col = 2, log = "xy") if(with(R.version, major >= 2 && minor >= 1)) plot(x, exp(x), type = "b", col = 2, log = "xy")
Run the code above in your browser using DataLab