Read databases for MFO package
read_MFO_databases(
from = c("folder", "files"),
path,
db_basal_name,
db_MFO_name,
db_graded_name,
col_name_VO2,
col_name_VCO2,
col_name_RER,
col_name_HR,
remove_rows = NULL
)
select either from folder or files
path to the the databases
name of the database with the basal metabolic rate test
name of the database of MFO test
name of the database of the graded exercise test
name given to the variable VO2 in the databases. Must be the same for all databases. Default set to "VO2"
name given to the variable VCO2 in the databases. Must be the same for all databases. Default set to "VCO2"
name given to the variable RER in the databases. Must be the same for all databases. Default set to "RER"
name given to the variable HR in the databases. Must be the same for all databases. Default set to "HR"
An integer (or a vector of integers) representing the position of the rows to delete
Returns 3 databases:
participant_db_basal: database with basal metabolism.
participant_db_MFO: database with MFO test.
participant_db_graded: graded exercise test.