Description Usage Arguments Details Value Author(s) Examples
Concisely describes a kott.design object.
1 |
deskott |
Object of class |
descfun |
Optional description function to be used; must accept a |
... |
Additional parameters to be passed to |
This function prints a concise description (i) of the sampling design for the original survey data and (ii) of the replication process these data have undergone.
The optional argument descfun allows to specify an R function (like head, str, summary, ...) to be used to analyse, describe, or summarise the data frame contained in deskott.
The return value depends on the descfun parameter. If not specified (the default option), desc does not return any value.
Diego Zardetto
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | data(data.examples)
# Creation of a kott.design object:
kdes<-kottdesign(data=example,ids=~towcod+famcod,strata=~SUPERSTRATUM,
weights=~weight,nrg=15)
# Concise description:
desc(kdes)
# Display first rows of kdes data:
desc(kdes,head)
# Ask essential information on kdes internal structure:
desc(kdes,str)
# Creation of a kott.cal.design object:
kdescal04p<-kottcalibrate(deskott=kdes,df.population=pop04p,
calmodel=~x1+x2+x3-1,partition=~regcod,calfun="logit",
bounds=bounds,aggregate.stage=2)
# Concise description:
desc(kdescal04p)
# Display first rows of kdescal04p data:
desc(kdescal04p,head)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.