View source: R/complete_randomization_and_blocking.R
| gen_var_cov_matrix_block_designs | R Documentation |
The varcov matrix for block designs consists of a block- diagonal matrix with B blocks (the number of blocks in the design) with off-diagonal entries = -1 / (n/B - 1) where n is the number of subjected in the study.
gen_var_cov_matrix_block_designs(n, prop_T, B, use_cache = TRUE)
n |
number of observations |
prop_T |
the proportion of treatments allocated |
B |
the number of blocks |
use_cache |
Cache results for repeated calls with identical inputs. Default is |
varcov matrix for the specific block design
Adam Kapelner
## Not run:
gen_var_cov_matrix_block_designs(n = 12, prop_T = 0.5, B = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.