Learn R Programming

spuRs (version 2.0.2)

print.trapTransect: Function to print a trapTransect object usefullly.

Description

This function prints the details of a trapTransect object.

Usage

## S3 method for class trapTransect 
# S3 method for trapTransect
print(x, …)

Arguments

x

An object representing a transect of seed traps.

further arguments passed to or from other methods.

Value

This function is called for its side-effect, which is to print the object informatively.

Details

The print function simply uses str on the trapTransect object.

References

Jones, O.D., R. Maillardet, and A.P. Robinson. 2009. An Introduction to Scientific Programming and Simulation, Using R. Chapman And Hall/CRC.

See Also

trapTransect

Examples

Run this code
# NOT RUN {
s1 <- trapTransect(distances = 1:4, seed.count = c(4, 3, 2, 0))
s1

# }

Run the code above in your browser using DataLab