Skip to content
Snippets Groups Projects
check_input2interaction.Rd 749 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation_initialization.R
\name{check_input2interaction}
\alias{check_input2interaction}
\title{Check input for interaction}
\usage{
check_input2interaction(name_interaction, list_var, between_var, mu, sd)
}
\arguments{
\item{name_interaction}{String specifying the name of the interaction (example: "varA:varB")}

\item{list_var}{A list of variables (already initialized)}

\item{between_var}{A vector of variable names to include in the interaction}

\item{mu}{Either a numeric value or a numeric vector (of length = level)}

\item{sd}{Either numeric value or NA}
}
\value{
NULL (throws an error if the input is invalid)
}
\description{
Check input for interaction
}