guess_response {pcsstools}R 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".


[Package pcsstools version 0.1.2 Index]