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".


jackmwolf/pcsstools documentation built on July 7, 2024, 7:46 p.m.