plot.Patterns | R Documentation |
Patterns
object
Plots the points generated from the pattern (color coded for each class) together with the study window
## S3 method for class 'Patterns'
plot(x, asp = NA, xlab = "x", ylab = "y", ...)
x |
Object of class |
asp |
A |
xlab , ylab |
Titles for the |
... |
Additional parameters for |
None
print.Patterns
,
summary.Patterns
,
and print.summary.Patterns
nx<-10; #try also 100 and 1000
ny<-5; #try also 1
e<-.15;
Y<-cbind(runif(ny),runif(ny))
#with default bounding box (i.e., unit square)
Xdt<-rseg.circular(nx,Y,e)
Xdt
plot(Xdt,asp=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.