Learn R Programming

ODEnetwork (version 1.3.2)

getResult: Get Result

Description

Getting result from numerical solving algorithm of given ODEnetwork.

Usage

getResult(odenet)

Arguments

odenet

[ODEnetwork] Object of class ODEnetwork.

Value

a matrix with columns time and states 1 and 2 of class deSolve.

Examples

Run this code
# NOT RUN {
masses <- 1
dampers <- as.matrix(0.1)
springs <- as.matrix(4)
odenet <- ODEnetwork(masses, dampers, springs)
getResult(odenet)
# }

Run the code above in your browser using DataLab