S3 print method for kmcS3

Share:

Description

Print and summarize the kmcS3 output.

Usage

1
2
## S3 method for class 'kmcS3'
print(x, digits = max(3, getOption("digits") - 3),type ="plain",...)

Arguments

x

S3 Object of kmcS3.

digits

digits used in output. default=max(3, getOption("digits") - 3)

type

Output file type:"plain" is plain ascii, "md" is github types of Markdown.

...

Not implement yet.

Details

S3 print method for kmc class

Author(s)

Yifan Yang(yifan.yang@uky.edu)

See Also

kmc.solve

Examples

1
2
3
4
5
6
7
8
9
x <- c( 1, 1.5, 2, 3, 4.2, 5.0, 6.1, 5.3, 4.5, 0.9, 2.1, 4.3)
d <- c( 1,   1, 0, 1, 0, 1, 1, 1, 1, 0, 0,   1)

f<-function( x) { x-3.7}
g=list( f=f) ;

re=kmc.solve( x,d,g) ;
re;
print(re,3,type='md')