size- This is the total number of tests from which it is expected to size*probbe successful.
rbinom(400, size = 10, prob = 0.2)
gives the results of 400 runs of 10 coin tosses, returning the number of successes in each run.
, rbinom(1, 10, 0.2) , sum(rbinom(10, 1, 0.2)).