mids | R Documentation |
Create the sequence of the mid points of vector, i.e., (x[-1]+x[-length(x)])/2
mids(x)
x |
terget vector |
vector of mid points
x = c(0.0,0.2,0.6,1.2)
ans = mids(x)
# ans == c(0.1,0.4,0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.