Skip to content
Snippets Groups Projects
isValidExpression.Rd 561 B
Newer Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare_data2fit.R
\name{isValidExpression}
\alias{isValidExpression}
\title{Validates a custom expression.}
\usage{
isValidExpression(custom_expression)
}
\arguments{
\item{custom_expression}{The custom expression to validate.}
}
\value{
TRUE if the expression is valid, FALSE otherwise.
}
\description{
This function checks whether the provided expression is a valid R expression and can be correctly parsed.
}
\examples{
isValidExpression("x + 1")
isValidExpression("log(x +)")
}