calc_win {respR}R Documentation

Automatically calculate rolling window

Description

The calculated value is used to determine the rolling window for rolling regressions.

Usage

calc_win(dt, width, by, msg)

Arguments

dt

data.frame object.

width

numeric.

by

string.

msg

string. Attach function name for message (usually auto_rate)

Value

a numeric


[Package respR version 2.3.3 Index]