MFO_kinetics {MFO}R Documentation

Maximal Fat Oxidation Kinetics

Description

Maximal Fat Oxidation Kinetics

Usage

MFO_kinetics(MFO_data)

Arguments

MFO_data

a data frame obtained from MFO function

Value

Returns a list which contains:

Examples

## Not run: 
# Get old working directory
oldwd <- getwd()

# Set temporary directory
setwd(tempdir())

# Read dfs
data(list = c("basal_df", "MFO_df", "VO2max_df"), package = "MFO")

# Convert to data.frame
basal_df <- data.frame(basal_df)
MFO_df <- data.frame(MFO_df)
VO2max_df <- data.frame(VO2max_df)

# Calculate MFO and Fatmax
result_MFO <- MFO(step_time = 20,
                 db_MFO = MFO_df,
                 db_basal = basal_df,
                 db_graded = VO2max_df,
                 cv_var = "RER",
                 author = "Frayn",
                 VO2max = NULL)

# Calculate MFO Kinetics
result_MFO_kinetics <- MFO_kinetics(result_MFO$MFO_db)

# set user working directory
setwd(oldwd)

## End(Not run)


[Package MFO version 0.1.0 Index]