modify_event: Modify the time of existing events

View source: R/input_f.R

modify_eventR Documentation

Modify the time of existing events

Description

Modify the time of existing events

Usage

modify_event(evt, env_ch = NULL)

Arguments

evt

A list of events and their times

env_ch

Environment in which to save list (should not be defined by user)

Details

The functions to add/modify events/inputs use lists. Whenever several inputs/events are added or modified, it's recommended to group them within one function, as it reduces the computation cost. So rather than use two modify_event with a list of one element, it's better to group them into a single modify_event with a list of two elements.

Examples

## Not run: 
modify_event(list("os"=40, "ttot"=curtime+0.0001))

## End(Not run)

Roche/descem documentation built on July 27, 2022, 11:18 a.m.