Learn R Programming

EmpiricalDynamics (version 0.1.2)

estimate_initial_values: Automatic Initial Value Estimation

Description

Estimates reasonable starting values for nonlinear least squares.

Usage

estimate_initial_values(
  expression,
  data,
  response = NULL,
  derivative_col = NULL,
  method = c("grid_search", "random", "heuristic"),
  n_tries = 100
)

Value

Named list of initial values.

Arguments

expression

Character string with the equation expression.

data

Data frame with variables.

response

Name of the response variable.

derivative_col

Alias for response (for compatibility).

method

Estimation method: "grid_search", "random", or "heuristic".

n_tries

Number of attempts for random method.