Learn R Programming

cartools (version 0.1.0)

bmfree2: The bmfree2 function returns a tux matrix of time t, speed u (fps) and location x (feet).

Description

The bmfree2 function returns a tux matrix of time t, speed u (fps) and location x (feet).

Usage

bmfree2(umn, usd, tstart, tend, xstart, step, type)

Arguments

umn

mean speed (mph), a number

usd

standard deviation of usd (mph), a number

tstart

simulation start time, a number

tend

simulation end time, a number

xstart

location (feet), a number

step

time-step size, a number

type

logical for plotting where TRUE creates a plot