View source: R/summary.ntestRes.R
summary.ntestRes | R Documentation |
The function summarizes the results of normality check for residuals.
## S3 method for class 'ntestRes'
summary(object, ...)
object |
object of the class ntestRes (output of the |
... |
additional arguments passed to the function (they do not affect the summary produced) |
For more details about normality check and output values shortly described below, please refer to the documentation for ntest.res
.
An object of class "summary.ntestRes". The object is a list with the components:
test.res |
a data frame containing the chi-squared statistics and p-values for normality tests |
mu |
mean of the expected normal distribution for residuals |
stdev |
standard deviation of the expected normal distribution for residuals |
bins |
number of categories in chi-squared normality test |
df |
number of degrees of freedom in chi-squared normality test |
Jelena Kovacic jkovacic@imi.hr
Kovacic J, Varnai VM. Intraclass correlation coefficient for grouped data. Epidemiology 2014;25(5):769–770.
ntest.res
# Example with 6 predefined classes (grouped data)
classes <- 1:6
class.limits <- cbind(classes-0.5,classes+0.5)
r1 <- sample(classes,30,replace=TRUE)
r2 <- sample(classes,30,replace=TRUE)
nr <- ntest.res(r1,r2,predefined.classes=TRUE,classes,class.limits,bins=10)
summary(nr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.