Learn R Programming

eiwild (version 0.6.7)

summary.eiwild: summary method for eiwild-object

Description

summary method for eiwild-object

Usage

"summary"(object, cred = 0.95, ...)

Arguments

object
eiwild-object
cred
percentage for credibility interval of alphas and cellCounts
...
no function. included for S3 generic/method consistency

Value

tables and matrices
  • relative: global beta values calculated with cellCounts
  • absolut: cellCounts mean
  • alphaMeans: Means of alphaDraws
  • relativeCol: proportions with colSum=1
  • countsCred: Credibility Interval of length cred for cellCounts
  • alphaCred: Credibility Interval of length cred for alphaDraws
  • realtiveCred: Credibility Interval of length cred for global beta values calculated with cellCounts

Examples

Run this code
## Not run: 
# # loading some fake election data
# data(topleveldat)
# form <- cbind(CSU_2, SPD_2, LINK_2, GRUN_2) ~ cbind(CSU_1, SPD_1, Link_1)
# set.seed(1234)
# res <- indAggEi(form=form, aggr=aggr, indi=indi, IDCols=c("ID","ID"),
#                 sample=1000, thinning=2, burnin=100,verbose=100)
# 
# res
# sumRes <- summary(res)
# sumRes
# str(sumRes)
# ## End(Not run)

Run the code above in your browser using DataLab