Learn R Programming

modello (version 0.1.1)

graph.close: Close Graph

Description

Closes the last open graph

Usage

graph.close()

Arguments

Value

Returns invisible NULL

Details

Only one open graph at a time is allowed.

Examples

Run this code
# NOT RUN {
modello.init(10, 10, 10, 10)
x1 = number(1)
x2 = number(3)
x3 = number(2)
g = graph.open()
y = log((x1 + x3)**x2)
graph.close()
print(y$v)
x1$v = 2
g$op()
print(y$v)
y$dv = 1
g$bw()
print(x1$dv)
print(x2$dv)
print(x3$dv)
modello.close()
# }

Run the code above in your browser using DataLab