ident_Y_type: Identification of Outcome's type

View source: R/ident_Y_type.R

ident_Y_typeR Documentation

Identification of Outcome's type

Description

This function identifies the outcome's type according to the model if the user does not directly specify it. The type of outcome could be 'ordinal' or any other characters, e.g., 'non-ordinal'.

This is an internal function, automatically called by the function FormalEstmed.

Usage

ident_Y_type (Y, data)

Arguments

Y

a character variable of the outcome's name.

data

a dataframe used in the analysis.

Value

This function returns a character as the outcome's type.


unvs.med documentation built on June 8, 2025, 10:15 a.m.