Rate of drop analysis: Difference between revisions

Mollyec (talk | contribs)
Created page with "==Purpose== To assess the initial response to insulin administration, you can calculate the slope of the line for the early timepoints in your insulin tolerance test. To do th..."
 
Mollyec (talk | contribs)
mNo edit summary
Line 15: Line 15:
filter(time=="0"| time == "30"| time =="45")
filter(time=="0"| time == "30"| time =="45")


drop.data.lm <- lm (data = new.data.set, formula = ( glucose ~ time + treatment + time:treatment)
drop.data.lm <- lm (formula = ( glucose ~ time + treatment + time:treatment, data = new.data.set, )


anova(drop.data.lm)
anova(drop.data.lm)


coefficients(drop.data.lm)
coefficients(drop.data.lm)