search for: rvf_single

Displaying 1 result from an estimated 1 matches for "rvf_single".

2011 Jun 15
2
Trouble with compound functions---differential equations
Hi all, My apologies if this message is incredibly inept but I am very new to both computer programming and to R. I am working with the odesolve add-on and have the following function defined RVF_Single <- function(t, x, p) within the script I also have the following functions defined: T1<-function(t) {T1<-27.5-12.5*cos(2*pi*t/365)} and B1<-function(T1,t) {B1<-dnorm(T1(t),mean=22.5,sd=3.3)} When the script is run it doesn't return an error message but the graphs returned ar...