Learn R Programming

pcds (version 0.1.4)

print.Uniform: Print a Uniform object

Description

Prints the call of the object of class "Uniform" and also the type (i.e. a brief description) of the uniform distribution).

Usage

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

Value

The call of the object of class "Uniform"

and also the type (i.e. a brief description) of the uniform distribution).

Arguments

x

A Uniform object.

...

Additional arguments for the S3 method 'print'.

See Also

summary.Uniform, print.summary.Uniform, and plot.Uniform

Examples

Run this code
n<-10 #try also 100
A<-c(1,1); B<-c(2,0); C<-c(1.5,2);
Tr<-rbind(A,B,C)

Xdt<-runif.tri(n,Tr)
Xdt
print(Xdt)

Run the code above in your browser using DataLab