organize_args {matsbyname}R Documentation

Organize binary arguments

Description

Organizes arguments of binary (2 arguments) ⁠_byname⁠ functions. Actions performed are:

Usage

organize_args(a, b, match_type = "all", fill)

Arguments

a

the first argument to be organized

b

the second argument to be organized

match_type

one of "all", "matmult", "none". When both a and b are matrices, "all" (the default) indicates that rowtypes of a must match rowtypes of b and coltypes of a must match coltypes of b. If "matmult", coltypes of a must match rowtypes of b.

fill

a replacement value for a or b if either is missing or NULL.

Value

a list with two elements (named a and b) containing organized versions of the arguments


[Package matsbyname version 0.6.10 Index]