[R] [External] Dimensioning lists.
Rolf Turner
r@turner @end|ng |rom @uck|@nd@@c@nz
Mon Feb 15 09:59:49 CET 2021
Thanks to Richard Heiberger, John Fox, and Avi Gross, who pointed out
to me that I should
> use double brackets
> [[ ]]
>
> > xxx[[2,3]]
> $a
> [1] "n"
>
> $b
> [1] 20
I really should've should've known that; I feel a bit duh now!
See fortunes::fortune(341) for a relevant comment. :-)
Thanks again.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help
mailing list