slice | R Documentation |
The function will slices time with a given set of boundaries and produce a time scale object if desired.
slice(x, breaks, offset = 0, ts = TRUE, revtime = TRUE)
x |
( |
breaks |
( |
offset |
( |
ts |
( |
revtime |
( |
Due to stratigraphic constraints, we can only process deep time data, when it is sliced to discrete bins. It is suggested that you do this separately for most of your analyses. This function is also used by the divDyn
function when age
entries are provided.
Either of new entries and levels or time scale.
y<- runif(200, 0,100)
au <- slice(y, breaks=seq(0, 100, 10))
withOut <- slice(y, breaks=seq(0, 100, 10), ts=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.