[R] question about ?list

From: ronggui <042045003_at_fudan.edu.cn>
Date: Sat 15 Oct 2005 - 01:32:54 EST


the help page says:

 'is.list' returns 'TRUE' iff its argument is a 'list' _or_ a

     'pairlist' of 'length' > 0, whereas 'is.pairlist' only returns
     'TRUE' in the latter case.

does the "latter case" mean a 'pairlist' of 'length' > 0?

but
> is.pairlist(pairlist())

[1] TRUE
> length(pairlist())

[1] 0

what the help page exactly means?                                           

2005-10-14



Deparment of Sociology
Fudan University

My new mail addres is ronggui.huang@gmail.com Blog:http://sociology.yculblog.com



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 15 01:44:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST