| logspace | R Documentation |
Construct a vector of n logarithmically-spaced elements from
10^a to 10^b.
logspace(a, b, n = 50, base = 10)
a |
|
b |
|
n |
The number of samples to generate. Default is 50. |
base |
The base of the log space. |
A vector of logarithmically-spaced elements.
If b = pi and base = 10, the points are between
10^a and pi, not 10^a and 10^pi, for
compatibility with the corresponding MATLAB/Octave, and NumPy functions.
linspace(), seq().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.