Learn R Programming

pcds (version 0.1.2)

print.Patterns: Print a Patterns object

Description

Prints the call of the object of class "Patterns" and also the type (or description) of the pattern).

Usage

# S3 method for Patterns
print(x, ...)

Arguments

x

A Patterns object.

Additional arguments for the S3 method 'print'.

Value

The call of the object of class "Patterns" and also the type (or description) of the pattern).

See Also

summary.Patterns, print.summary.Patterns, and plot.Patterns

Examples

Run this code
# NOT RUN {
nx<-20; #try also 100 and 1000
ny<-3; #try also 1
e<-.15;
Y<-cbind(runif(ny),runif(ny)) #with default bounding box (i.e., unit square)

Xdt<-rseg.disc(nx,Y,e)
Xdt
print(Xdt)

# }

Run the code above in your browser using DataLab