Learn R Programming

kmc (version 0.2-2)

print.kmcS3: S3 print method for kmcS3

Description

Print and summarize the kmcS3 output.

Usage

"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

See Also

kmc.solve

Examples

Run this code

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')

Run the code above in your browser using DataLab