search for: plot_shad_map

Displaying 2 results from an estimated 2 matches for "plot_shad_map".

2010 Nov 22
1
plot inside function does not work
...s fine. I have created a function that plots based on the input. This function is called plot_shad. When I call this function alone in the command line I get my plot. Then I tried to use another function as depicted_below to do some calculation before calling the function that does the plotting. plot_shad_map<-function(f,CRagent,agentid){   for (i in c(1:nrow(shad_map))){     for (j in c(1:ncol(shad_map))){      # Do something     }   }   plot_shad_f(shad_map) # This plots fine when used in command line. But inside this #function does not   return(shad_map) } Unfortunately I get no plot . What might...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...s fine. I have created a function that plots based on the input. This function is called plot_shad. When I call this function alone in the command line I get my plot. Then I tried to use another function as depicted_below to do some calculation before calling the function that does the plotting. plot_shad_map<-function(f,CRagent,agentid){ for (i in c(1:nrow(shad_map))){ for (j in c(1:ncol(shad_map))){ # Do something } } plot_shad_f(shad_map) # This plots fine when used in command line. But inside this #function does not return(shad_map) } Unfortunately I get no plot . What might...