R/Create_bottom_gas_tbl.R

Defines functions Create_bottom_gas_tbl

Documented in Create_bottom_gas_tbl

#' This function creates a tibble containing all relevant informations about the bottom gas
#' Desc_gas: a tibble as produced by Create_desc_gas_tbl()
Create_bottom_gas_tbl <- function(Desc_gas){
    # The bottom gas is the last descent gas
    Bottom_gas <- Desc_gas[nrow(Desc_gas), ]
    # It is used to stay at Max_depth
    Bottom_gas$Start_depth <- Bottom_gas$End_depth
    return(Bottom_gas)
}
besibo/DeepDiveR documentation built on May 30, 2019, 12:45 p.m.