[R] question about ?list

ronggui 042045003 at fudan.edu.cn
Fri Oct 14 17:32:54 CEST 2005


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 at gmail.com
Blog:http://sociology.yculblog.com




More information about the R-help mailing list