weib.line: Single Weibull plus line models.

Description Usage Arguments See Also Examples

Description

weib.line is a weibull function plus a linear adjustment for the first weibull function.

weib.line2 is for the second weibull function.

They differ in some position adjustment.

Usage

1
2
weib.line(x, a = 0.14, b = 0.46, beta = 0.02)
weib.line2(x, a = 0.14, b = 0.46, beta = 0.02)

Arguments

x

The minutes in STBS sessions, from 1-STBS_duration

a

The lambda in a weibull function

b

The gamma in a weibull function

beta

The slop of the linear part. Notice that the intercept of the linear part is 0.

See Also

weibull, double.weibull

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#weib.line is defined as
function (x, a = 0.14, b = 0.46, beta = 0.02) 
{
    exp(-a * (x - 1)^b) + beta * (x - 1)
  }
  
#weib.line2 is defined as
function (x, a = 0.14, b = 0.46, beta = 0.02) 
{
    exp(-a * (x + 1)^b) + beta * (x + 1)
  }

fzwaeustc/pcrfn documentation built on May 16, 2019, 4:06 p.m.