mFitPoly: Interactive applet for term selection and setting nonlinear...

Description Usage Arguments Details Value Author(s) Examples

Description

Displays data and a menu of modeling functions. Finds a linear combination of the selected modeling functions, with the user setting nonlinear parameters manually. A wrapper for mFit, see mFit for more details.

Usage

1
mFitPoly(expr, data, ...)

Arguments

expr

A formula object giving the dependent and independent variables to use.

data

A data frame containing the values for the variables identified in expr.

...

Additional arguments to be passed to mFit

Details

A premade wrapper for mFit such that only the constant, x, x^2, x^3, log(x), and e^(kx) terms are displayed. See mFit for more details.

Value

A function that implements the current state of the parameters and terms selected.

Author(s)

Andrew Rich (andrew.joseph.rich@gmail.com) and Daniel Kaplan (kaplan@macalester.edu)

Examples

1
2
3
4
	if(require(manipulate)){
		Stan=fetchData("stan-data.csv")
		mFitPoly(temp~time, Stan)
	}

mosaicManip documentation built on May 2, 2019, 5:48 p.m.