Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation.R
\name{replaceReferenceEffectBy0}
\alias{replaceReferenceEffectBy0}
\title{Replace the reference effect by 0 in the data}
\usage{
replaceReferenceEffectBy0(list_var, l_labels_ref, data)
}
\arguments{
\item{list_var}{The list of variables containing the effects to modify.}
\item{l_labels_ref}{A list containing the reference level for each categorical variable.}
\item{data}{The data frame containing the effects to modify.}
}
\value{
The modified data frame with reference effects replaced by 0.
}
\description{
This function replaces the effect corresponding to the reference level with 0 in the data.
}