sflist: sflist: sflist_list constructor

Description Usage Arguments Details Value Examples

Description

sflist_list constructors

Extends the R list object to specializeit to groups of sfit objects that have all be fitted from the same data source

Usage

1
2
3
4
5
6
7
8
  sflist(x, ...)

  ## S3 method for class 'data.frame'
 sflist(x, fits = .fits(), ...,
    starts, algorithms, fits.params, fit.names = NULL)

  ## S3 method for class 'sfit'
 sflist(..., fit.names = NULL)

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]

fits

a list that specifics which sfit objects to include in the list

...

additional arguments to pass to each of the sfit objects

starts

a named list of start parameter for the nls in the sfit object

algorithms

a named list of alogirthms to use in the nls in the sfit object

fits.params

a named list of named lists of fit parameters

fit.names

names to give the fit list

Details

Details of sflist

Value

sflist object

Examples

1
2
3
4
5
data(USLcalc)
sl1<-sflist(USLcalc)

data(SSUSLcalc)
sl2<-sflist(SSUSLcalc,data.cols=c("V1","V2"),starts=c(usl=c(alpha=.1,beta=.001)))

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

Related to sflist in SATK...