pepfittest: Test a pepfit

Description Usage Arguments Value See Also Examples

View source: R/lackfit.R

Description

Test a pepfit. This is usually not run alone, as it is included in the summary of a pepfit.

Usage

1
2
3
4
pepfittest(object)

## S3 method for class 'pepfittest'
print(x, sig.digits = 5, ...)

Arguments

object

a pepfit object

x

the pepfittest object

sig.digits

desired number of significant digits

...

to match the generic print function

Value

A list of class pepfittest, with elements

deviance.fit

deviance of the fitted model

deviance.null

deviance of the null model

X2

Pearson X^2 of the fitted model

nobs

number of observations in data set

df.fit

degrees of freedom for the fitted model

df.null

degrees of freedom for the null model

sigma2

the quasi-multinomial scaling paramter

R2

the Nagelkerke R^2

data

observed, expected, and deviance values for each observation

See Also

pepfit

Examples

1
2
3
4
data(isodata)
a0 <- pepfit(data=isodata, Elements = list(N = 12,
     C = 45, H = 73, O = 15))
pepfittest(a0)

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