get_interaction_patterns {lgspline} | R Documentation |
Generate Interaction Variable Patterns
Description
Generates all possible interaction patterns for 2 or 3 variables. This is used in part for identifying which interactions and expansions to exclude (provided to "exclude_these_expansions" argument of lgspline) based on formulas provided.
Usage
get_interaction_patterns(vars)
Arguments
vars |
Character vector of variable names |
Value
Character vector of interaction pattern strings
[Package lgspline version 0.2.0 Index]