On 2/25/2008 8:59 AM, Angelo Passalacqua wrote:
> I am aware of
>
> table(is.na(df$var))
>
> but is there an efficient way of create a table that shows the number of
> missing values in each variable of a data frame?
>
> Right now I am forced to create a new variable, varna<-is.na(df$var), for
>
I am aware of
table(is.na(df$var))
but is there an efficient way of create a table that shows the number of
missing values in each variable of a data frame?
Right now I am forced to create a new variable, varna<-is.na(df$var), for
each variable of the data frame, bind them to a new data frame an
2 matches
Mail list logo