summary.Uniform: Return a summary of a 'Uniform' 'object'

View source: R/ClassFunctions.R

summary.UniformR Documentation

Return a summary of a Uniform object

Description

Returns the below information about the object:

call of the function defining the object, the type of the pattern (i.e. the description of the uniform distribution), study window, vertices of the support of the Uniform distribution, some sample points generated from the uniform distribution, and the number of points (i.e., number of generated points and the number of vertices of the support of the uniform distribution.)

Usage

## S3 method for class 'Uniform'
summary(object, ...)

Arguments

object

An object of class Uniform.

...

Additional parameters for summary.

Value

The call of the object of class "Uniform", the type of the pattern (i.e. the description of the uniform distribution), study window, vertices of the support of the Uniform distribution, some sample points generated from the uniform distribution, and the number of points (i.e., number of generated points and the number of vertices of the support of the uniform distribution.)

See Also

print.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); R<-c(1.5,2);
Tr<-rbind(A,B,R)

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

## End(Not run)


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