% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.create_replace_call}
\alias{.create_replace_call}
\title{Create a string of the form \code{x[idx[[1]], idx[[2]]] <- y} for an array \code{x}
where the number of dimensions is variable.}
\usage{
.create_replace_call(x_name, idx_name, idx_length, y_name)
}
\arguments{
\item{x_name}{Name of the object to have items replaced}

\item{idx_name}{Name of the list containing the indices}

\item{idx_length}{Length of the list specified in \code{idx_name}}

\item{y_name}{Name of the object containing the replacement items}
}
\value{
A character vector of length one containing the replacement
commands. This is expected to be passed to \code{parse() |> eval()}.
}
\description{
Create a string of the form \code{x[idx[[1]], idx[[2]]] <- y} for an array \code{x}
where the number of dimensions is variable.
}
\keyword{Internal}
