Description Usage Arguments Value Examples
Generates resampled NASC distribution.
1 2 | getResampledNASCDistr(projectName, psuNASC, stratumNASC, parameters,
sorted = TRUE)
|
projectName |
The name or full path of the project, a baseline object (as returned from |
psuNASC |
MeanNASC table from baseline. |
stratumNASC |
Strata NASC estimates from getNASCDistr(baseline). |
parameters |
Parameters set by user in Stox; parameters$nboot: Number of bootstrap replicates parameters$seed: The seed for the random number generator (used for reproducibility) |
sorted |
Should the data be sorted prior to sampling? |
Matrix of resampled strata NASC means
1 2 3 4 5 | projectName <- "Test_Rstox"
psuNASC <- getPSUNASC(projectName)
stratumNASC <- getNASCDistr(projectName, psuNASC=psuNASC, NASCDistr="normal")
resampledNASC <- getResampledNASCDistr(projectName, psuNASC=psuNASC, stratumNASC=stratumNASC,
parameters=list(seed=1, nboot=5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.