This function accepts a data matrix `D`

and specified options,
returning an S3 object of class bfa.

1 2 3 |

`x` |
A formula or matrix |

`data` |
The data if x is a formula |

`num.factor` |
number of factors |

`restrict` |
A matrix or list giving restrictions on factor loadings. A matrix should be the same size as the loadings matrix. Acceptable values are 0 (identically 0), 1 (unrestricted), or 2 (strictly positive). List elements should be character vectors of the form c('variable',1, '>0') where 'variable' is the manifest variable, 1 is the factor, and '>0' is the restriction. Acceptable restrictions are '>0' or '0'. |

`normal.dist` |
A character vector specifying which variables should be treated as observed Gaussian |

`center.data` |
Center each margin (deprecated, ignored!) |

`scale.data` |
Scale each margin to unit mean/variance (deprecated, ignored!) |

`init` |
Initialize the factor loadings |

`...` |
ignored |

An S3 object of class `bfa`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.