Thanks Tyler
This function has some useful features
Tim
From: Tyler Rinker [mailto:tyler_rin...@hotmail.com]
Sent: Tuesday, April 19, 2011 3:52 PM
To: tesutton; r-help@r-project.org
Subject: RE: [R] Simple Missing cases Function
I use the following code/function which gives me some
Dear Petr
Thanks so much. That is a LOT more efficient.
Tim
-Original Message-
From: Petr PIKAL [mailto:petr.pi...@precheza.cz]
Sent: Tuesday, April 19, 2011 3:37 PM
To: tesutton
Cc: r-help@r-project.org
Subject: Odp: [R] Simple Missing cases Function
Hi
Hi
try
colSums(is.na(data.m
AL DATA","DESCRIPTIVES"=t(descriptives),"CASE # OF MISSING
VALUES"=missing.values[,1])
}
}
dataset<-data.frame(dataset)
options(scipen=100)
options(digits=2)
lapply(dataset,find.NA)
}
> From: tesut...@hku.hk
> To: r-help@r-project.org
> Date: Tue, 19 Apr 201
On Tue, Apr 19, 2011 at 03:29:08PM +0800, Tim Elwell-Sutton wrote:
> Dear all
>
>
>
> I have written a function to perform a very simple but useful task which I
> do regularly. It is designed to show how many values are missing from each
> variable in a data.frame. In its current form it works
On Tue, Apr 19, 2011 at 03:29:08PM +0800, Tim Elwell-Sutton wrote:
> Dear all
>
>
>
> I have written a function to perform a very simple but useful task which I
> do regularly. It is designed to show how many values are missing from each
> variable in a data.frame. In its current form it works
Dear all
I have written a function to perform a very simple but useful task which I
do regularly. It is designed to show how many values are missing from each
variable in a data.frame. In its current form it works but is slow because I
have used several loops to achieve this simple task.
C
6 matches
Mail list logo