Learn R Programming

ibdreg (version 0.3.8)

print.linkage.tests: Print a linkage.tests object

Description

Print a linkage.tests object, made within ibdreg. For each test, print the score test statistic, degree(s) of freedom, and pvalue at the position with the smallest pvalue.

Usage

# S3 method for linkage.tests
print(x, digits=max(options()$digits - 2, 5), 
                    show.model.tests=FALSE, ...)

Value

nothing is returned

Arguments

x

A linkage.tests object

digits

The number of significant digits to print for numeric values

show.model.tests

logical, if TRUE, show tests with model-based covariance, in addition to the other tests

...

Additional print parameters

See Also

ibdreg, linkage.tests, plot.linkage.tests

Examples

Run this code
# reg.out <- ibdreg(formula=~1, ped.id=ped.id, person.id=person.id, 
#                   status=status, status.method="AA", data=data,
#                   ibd.dat=ibd.dat.obj, ibd.var=ibd.var.obj) 

# print.linkage.tests(reg.out$AA.linkage, digits=4)

Run the code above in your browser using DataLab