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

Description Usage Arguments Details Value References See Also Examples

View source: R/print.transectHolder.R

Description

This function prints the details of a transectHolder object.

Usage

1
2
3
## S3 method for class transectHolder 
## S3 method for class 'transectHolder'
print(x, ...)

Arguments

x

An object representing a transect of seed traps.

...

further arguments passed to or from other methods.

Details

The print function simply uses str on the transectHolder object.

Value

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

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

transectHolder

Examples

1
2
3
4
5
6
7
8
9
transect.1 <- trapTransect(distances = 1:4,
                        seed.counts = c(4, 3, 2, 0))
transect.2 <- trapTransect(distances = 1:3,
                        seed.counts = c(3, 2, 1))
transect.3 <- trapTransect(distances=(1:5)/2,
                        seed.counts = c(3, 4, 2, 3, 1))
allTraps <- transectHolder(transect.1, transect.2, transect.3,
                           family="Weibull")
allTraps

spuRs documentation built on May 2, 2019, 12:44 p.m.