setmints: Shifts a vector according to the argument mints

Description Usage Arguments Value Note

View source: R/setmints.R

Description

Shifts a vector according to the argument mints

Usage

1
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.


wsyn documentation built on June 19, 2021, 1:07 a.m.