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

func_1(x = 1, y = 2)

Arguments

x

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

y

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

Value

a numeric vector as addition result of inputs x and y. Its dimension is determined according to basting rules.

Examples

func_1(x = 1, y = 2)
#> [1] 3