Learn R Programming

eiwild (version 0.6.3)

summary.eiwild: summary method for eiwild-object

Description

summary method for eiwild-object

Usage

## S3 method for class 'eiwild':
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 withcellCounts
    • absolut:cellCountsmean
    • alphaMeans:Means ofalphaDraws
    • relativeCol:proportions withcolSum=1
    • countsCred:Credibility Interval of lengthcredforcellCounts
    • alphaCred:Credibility Interval of lengthcredforalphaDraws
    • realtiveCred:Credibility Interval of lengthcredfor global beta values calculated withcellCounts

Examples

Run this code
# 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)

Run the code above in your browser using DataLab