[R] Creating an array [0 to 101] of a list

Rainer M. Krug RKrug at sun.ac.za
Fri Sep 30 13:01:26 CEST 2005


I looked, but I didn't find it:

I need an array [0 to 101] where each element is a list (the result of 
Kest in spatstat).
I.e. I want to do:

A[2] <- Kest(pp1)
A[3] <- Kest(pp2)
A[101] <- Kest(pp100)

How can I create A ?


Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology
University of Stellenbosch
Matieland 7602
South Africa

More information about the R-help mailing list