R/update_history.R

Defines functions update_history

update_history <-
function(tab, criterion, value) {
    if (is.null(tab)) {
        tab <- data.frame(Criterion = criterion,
                          Value = value)
    } else {
        tab <- rbind(tab, c(criterion, value))
    }
    return(tab)
}
frederic-santos/rdss documentation built on March 25, 2023, 5:25 p.m.