search for: anlyte

Displaying 1 result from an estimated 1 matches for "anlyte".

Did you mean: analyte
2011 Jul 14
1
Repating a loop of lm function with different columns of database
...00 analytes that have been take in 70 subjects at 2 time points adjusted for the time difference of sample times(TimeDifferenceDays), therefore I wanted to do it with a function that allows me to do all at once. (131 is the column difference that separates the two different measurements of the same anlyte) I have this one: for(i in 1:125){return(summary(lm(Data[,i] ~ Data[,(i+131)] + Data$TimeDifferenceDays)))} But it only gives me one result I also wanted to get the p-value in a dataframe with three columns: Fitst column: analyte name (that´s the name of the column)Second column: pvalue of the fir...