[R] Creating named lists

Rune Schjellerup Philosof rphilosof at health.sdu.dk
Fri Mar 12 10:28:45 CET 2010


I often find myself making lists similar to this
list(var1=var1, var2=var2)

It doesn't seem list has an option, to make it use the name of the
variable as name in the list.
Is there another function that does this?

-- 
Med venlig hilsen

Rune Schjellerup Philosof
Ph.d-stipendiat, Forskningsenheden for Biostatistik

Telefon: 6550 3607
E-mail:	 rphilosof at health.sdu.dk
Adresse: J.B. Winsløwsvej 9, 5000 Odense C

SYDDANSK UNIVERSITET
_______________________________________________________________
* Campusvej 55 * 5230 * Odense M * 6550 1000 * www.sdu.dk



More information about the R-help mailing list