Object-Oriented Programming with S3 and R6 in R
Richie Cotton
Data Evangelist at DataCamp





<- function( ) {
}

calculate_something <- function( ) {
# do something
}

calculate_something <- function(x, y, z) {
# do something
}

calculate_something <- function(x, y, z) {
# do something
return(the_result)
}












Object-Oriented Programming with S3 and R6 in R