Skip to content
Prev 309213 / 398506 Next

Having some Trouble Data Structures

On 28.10.2012 10:32, Benjamin Ward (ENV) wrote:
Consider to use a data.frame with the third column (Effectors) of list 
type. Then you can do:

Pathogen_Individuals$Effectors[1] <- list(c(2,3,4))

And what you get is:

 > Pathogen_Individuals
     ID No_of_Effectors Effectors
1 0001               3   2, 3, 4

Uwe Ligges