guess_response: Guess the function that is applied to a set of responses

View source: R/formulas.R

guess_responseR Documentation

Guess the function that is applied to a set of responses

Description

guess_response takes a character vector of the dependent variable from a formula object and identifies which function separates the individual variables that make up the response. It then returns the model_* function to model the appropriate response using PCSS.

Usage

guess_response(response = character())

Arguments

response

character. Output of extract_response.

Value

A character. Either "model_combo", "model_product", "model_or", "model_and", or "model_singular".


pcsstools documentation built on Sept. 8, 2023, 5:25 p.m.