phase_line: Draw a one-dimensional phase space with arrows.

View source: R/phase-line.R

phase_lineR Documentation

Draw a one-dimensional phase space with arrows.

Description

Draw a one-dimensional phase space with arrows.

Usage

phase_line(tilde, domain, narrows = 15, nix_dyn = FALSE, transform = I)

Arguments

tilde

A tilde expression giving the dynamical function

domain

The domain to show of the graphics, as in slice_plot().

narrows

How many arrows to place on the phase line

nix_dyn

If TRUE, don't show the dynamical function.

transform

A function to use to make the short arrows long enough to stand out. Try transform=sqrt.

Examples

phase_line(4*x*(1-x) ~ x, domain(x=0:1), narrows=10)


dtkaplan/Znotes documentation built on Sept. 4, 2022, 10:21 a.m.