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

From Opasnet
Jump to navigation Jump to search
(Added category: 'Intera')
mNo edit summary
Line 16: Line 16:


=== Formula ===
=== Formula ===
*For details of upload function see [[Opasnet Base Connection for R]].


  <nowiki><rcode>
  <nowiki><rcode>
Line 23: Line 25:
colnames(bvol)[2] <- "Age group"
colnames(bvol)[2] <- "Age group"
colnames(bvol)[5] <- "Result"
colnames(bvol)[5] <- "Result"
#lirary(OpasnetBaseUtils)
#Op_baseWrite("opasnet_base", bvol) #commented out to prevent unintentional uploading
</rcode></nowiki>
</rcode></nowiki>



Revision as of 10:50, 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 01 Apr 2025.