A dummy function for demo of wrapper function with ... arguments. This function multiplies two numeric values / vectors.

func_2(a = 1, b = 2)

Arguments

a

(numeric) a single numeric value or vector, needs to be compatible with the other argument b for multiplication

b

(numeric) a single numeric value or vector, needs to be compatible with the other argument a for multiplication

Value

a numeric vector as multiplication result of inputs a and b. Its dimension is determined according to basting rules.

Examples

func_2(a = 1, b = 2)
#> [1] 2