ddi_targetSampleSize | R Documentation |
Provides both the target size of the sample (this is the number in the original sample, not the number of respondents) as well as the formula used for determining the sample size. More information on these elements, especially their allowed attributes, can be found in the references.
ddi_targetSampleSize(...) ddi_sampleSize(...) ddi_sampleSizeFormula(...)
... |
Child nodes or attributes. |
Parent nodes
targetSampleSize
is contained in dataColl
.
targetSampleSize specific child nodes
ddi_sampleSize()
provides the targeted sample size in integer format.
ddi_sampleSizeFormula()
includes the formula that was used to determine
the sample size.
A ddi_node object.
targetSampleSize documentation
sampleSizeFormula documentation
ddi_targetSampleSize() # Functions that need to be wrapped in ddi_targetSampleSize() ddi_sampleSize(385) ddi_sampleSizeFormula("n0=Z2pq/e2=(1.96)2(.5)(.5)/(.05)2=385 individuals")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.