Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
my_function <- function(country = "Norway") { paste("I am from", country) } my_function("Sweden") my_function("India") my_function() # will get the default value, which is Norway my_function("USA")
[1] "I am from Sweden"
[1] "I am from India"
[1] "I am from Norway"
[1] "I am from USA"