print.gv: Prints details of a 'gv' object

Description Usage Arguments Details Author(s) See Also Examples

View source: R/print.gv.R

Description

The function is used when a 'gv' object is called.

Usage

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

Arguments

x

'gv' object as given by 'gen.variogram'.

...

Further plotting arguments to be passed.

Details

This prints the details of a 'gv' object including number of observations and other variogram creation parameters used. It will also display model details if a model was fitted to the empirical variogram.

Author(s)

Pedro Tarroso <ptarroso@cibio.up.pt>

See Also

gen.variogram

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
data(vipers)
data(d.gen)

# create a distance matrix between samples
r.dist <- dist(vipers[,1:2])

# fit a variogram with defaults (shperical model) and estimation of range
gv <- gen.variogram(r.dist, d.gen, 0.25)

# print variogram details
gv

# add a model to variogram
gv <- gv.model(gv)

# print variogram with model details
gv

phylin documentation built on Dec. 12, 2019, 5:07 p.m.