s-news
[Top] [All Lists]

na.omit by row

To: Snews <s-news@wubios.wustl.edu>
Subject: na.omit by row
From: Bernd Puschner <puschner@psyres-stuttgart.de>
Date: Mon, 19 Feb 2001 18:27:56 +0100
Organization: Forschungsstelle für Psychotherapie Stuttgart
dear s-plus users,

i have a hudge data set

> dim(leidenbeg)
[1] 686 889

on part of which i want to perform survival analyses. i want to create a
data set which omits all cases with missings on the factor variable of
the survivals. if i compute

leidenbeg.omiss <- na.omit (leidenbeg)

s-splus kicks out cases with missings on any of the variables. there's
probably a very easy solution to that.

thanks a lot

bernd

Attachment: puschner.vcf
Description: Visitenkarte für Bernd Puschner

<Prev in Thread] Current Thread [Next in Thread>