sd_pulse_s {readsdr}R Documentation

Replicate the behaviour of the PULSE function from Stella

Description

This function must be placed inside the object that will be passed as the argument func to deSolve's ode function.

Usage

sd_pulse_s(time, volume, start_p, interval)

Arguments

time

A number

volume

A number

start_p

A number

interval

A number

Value

A number

Examples

timestep <- function() 0.25 # replicates timestep() from deSolve
sd_pulse_s(2, 1, 2, 0)


[Package readsdr version 0.3.0 Index]