Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # get the data into the software
- Input =(
- "group no_malonate malonate
- a 0.026 0.026
- b 0.052 0.047
- c 0.045 0.005
- d 0.09 0.088
- e 0.012 0.02
- f 0.084 0.087
- g 0.006 0.007
- h 0.078 0.074
- i 0.016 0.015
- j 0.005 0.001
- k 0.12 0.08
- l 0.055 0.035
- m 0.055 0.035
- n 0.02 0.018
- ")
- # turn the text into an R table
- Data = read.table(textConnection(Input),header=TRUE)
- # do the paired t-test
- t.test(Data$no_malonate, Data$malonate,
- paired=TRUE,
- conf.level=0.95)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement