fit.balanced.panel: fit.balanced.panel

Description Usage Arguments Value Author(s) Examples

View source: R/fit.factor.models.R

Description

Function to create a balanced data set (same number of observatons in each month)

Usage

1
fit.balanced.panel(.data, .ids, .dates)

Arguments

.ids

name of the identifier field that will be used for row names

.dates

name of the data.table of rawdata

.dates

name of the date field that will be used as column names

Value

data.table with equal number of observations in each month

Author(s)

Roger J. Bos, roger.bos@gmail.com

Examples

1
balanced <- fit.balanced.panel(rawdata, "symbol", "datadate")

rogerjbos/fit.factor.models documentation built on July 23, 2020, 3:44 p.m.