Learn R Programming

lcc (version 1.1.4)

time_lcc: Regular Sequence for the Time Variable

Description

An list specifying control arguments to generate a regular sequence for the time variable returned by the function time_lcc, which is used to constructed the LCC, LPC and LA curves and its simultaneous confidence intervals. Default is NULL.

Usage

time_lcc(time, from, to, n)

Value

Return a regular sequence used to create the time variable

Arguments

time

unique values of time variable

from

the starting (minimal) value of time variable.

to

the end (maximal) value of time variable.

n

an integer specifying the desired length of the sequence. Generally, n between 30 and 50 is adequate.

Examples

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

Run the code above in your browser using DataLab