get.step.sequence {datplot} | R Documentation |
Calculate the sequence of dating steps
Description
Produces an appropriate sequence of years between the minimum and maximum dating.
If they cannot be properly divided by the stepsize set beforehand, either three values are generated for objects that are dated to a range of more then 60 objects dated to a timespan of less or equal to 60 If they can be divided without residual, the normal sequence is returned. If there is a residual, the stepsize is modified depending on how large the residual is.
Usage
get.step.sequence(datmin = 0, datmax = 100, stepsize = 25)
Arguments
datmin |
numeric value of the minimum dating of one object |
datmax |
numeric value of the maximum dating of one object |
stepsize |
the stepsize to be used |
Value
sequence of steps to be created by [create.sub.objects()]
See Also
[datsteps()], [create.sub.objects()]
Examples
min_year <- -494
max_year <- -334
sequence <- get.step.sequence(datmin = min_year, datmax = max_year, stepsize = 25)
sequence
min_year <- 1
max_year <- 100
sequence <- get.step.sequence(datmin = min_year, datmax = max_year, stepsize = 25)
sequence
[Package datplot version 1.1.1 Index]