[R] Matrix Question, calculate with 3 different matrices

2013-11-06 Thread rissa
Hi there I've got a (I think) simple problem, but I just can't figure it out. I've got 3 dataset (datasets attached below). In 'Value' there is the measured mean value for every unit (SFZN, SGKN, SGSN, SHLTN, SIK) and for every treatment (1 to 10). In 'SE' is the Standard Error for every unit

Re: [R] Problem with lapply

2013-10-16 Thread rissa
Ah ok, I see the problem! Thank you again! -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-lapply-tp4678290p4678371.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] Problem with lapply

2013-10-15 Thread rissa
something like for(i in 1:ncol(cor.results1)){ newmatrix[1,i]= cor.results1 [[i]]$estimate} etc) Could you please help me? Thank you so much! Rissa Testcor.txt http://r.789695.n4.nabble.com/file/n4678290/Testcor.txt -- View this message in context: http://r.789695.n4.nabble.com/Problem

Re: [R] Problem with lapply

2013-10-15 Thread rissa
Thank you! Worked perfectly! By the way: What was wrong with my original code? -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-lapply-tp4678290p4678305.html Sent from the R help mailing list archive at Nabble.com. __