VFS (version 1.0.2)

print.VFS: Printing the result of VFS

Description

Print method for VFS objects.

Usage

# S3 method for VFS
print(x, ...)

Arguments

x

A VFS x produced by VFS().

Other arguments to print.

Value

It returns the VFS object invisibly.

Details

If the VFS object has a modeled filter strip, the mean annual loads in and out, as well as removal efficiencies are printed. Otherwise only the erosion values from the field are printed.

See Also

VFS, summary.VFS

Examples

Run this code
# NOT RUN {
# state college GHCN data
#
# weather <- read.dly(system.file("extdata", "USC00368449.dly", package = "VFS"))
data("weather") # same object

weather.param <- wth.param(weather, method="markov")

rain.compare <- rainfall(365*2, weather.param)
temp.compare <- temperature(365*2, weather.param)

data(soildat)
data(bufferdat)

# bluegrass buffer, clay loam soil
# short simulation to cut down on time required
vfs.CL <- VFS(nyears = 2, thissoil = subset(soildat, Soil == "CL"), 
rain=rain.compare, temperature=temp.compare, 
thisbuffer = subset(bufferdat, Species == "bluegrass"), Duration = 2, 
FieldArea = 4000, VFSwidth = 10.7, VFSslope = 0.02, 
z = 1000, b = 1.5)

print(vfs.CL)
summary(vfs.CL)

# }

Run the code above in your browser using DataCamp Workspace