Learn R Programming

elasticIsing (version 0.2)

costPlots: 3D plots of cost functions

Description

This function creates a PDF file with the 3D plots of cost functions given alpha and lambda. By default, accuracy is shown, which is defined as -cost.

Usage

costPlots(object, filename = "elasticIsing.pdf", width = 8, height = 5, theta = 25, phi = 30, ticktype = "simple", accuracy = TRUE)

Arguments

object
An elasticIsing object, resulting from elasticIsing
filename
Name of the PDF file to create
width
Width of the PDF file to creare
height
Height of the PDF file to create
theta
See persp
phi
See persp
ticktype
See persp
accuracy
See persp