Learn R Programming

hadron (version 3.1.2)

plot.outputdata: Plot Command For Class Ouputdata

Description

Generic plot routine for class “ouputdata”. Currently it plots the plaquette history and the history of \(\Delta H\)

Usage

# S3 method for outputdata
plot(x, skip = 0, ...)

Arguments

x

object of class “outputdata” obtained from a read with readoutputdata

skip

number of trajectories to be skipped in analysis for plaquette and \(\exp(-\Delta H)\).

...

additional arguments passed to the generic plot function.

Value

list containing the “data”, an object of class “uwerr” called “plaq.res” containing the statisical analysis for the plaquette and a second object of type “uwerr” called “dH.res” with the statisical analysis for \(\exp(-\Delta \)\( H)\).

The plotted data is return in form of a list with named elements data containing the input data, plaq.res an object returned by uwerrprimary for the plaquette data dn dH.res an object returned by uwerrprimary for \(\Delta H\).

See Also

readoutputdata, uwerr

Examples

Run this code
# NOT RUN {
plaq <- readoutputdata(paste0(system.file(package="hadron"), "/extdata/output.data"))
plaq.plot <- plot(plaq, skip=100)
summary(plaq.plot$plaq.res)

# }

Run the code above in your browser using DataLab