time_lcc: Regular Sequence Generator for Time Variable

View source: R/time_lcc.R

time_lccR Documentation

Regular Sequence Generator for Time Variable

Description

Generates a regular sequence for the time variable, including the unique values from the input time vector. This function is used internally to construct LCC, LPC, and LA curves and their simultaneous confidence intervals.

Usage

time_lcc(time, from, to, n)

Arguments

time

A numeric vector of unique time values.

from

The starting (minimum) value for the time sequence.

to

The ending (maximum) value for the time sequence.

n

Desired length of the sequence (integer). Typically, a value between 30 and 50 is adequate.

Value

A numeric vector containing a regular sequence of time values, including the unique values from the input time vector.

Examples

data(hue)
attach(hue)
time_lcc(time = Time, from = min(Time), to = max(Time), n = 30)
detach(hue)


Prof-ThiagoOliveira/lcc documentation built on Dec. 9, 2023, 12:10 a.m.