bdlm_paral | R Documentation |
Linear regression for Big Data using MLR-MR algorithm to perform lm regression with big data : https://isglobal-brge.github.io/Master_Modelling/dealing-with-big-data-in-r.html#linear-regression-for-big-data
bdlm_paral(Y, model, blocks, threads = NULL)
Y, |
numerical matrix column with response variable |
model, |
numerical matrix with paired observations of the predictor variable X |
blocks, |
integer with number of blocks we want to split matrix if null matrix is splited in blocks as maximum of 1000 variables per block |
threads, |
threads (optional) only if bparal = true, number of concurrent threads in parallelization if threads is null then threads = maximum number of threads available |
Lineal regression coefficients
## Not run: library(BigDataStatMeth) data(mtcars) Y <- mtcars$mpg X <- model.matrix(~ wt + cyl, data=mtcars) m <- 4 res <- bdlm_paral( X, Y, m, 1) res ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.