replace-methods: Add item to smsOptim object

Description Arguments

Description

Adds a new data.frame row to one of the components of an object which class is smsOptim.

Change any of the values of an SMS Item (sets, variables, parameters, constants), for example a symbol or a description

Remove an item from an SMS Item (sets, variables, parameters, constants)

Adds a new row to the sets data.frame

Arguments

object

An smsOptim object

entity

The smsOptim data.frame member to be added in

values

The list of values to be added to the data.frame

object

An smsOptim object

entity

The smsOptim data.frame member to be added in: sets, pars, vars, consts, eqs, or terms

id

The item identifier

idEq

In case the entity is terms, the equation in which the term is

values

The list of values to be updated in the data.frame

object

An smsOptim object

entity

The smsOptim data.frame member to be added in: sets, pars, vars, or consts

values

The identifier of the item that will be deleted

object

An smsInstance object

set

The symbol of the set where add the item

values

A list with the value of the set item


emilopezcano/optimr documentation built on May 16, 2019, 5:08 a.m.