[R] diagnostic information in glm. How about N of missing observations?

Gabor Grothendieck ggrothendieck at myway.com
Thu Dec 18 23:35:20 CET 2003



Check out

   ?summary.formula

in package Hmisc.

---
Date: Thu, 18 Dec 2003 13:27:39 -0600 
From: Paul Johnson <pauljohn at ku.edu>
To: 'r-help at stat.math.ethz.ch' <r-help at stat.math.ethz.ch> 
Subject: [R] diagnostic information in glm. How about N of missing observations? 

 
 
I handed out some results from glm() and the students ask "how many 
observations were dropped due to missing values"?

How would I know? 

In other stat programs, the results will typically include N and the 
number dropped because of missings. Without going back to R and 
fiddling about to find the total number of rows in the dataframe, there 
is no way to tell. Somewhat inconvenient. Do you agree?

-- 
Paul E. Johnson email: pauljohn at ku.edu
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504 
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list