Skip to content

Commit

Permalink
made params.matric_trans a global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
collinschwantes committed Jun 7, 2022
1 parent 86037a6 commit 35427ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model_Scripts/Model 1 - RVFV Optimized Parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ R0params <- c( DaysCumRainA=DaysCumRainA, DaysCumRainC=DaysCumRainC, TempAC=Temp
#Latin hypercube sensitivity analysis multilevel analysis
if(SA == TRUE){
lhs<-maximinLHS(h,49)
params.matrix_trans <- cbind(DaysCumRainA, DaysCumRainC, TempAC, MinRainA, MinRainC, DaysCanHatchA, CulexHatchDelay,
params.matrix_trans <<- cbind(DaysCumRainA, DaysCumRainC, TempAC, MinRainA, MinRainC, DaysCanHatchA, CulexHatchDelay,
sigma_sl = lhs[, 10] * (sigma_sl.max - sigma_sl.min) + sigma_sl.min,
g, muS, soldS,
rhoS = lhs[, 14] * (rhoS.max - rhoS.min) + rhoS.min,
Expand Down

0 comments on commit 35427ad

Please sign in to comment.