SciencePo-package: Political Behaviour Analysis Tool

Description Details Author(s) References See Also Examples

Description

SciencePo is a facility package that makes the using of R in political science even more intuitive. The very objective for the SciencePo is to cover standard descriptive analyses for experimental data. Later updates will focus on cutting-edge implementations published in the relevant journals of the field.

Details

Package: SciencePo
Type: Package
Version: 0.3.3-01
Date: 2012-12-01
License: LGPL (>= 2.0, < 3)

Author(s)

Daniel Marcelino <dmarcelino@live.com>

References

Marcelino, Daniel. (2010) Sobre dinheiro e eleicoes: um estudo dos gastos de campanha para o Congresso Nacional em 2002 e 2006.

See Also

detail, shift,outtags, soundexBR, tableau, accent, beta.coef, outliers, anonymize, lsq, get.poly, rprob, rstack, winsor.mean, get.ci, get.ipc.

Examples

 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
27
28
29
30
31
32
33
34
35
36
# Loading some data 

montreal <- data.frame(
month = a <- c('J','F','M','A','M','J','J','A','S','O','N','D'),
precip = b <- c(78,62,74,78,76, 83, 91, 93, 93,78, 93, 81), 
max = c <- c(-6, -4, 2, 11, 19, 24,  26,  25, 20, 13, 5, -2),
min = d <- c(-15, -13, -7, 1, 8,  13, 16, 14, 9, 3, -2, -10) )

detail(montreal) 

data(galton)

(model <- lm(child ~ parent, data = galton) )

beta.coef(model)

anonymize(montreal)

outliers(galton)

rprob(nerlove63)

rstack(rprob(nerlove63))

lsq(4, 3, seed = 123)


get.ci(sample = 800, n = 1, mu = .29)


sids <- maptools::readShapePoly(system.file("shapes/sids.shp",
package="maptools") )

get.poly(sids)

plot(poly <- get.poly(sids))

SciencePo documentation built on May 2, 2019, 5:53 p.m.