library(ReturnCurves)
data(airdata)
n <- dim(airdata)[1]
margdata <- margtransf(airdata)
# Plots the marginal distributions of X and Y on original vs standard exponential margins
plot(margdata, which = "hist")
# Plots the time series of X and Y on original vs standard exponential margins
plot(margdata, which = "ts")
# Plots the joint distribution of X and Y on original vs standard exponential margins
plot(margdata, which = "joint")
# Plots all the available plots
plot(margdata, which = "all")
# To see the the S4 object's slots
str(margdata)
# To access the matrix with the data on standard exponential margins
margdata@dataexp
Run the code above in your browser using DataLab