Learn R Programming

modello (version 0.1.1)

.k: Create constnat scalar number

Description

Create a constant scalar number

Usage

.k(x)

Arguments

x

value of the constant

Value

Returns a reference object of class 'number'

Examples

Run this code
# NOT RUN {
modello.init(10, 10, 10, 10)
x = .k(1)
print(x)
print(x$v)
modello.close()
# }

Run the code above in your browser using DataLab