Description Usage Arguments Value Author(s) Examples
This function Sets the min value of a varible in a decomposition to the intercept and removes it from the varible
1 | setMinToBase(decomp, baseName, varsToBeShifted, removeZeros = FALSE)
|
decomp |
The decomposition which should be fixed |
baseName |
The intercept column in the decomp as a string |
varsToBeShifted |
The colmuns to be shifted |
removeZeros |
Logic, If true the function will ignore zeros for the columns that are shifted |
A fixed decomposition
Johan Gudmundsson, jgu@blackwoodseven.com
1 | setMinToBase(decomp, baseName = 'allOnes', varsToBeShifted = c('trend', 'econmic'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.