Learn R Programming

datplot (version 1.0.0)

get.step.sequence: Calculate the sequence of dating steps (internal)

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. (TODO: There is still a problem here that needs fixing.)

Usage

get.step.sequence(datmin = 0, datmax = 100, stepsize = 25)

Arguments

datmin

value of the minimum dating of one object

datmax

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()