storeylab / lfa Goto Github PK
View Code? Open in Web Editor NEWlogistic factor analysis
License: GNU General Public License v3.0
logistic factor analysis
License: GNU General Public License v3.0
I noticed that trunc.svd
and center
have roxygen2 documentation but are not exported ... Are you going to export these functions? If not, I will just copy and paste the code and source the lfa package.
Thanks!
Hello,
I hope is all is well! Is it possible in the lfa
package to fix a few factors for all individuals and estimate the remaining factors?
Thanks,
Joe
* installing *source* package ‘lfa’ ...
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 12.2.1 20230201’
gcc -I"/usr/include/R/" -DNDEBUG -I/usr/local/include -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/r/src=/usr/src/debug/r -flto=auto -ffat-lto-objects -c fastmat.c -o fastmat.o
gcc -I"/usr/include/R/" -DNDEBUG -I/usr/local/include -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/r/src=/usr/src/debug/r -flto=auto -ffat-lto-objects -c lfa-init.c -o lfa-init.o
gcc -I"/usr/include/R/" -DNDEBUG -I/usr/local/include -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/r/src=/usr/src/debug/r -flto=auto -ffat-lto-objects -c lfa.c -o lfa.o
gcc -I"/usr/include/R/" -DNDEBUG -I/usr/local/include -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/r/src=/usr/src/debug/r -flto=auto -ffat-lto-objects -c lreg.c -o lreg.o
In file included from /usr/include/R/R.h:78,
from lfa.h:4,
from fastmat.c:1:
fastmat.c: In function ‘mv’:
fastmat.c:22:14: error: too few arguments to function ‘dgemv_’
22 | F77_CALL(dgemv)(&tr,dimA,dimA+1,&alpha,A,dimA,v,&one,&zero,ret,&one);
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:10: note: declared here
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:1: note: in expansion of macro ‘F77_NAME’
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~~~~
fastmat.c: In function ‘tmv’:
fastmat.c:48:14: error: too few arguments to function ‘dgemv_’
48 | F77_CALL(dgemv)(&tr,dimA,dimA+1,&alpha,A,dimA,v,&one,&zero,ret,&one);
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:10: note: declared here
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:1: note: in expansion of macro ‘F77_NAME’
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~~~~
make: *** [/usr/lib64/R/etc/Makeconf:191: fastmat.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/R/R.h:78,
from lfa.h:4,
from lreg.c:1:
lreg.c: In function ‘lreg’:
lreg.c:49:18: error: too few arguments to function ‘dgemv_’
49 | F77_CALL(dgemv)(&tr,dimX,dimX+1,&alpha,X,dimX,b,&ione,&zero,p,&ione);
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:10: note: declared here
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:1: note: in expansion of macro ‘F77_NAME’
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~~~~
lreg.c:120:18: error: too few arguments to function ‘dgemv_’
120 | F77_CALL(dgemv)(&tr,dimX+1,dimX+1,&one,w,dimX+1,f,&ione,&one,b,&ione);
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:10: note: declared here
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~
/usr/include/R/R_ext/RS.h:77:25: note: in definition of macro ‘F77_CALL’
77 | # define F77_CALL(x) x ## _
| ^
/usr/include/R/R_ext/BLAS.h:107:1: note: in expansion of macro ‘F77_NAME’
107 | F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
| ^~~~~~~~
make: *** [/usr/lib64/R/etc/Makeconf:191: lreg.o] Error 1
ERROR: compilation failed for package ‘lfa’
* removing ‘/build/r-lfa/src/lfa’
* restoring previous ‘/build/r-lfa/src/lfa’
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.