This repository contains an R package for performing paired factor analysis.
To install the pfar
package,
devtools::install_github("gaow/pfar")
If you do not have devtools
or have no internet access, you need to obtain the source code, decompress the tarball and type make
to install the package.
The main function in the pfar
is pfa
:
> ?pfar::pfa
You can follow the example
section of the documentation to run the program on an example data set.
If you get error message Cannot find lapack / openblas you need to install LAPACK
and OpenBLAS
libraries. On Debian Linux:
sudo apt-get install libopenblas-dev liblapack-dev
pfar
requires compilers with OpenMP support. On Debian Linux:
sudo apt-get install libgomp1