Description Usage Arguments Value Author(s) Examples
View source: R/fit.factor.models.R
Function to create a balanced data set (same number of observatons in each month)
1 | fit.balanced.panel(.data, .ids, .dates)
|
.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 |
data.table with equal number of observations in each month
Roger J. Bos, roger.bos@gmail.com
1 | balanced <- fit.balanced.panel(rawdata, "symbol", "datadate")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.