Named Arguments (R)

Named arguments let you pass values to a function by name (arg = value) instead of by position. R matches named arguments first, then fills the rest by…