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

Paul Johnson pauljohn at ku.edu
Thu Dec 18 20:27:39 CET 2003


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




More information about the R-help mailing list