objects are masked from ‘package:base’:

Hi
I am trying to work with mice in R, but get the message when retrieving the library:
"The following objects are masked from ‘package:base’:

cbind, rbind"

Any ideas what it means and how to fix it?

As its not an error there is nothing to fix.
You should know that the functions of cbind and rbind are 'replaced' by mice package.
This is a warning to you that if you choose to use these functions, you might expect different results. or else when you use them, stipulate you want the base versions i.e. base::cbind, but if you wont be using them, then its irrelevant.

You shouldn't need to do anything. The following comes from the help file after running ?mice::rbind. I recommend you read the entire help file.

Essentially, rbind and cbind are redefined to support mice objects, but if mice objects aren't in use, it reverts to the base behavior.

The standard base::cbind() and base::rbind() always dispatch to base::cbind.data.frame() or base::rbind.data.frame() if one of the arguments is a data.frame . The versions defined in the mice package intercept the user command and test whether the first argument has class "mids" . If so, function calls cbind.mids() , respectively rbind.mids() . In all other cases, the call is forwarded to standard functions in the base package.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.