nalimilan / logmult Goto Github PK
View Code? Open in Web Editor NEWR package for log-multiplicative models, including association models
Home Page: http://cran.r-project.org/web/packages/logmult/
R package for log-multiplicative models, including association models
Home Page: http://cran.r-project.org/web/packages/logmult/
Thank you for maintaining this very useful package. I just came across a bug in the function logmult::rc()
. Estimating standard errors via the jackknife or bootstrapping seems to be broken.
Please see the example below. I get the same when trying the bootstrap instead of the jackknife.
library(logmult)
set.seed(123)
tbl <- table(sample(letters[1:3], 100, replace = TRUE),
sample(LETTERS[1:3], 100, replace = TRUE))
logmult::rc(tbl, se = "jackknife", ncpus = 1)
#> Initialising
#> Running start-up iterations..
#> Running main iterations.....
#> Done
#> Computing jackknife standard errors...
#> Error in getS3method("assoc", class(model)) :
#> length(class) == 1L is not TRUE
My R session info is as follows:
> sessionInfo()
R version 4.1.0 Patched (2021-07-06 r80602)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices datasets utils methods base
other attached packages:
[1] logmult_0.7.3 gnm_1.1-1
loaded via a namespace (and not attached):
[1] MASS_7.3-54 compiler_4.1.0 Matrix_1.3-4 tools_4.1.0
[5] nnet_7.3-16 relimp_1.0-5 qvcalc_1.0.2 grid_4.1.0
[9] renv_0.14.0 lattice_0.20-44
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.