counting number of objects in a list
you mean something like: x <- list(a=1:10, b=matrix(rnorm(5*6), 5, 6), c=5) length(x) Best, Dimitris ---- Dimitris Rizopoulos Doctoral Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/16/396887 Fax: +32/16/337015 Web: http://www.med.kuleuven.ac.be/biostat/ http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm ----- Original Message ----- From: "Vumani Dlamini" <dvumani at hotmail.com> To: <r-help at stat.math.ethz.ch> Sent: Tuesday, June 08, 2004 2:22 PM Subject: [R] counting number of objects in a list
Dear R-users; I am interested in getting the number of objects in a list, and have
thus
far been unsuccessful. Can you please help. Thank you. Vumani
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html