score: Get a score for a given fit

Description Usage Arguments Details Value See Also Examples

Description

Get a score for a given fit

Usage

1
2
3
4
5
score.visual(obj)

score.dev(obj, level = 0.05)

score.N(obj, level = 0.05)

Arguments

obj

a pepfit object

level

significance level to use to get associated sample size

Details

The score is a value that in some way measures how well the model fits the actual data.

score.N returns simply the sample size associated with the given significance level

score.dev converts this sample size to a value between 0 and 100. 1000 corresponds to roughly 80, 5000 to roughly 90, 20000 to roughly 95.

score.visual is the ratio of the total difference between the fitted and observed values to the total observed values.

Value

overall

Overall Score

byday

Score for each day separately

See Also

pepfit

Examples

1
2
3
4
5
6
data(isodata)
a0 <- pepfit(data=isodata, Elements = list(N = 12,
     C = 45, H = 73, O = 15))
score.N(a0)
score.dev(a0)
score.visual(a0)

HegemanLab/ProteinTurnover documentation built on May 6, 2019, 11:50 p.m.