search for: rho_x_t

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

2006 Sep 22
4
Creating Movies with R
...(list(t=newtime),mypar)) #rho_x<-function(x,expect_position,sigma_pos) #NB: at t=0, the density blows up, since I have a delta as the initial state! # At any t>0, instead, the result is finite. #for this reason I now redefine time by getting rid of the istant t=0 to work out # the density rho_x_t<-matrix(ncol=nx,nrow=tsteps-1) for (i in 2:tsteps) {mypar<-c(exp_x[i],sig_xx[i]) myrho_x<-do.call("rho_x",c(list(x=newx),mypar)) rho_x_t[ i-1, ]<-myrho_x } ### Now I also define a scaled density rho_x_t_scaled<-matrix(ncol=nx,nrow=tsteps-1) for (i in 2:tsteps) {mypar<-...