plot.Uniform | R Documentation |
Uniform
object
Plots the points generated from the uniform distribution together with the support region
## S3 method for class 'Uniform'
plot(x, asp = NA, xlab = "x", ylab = "y", zlab = "z", ...)
x |
Object of class |
asp |
A |
xlab , ylab , zlab |
Titles for the |
... |
Additional parameters for |
None
print.Uniform
,
summary.Uniform
,
and print.summary.Uniform
n<-10 #try also 20, 100, and 1000
A<-c(1,1); B<-c(2,0); C<-c(1.5,2);
Tr<-rbind(A,B,C)
Xdt<-runif.tri(n,Tr)
Xdt
plot(Xdt,asp=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.