slice {divDyn} | 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 codedivDyn function when age
entries are provided.
y<- runif(200, 0,100) au <- slice(y, breaks=seq(0, 100, 10)) withTs <- slice(y, breaks=seq(0, 100, 10), ts=TRUE)