get_argument_sequence {acdcquery}R Documentation

Get argument sequence based on argument relation

Description

This function returns the sequence of arguments based on the specified argument relation. The argument relation determines the logical relationship between the arguments (e.g., "and", "or").

Usage

get_argument_sequence(arguments, argument_relation)

Arguments

arguments

The list of arguments.

argument_relation

The specified argument relation. If "and", the sequence will be 1:length(arguments). If "or", the sequence will be rep(1, length(arguments)). If a vector is provided, it should have the same length as the number of arguments.

Value

A numeric vector representing the sequence of arguments.


[Package acdcquery version 1.0.1 Index]