% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parameters.R
\name{generate_random_init}
\alias{generate_random_init}
\title{Generate Random Initial Values}
\usage{
generate_random_init(pl_full, par_list, range = 2)
}
\arguments{
\item{pl_full}{A list containing the full parameter structure, including the `init` field which serves as a template.}

\item{par_list}{A list defining the structure and constraints of the parameters, including `unc_length`.}

\item{range}{Numeric; the range for the uniform distribution `[-range, range]` used for generating unconstrained values. Default is 2.}
}
\value{
A numeric vector of initial values where `NA` elements are replaced with randomly generated constrained values.
}
\description{
Generates random initial values for model parameters by drawing from a uniform distribution
on the unconstrained scale and then transforming them to the constrained scale.
}
