Learn R Programming

lphom (version 0.3.5-6)

print.lphom: Print a summary of a lphom-family object

Description

Print method for objects obtained with an algorithm of the lphom-family (lphom, tslphom, nslphom, tslphom_dual, nslphom_joint, ....).

Usage

# S3 method for lphom
print(x, ..., margins = TRUE, digits = 2)

Arguments

x

An object output of a lphom family algorithm.

...

Other arguments passed on to methods. Not currently used.

margins

A TRUE/FALSE argument informing if the margins of the matrix should be displayed. Default TRUE.

digits

Integer indicating the number of decimal places to be shown. Default, 2.

Author

Jose M. Pavia, pavia@uv.es

Examples

Run this code
mt.ns <- nslphom(France2017P[, 1:8] , France2017P[, 9:12], new_and_exit_voters= "raw")
print(mt.ns, digits = 2, margins = TRUE)

Run the code above in your browser using DataLab