print.Uniform: Print a 'Uniform' 'object'

View source: R/ClassFunctions.R

print.UniformR Documentation

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 class 'Uniform'
print(x, ...)

Arguments

x

A Uniform object.

...

Additional arguments for the S3 method 'print'.

Value

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

See Also

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

Examples

## Not run: 
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
print(Xdt)

typeof(Xdt))
attributes(Xdt)

## End(Not run)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.