Skip to content

Commit

Permalink
Update 11_school_sampling.R
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmalla authored Nov 11, 2024
1 parent 23721d4 commit b1c2fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/11_school_sampling.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ sampling_function = function(datum = frame_schools,no_qnaires = 2906, no_schools
total_enrolment = sum(datum$enrolment, na.rm = T)
overall_sampling_fraction = (adj_no_qnaires) / sum(datum$enrolment, na.rm = T)
global_sf <<-overall_sampling_fraction

global_datum <<- datum

if(all_schools=='No')
{
##Selection of certainty schools
Expand Down

0 comments on commit b1c2fda

Please sign in to comment.