Comments (2)
Hi Synnøve,
The function cbind.mids
and rbind.mids
are not exported from the mice
namespace. Still you can access it by specifically addressing the namespace as per the following example:
library(mice)
#impute the nhanes data with defaults
imp <- mice(nhanes)
#add a matrix with 25 rows and 2 columns
imp2 <- mice:::cbind.mids(imp, matrix(1:50, 25,2))
#ask for the completed data
complete(imp2)
May I ask how you came across this function?
All the best,
Gerko
from mice.
Just using cbind()
, rbind()
or ibind()
should do the job. No need to use the (old) cbind.mids
and friends.
from mice.
Related Issues (20)
- `ampute()` should preserve the structure of the original data matrix HOT 2
- Reference table of predictor matrix codes
- Error in colMeans(as.matrix(imp[[j]]), na.rm = TRUE) : 'x' must be numeric HOT 4
- Default behavior of `make.predictorMatrix()` outputs `1`s for complete variables HOT 2
- Accidentally repeated roxygen comments HOT 3
- Add `cluster` argument to `make.method()` and `make.predictorMatrix()`
- ampute.discrete failing when input data set contains character/categorical variables HOT 1
- pooling parameters df_error = "Inf" HOT 1
- pool() on lavaan objects gives error: illegal arguments passed to lavaan::parameterEstimates HOT 1
- pool() on lavaan fit objects gives error: coef() not available on S4 object HOT 2
- Add cluster variable to `ampute()` for multilevel amputation
- Change reference level in logistic regression following MI using MICE HOT 2
- Chi square tests following multiple imputation
- mice::ampute() not working properly when adding character variables HOT 1
- futuremice error with blocks - possibly due to how ibind deals with blocked imputations
- mice doesn't handle complex variable names
- `method` argument of `mice` ignores variable names? HOT 2
- `quickpred()` errors when `minpuc` is a vector or matrix
- `Error: object 'mice.impute.2l.pmm' not found` when using `futuremice()` HOT 1
- parlmice progress bar HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mice.