| specFfm | R Documentation | 
Factor models have a few parameters that describe how the
fitting is done.  This function summarizes them and returns a spec object for
cross-sectional regressions.  It also preps the data. An object of class
"ffmSpec" is returned.
specFfm(
  data,
  asset.var,
  ret.var,
  date.var,
  exposure.vars,
  weight.var = NULL,
  addIntercept = FALSE,
  rob.stats = FALSE
)
| data | data.frame of the balanced panel data containing the variables
 | 
| asset.var | character; name of the variable for asset names. | 
| ret.var | character; name of the variable for asset returns. | 
| date.var | character; name of the variable containing the dates
coercible to class  | 
| exposure.vars | vector; names of the variables containing the fundamental factor exposures. | 
| weight.var | character; name of the variable containing the weights
used when standarizing style factor exposures. Default is  | 
| addIntercept | logical; If  | 
| rob.stats | logical; If  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.