Last data update: 2014.03.03

R: Printing output for lpc and lpc.spline objects
print.lpcR Documentation

Printing output for lpc and lpc.spline objects

Description

Takes an object of class lpc or lpc.spline and displays some standard output.

Usage

## S3 method for class 'lpc'
print( x, digits = max(3, getOption("digits") - 3), ...) 
## S3 method for class 'lpc.spline'
print( x, digits = max(3, getOption("digits") - 3), ...) 

Arguments

x

an object of class lpc or lpc.spline.

digits

not yet in use.

...

further arguments.

Value

Some short text.

Author(s)

JE

See Also

lpc

Examples

data(calspeedflow)
lpc1 <- lpc(calspeedflow[,3:4])
print(lpc1)
lpc2 <- lpc.spline(lpc1)
print(lpc2)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(LPCM)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LPCM/print.lpc.Rd_%03d_medium.png", width=480, height=480)
> ### Name: print.lpc
> ### Title: Printing output for lpc and lpc.spline objects
> ### Aliases: print.lpc print.lpc.spline
> ### Keywords: multivariate
> 
> ### ** Examples
> 
> data(calspeedflow)
> lpc1 <- lpc(calspeedflow[,3:4])
> print(lpc1)

Type plot( lpc1 ) to see a graphical display of the fitted object. 

Type names( lpc1 ) to see an overview of items available. 

The data have been scaled by dividing through 
147 56.1
> lpc2 <- lpc.spline(lpc1)
> print(lpc2)

Type plot( lpc2 ) to see a graphical display of the fitted object. 

Type names( lpc2 ) to see an overview of items available. 

A cubic spline with  100  knots and total arc length  1.7051  has been laid through the  local centers of mass representing the local principal curve. 
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>