NoRglPlot: Visualize results of simulation of legal exemption system

View source: R/SimEUCartelLaw.r

NoRglPlotR Documentation

Visualize results of simulation of legal exemption system

Description

NoRglPlot visualizes the results of the simulation of the legal exemption system using 3D-projections and corresponding 3D-plots.

Usage

NoRglPlot(res, xvar = "rA", yvar = "rM", zvar = "c", xf = 1, yf = 1,
  zf = 1, pch = 16, phi = 20, theta = -30, d = 2)

Arguments

res

dataframe containing results of simulation using LEgame.

xvar

character scalar containing variable for the x-axis. Defaults to "rA", the simulated illegal gain.

yvar

character scalar containing variable for the y-axis. Defaults to "rM", the simulated fine.

zvar

character scalar containing variable for the z-axis. Defaults to "c", the complicance level.

xf

numeric scalar containing scaling constant for the x-axis. Defaults to 1.

yf

numeric scalar containing scaling constant for the y-axis. Defaults to 1.

zf

numeric scalar containing scaling constant for the z-axis. Defaults to 1.

pch

numeric or character scalar containing the plot character used for the individual points. Defaults to 16.

phi

numeric scalar containing the phi angle (colatitude) for the perspective in degrees. Defaults to 20.

theta

numeric scalar containing the theta angle (azimuthal direction) for the perspective in degrees. Defaults to -30.

d

numeric scalar for the strenth of the perspective effect. Defaults to 2.

Details

NoRglPlot visualizes the results of the simulation of the legal exemption system using 3D-projections and corresponding plots without using rgl/GL.

Value

Nothing useful, function called for its side effects.

Examples


Par <- list(Phi=c(0.1,0.5), Rho=c(0.5,0.9), Ksi=c(0.05,0.3), Chi=c(0.1,0.4),
            M=c(0.2,1.2), G=c(0.05,0.2), A=c(0.1,0.3))
NoRglPlot(LEgame(params=Par, m=10000))


SimEUCartelLaw documentation built on June 13, 2022, 9:05 a.m.