get_resp_mat: Identify the data matrix containing a given response variable

View source: R/helpfunctions_info_list.R

get_resp_matR Documentation

Identify the data matrix containing a given response variable

Description

Identify the data matrix containing a given response variable

Usage

get_resp_mat(resp, Mlvls, outnames)

Arguments

resp

character string; name of the response variable

Mlvls

named vector where the names are all column names of all data matrices, and the values are the names of the corresponding data matrices

outnames

character vector; names of the columns in the data matrices that contain the response variable (or multiple columns in case of a survival outcome)

Value

character string; the name(s) of the data matrix/matrices of the response variable(s)


JointAI documentation built on April 27, 2023, 5:15 p.m.