Create a amdalh object from a dataframe or matrix object

Share:

Description

Extends the native nls object to specialize it calculating Gunther's nls models for Universal Scaling Law. Allows multiple models to be stored in one workspace.

Usage

1
  amdahl(x, start = c(alpha = 0.1), ...)

Arguments

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]

start

a named list with start values for nls

...

additional arguments to pass to function

Value

sfit object

Examples

1
2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.