Run »
my_function <- function(fname) { paste(fname, "Griffin") } my_function("Peter") my_function("Lois") my_function("Stewie")
[1] "Peter Griffin"
[1] "Lois Griffin"
[1] "Stewie Griffin"