Learn R Programming

EmpiricalDynamics (version 0.1.2)

format_equation: Format Equation for Display

Description

Creates a nicely formatted string representation of the equation.

Usage

format_equation(
  equation,
  format = c("text", "latex", "markdown"),
  precision = 4
)

Value

Formatted string.

Arguments

equation

Fitted equation object.

format

Output format: "text", "latex", "markdown".

precision

Number of decimal places.