tis objects## S3 method for class 'tis':
lines(x, midPoints = T, offset = 1, dropNA = F, ...)
## S3 method for class 'tis':
points(x, midPoints = T, offset = 1, dropNA = F, ...)tis (time indexed series) objectTRUE (the default) and if offset was
not specified, then offset is set to 0.5.x
to find the day on which to plot the point. 0 means the first
day of each period; the default value 1 plots on the last day of
each period. For example, if x has TRUE, observations with NA values are
dropped before calling lines.default or
points.default. See the details for why you might or might
not want to do this. The default is FALSE, to lines.default or
points.default.lines.default and
points.default. For example, lines.tis basically does this:
lines.default(x = time(x, offset = offset), y = x, ...) and points.tis is similar. If dropNA is TRUE, the
observations in x that are NA are dropped from the x and
y vectors sent to the .default functions. For points, this
shouldn't matter, since points.tis omits points with NA
values from the plot.
For lines the dropNA parameter does make a difference.
The help document for lines says:
"The coordinates can contain NA values. If a point contains
NA in either its x or y value, it is omitted from
the plot, and lines are not drawn to or from such points. Thus
missing values can be used to achieve breaks in lines."
Note that if the type is one of c("p", "b", "o"), the
non-NA points are still drawn, but line segments from those
points to adjacent NA points are not drawn. If dropNA = TRUE,
the NA points are dropped before calling lines.default,
and all of the remaining points will be connected with line segments
(unless suppressed by the type argument).
lines, points