R/water.R

Defines functions model3 model2g model2 model1

model1 <- function() {
    return(runif(1))
}

model2 <- function(x, y) {
    mean(x, y)
}
model2g <- function(x, y) {
    mean(x, y*2)
}

model3 <- function(y) {
    model1() + y
}
llrs/dogs documentation built on Dec. 21, 2021, 11:43 a.m.