Displaying 1 result from an estimated 1 matches for "deltao2".
Did you mean:
delta2
2010 Nov 22
4
Wait for user input with readline()
...program doesn't wait for the user input and just
continues to the next line of code. Does anyone have a work around for this
type of problem?
Thanks for your help,
Nate
#################
O2sat=as.numeric(readline("What is the O2 saturation in umole/L?"))
r=function(x) {
deltaO2=meanblank-q[2]
umoleO2=(deltaO2/100)*O2sat
}
umoleO2perL=r(minO2mean)
umolesO2consumed=umoleO2perL*Vial_vol
names(umoleO2consumed)="umoleO2consumed"
O2consumed=data.frame(filenames,umoleO2consumed)
O2consumed
[[alternative HTML version deleted]]