Re: [R] sys.frame() and variables from parent frame

2013-02-27 Thread Miguel
Dear David, thanks for your reply. Sorry for the ambiguous example. I guess the get() will do it, but I still have a question regarding the parent frame. If I declare both function g and f in the global environment: g <- function() { get(N,envir = ???) write(N) } f<-function() { N<-99 g() } Wha

[R] solving pde with given boundary condition (heat equation)

2014-06-30 Thread Miguel
Dear R-helpers, I have 3 thermometers measuring soil temperature at 3 levels every 10 minutes. I want to determine the soil diffusivity, by solving the heat equation. The heat equation is a partial differential equation. In my case, the initial values are know and the boundary conditions are given