setmints {wsyn}R Documentation

Shifts a vector according to the argument mints

Description

Shifts a vector according to the argument mints

Usage

setmints(ts, mints)

Arguments

ts

A vector of numeric values representing a time series

mints

The time series is shifted to have this minimum value. Default NA means use the smallest difference between consecutive, distinct sorted values of the time series. NaN means perform no shift.

Value

setmints returns the shifted vector.

Daniel Reuman, reuman@ku.edu

Note

This is an internal function, and no error checking is done.


[Package wsyn version 1.0.4 Index]