Hello is there in R any operator that give you all the data of a matrix
for example in matlab

x(2,3) returns the 2ndth row and 3rdth column
x(2,:) returns all the columns of the 2nd row.

In R now I would like to print all the

 CRagent[[i]][2]


 CRagent[[:]][2] doesnot work of course. Other option is to make a loop with an 
index i that spans from 1:last element of CRagent[[]] but this is not that 
optimal.

I would like to thank you in aavance for your help
Best Regards
Alex



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to