Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation_initialization.R
\name{init_variable}
\alias{init_variable}
\title{Initialize variable}
\usage{
init_variable(list_var = c(), name = "myVariable", sd = NA, level = NA, mu = 0)
}
\arguments{
\item{list_var}{Either c() or output of init_variable}
\item{name}{Variable name}
\item{sd}{Either numeric value or NA. Use to specify range of effect sizes.}
\item{level}{Numeric value to specify the number of levels to simulate}
\item{mu}{Either a numeric value or a numeric vector (of length = level). Default : 0. Not recommended to modify.}
}
\value{
A list with initialized variables
}
\description{
Initialize variable
}
\examples{