search for: b_grid

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

Did you mean: _grid
2018 Feb 15
2
package MonteCarlo error: object 'packages' not found
...er Loading required package: snow Loading required package: snowfall > infest_kud_fun<-function(x,A,B){ +?? equation1=exp(A-(B*x)) +?? return(list("equation1"=equation1)) + } > x_grid<-c(0.5,10) #distances kudzu could grow > A_grid<-rnorm(1000) #probabilities > B_grid<- rnorm(1000) #probabilities > #put parameters in a list > param_list_kud=list("x"=x_grid, "A"=A_grid, "B"=B_grid) > #run MC simulation > MC_result_kud<-MonteCarlo(func=infest_kud_fun,nrep=10000,param_list=param_list_kud) Error in MonteCarlo(f...
2018 Feb 15
0
package MonteCarlo error: object 'packages' not found
...equired package: snowfall > > > infest_kud_fun<-function(x,A,B){ > + equation1=exp(A-(B*x)) > + return(list("equation1"=equation1)) > + } > > > > x_grid<-c(0.5,10) #distances kudzu could grow > > A_grid<-rnorm(1000) #probabilities > > B_grid<- rnorm(1000) #probabilities > > > > #put parameters in a list > > param_list_kud=list("x"=x_grid, "A"=A_grid, "B"=B_grid) > > > #run MC simulation > > MC_result_kud<-MonteCarlo(func=infest_kud_fun,nrep=10000, > param_list=para...