INTERA:Breathing volumes based on activity level: Difference between revisions

From Opasnet
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 26: Line 26:
colnames(bvol)[5] <- "Result"
colnames(bvol)[5] <- "Result"
#lirary(OpasnetBaseUtils)
#lirary(OpasnetBaseUtils)
#Op_baseWrite("opasnet_base", bvol) #commented out to prevent unintentional uploading
#op_baseWrite("opasnet_base", bvol) #commented out to prevent unintentional uploading
</rcode></nowiki>
</rcode></nowiki>



Revision as of 10:51, 4 March 2011


Scope

This variable describes the breathing volumes based on the activity level, age group and sex.

Definition

Data

Data comes from measured breathing rates in daily activities[1]

Dependencies

Unit

L/min

Formula

<rcode>
bvol <- read.table("M:/Intera_data/Breathing_volumes.csv", sep = ";", header = TRUE) #csv constructed by importing table below to excel
bvol <- reshape(bvol, idvar = c("Activity", "Age.group", "Sex"), times = c("Mean", "SD"), timevar = "Parameter", varying = 
list(c("Mean", "SD")), direction = "long") #reshaped from cols ... , mean, sd to ... , parameter(mean/sd), value
colnames(bvol)[2] <- "Age group"
colnames(bvol)[5] <- "Result"
#lirary(OpasnetBaseUtils)
#op_baseWrite("opasnet_base", bvol) #commented out to prevent unintentional uploading
</rcode>

Result

{{#opasnet_base_link:Op_en4946}}


See also

Keywords

breathing volume

References

Related files

<mfanonymousfilelist></mfanonymousfilelist>

INTERA:Breathing volumes based on activity level. Opasnet . [1]. Accessed 28 Mar 2025.