sfit: Create a scale_fit object from a dataframe or matrix object

Description Usage Arguments Value

Description

Extends the native nls object to specialize it for fitting scaling models Allows multiple models to be stored in one workspace.

Usage

1
2
  sfit(formula, x, stype = NA, data.cols, start,
    eff.check = TRUE, ...)

Arguments

formula

a formula for to fit

x

a data.frame or matrix object containing data for model. A data.frame should the data in columns named N,for "scaled objects" (e.g. users, cpus), and X_N, for measured throughput. The default for a matrix object is to put scaled objects in the matrix's column 1 (i.e. x[,1]) and throughput in column 2 x[,2]

data.cols

a vector indicating which columns in x has scaled object number and throughput data. data.cols[[1]] is scaled objects, and data.col[[2]] is measured throughput. It can be a numeric vector containing column numbers or a character vector containing the column names.

start

vector with initial guess for parameters

stype

character string to set the sfit_type attribute to.

eff.check

toggle check for over-acheivers

...

additional arguments to pass to function

Value

sfit object


SATK documentation built on May 2, 2019, 4:49 p.m.

Related to sfit in SATK...