| renewal | R Documentation | 
'renewal' calculates parliamentary renewal rates
renewal(
  seats = NULL,
  dropout = NULL,
  defeated = NULL,
  reelected = NULL,
  type = "all"
)
seats | 
 (  | 
dropout | 
 (  | 
defeated | 
 (  | 
reelected | 
 (  | 
type | 
 (  | 
gross renewal rate = ((dropout + defeated) / seats) * 100
compulsory renewal rate = (dropout / seats) * 100
net renewal rate = (defeated / (reelected + defeated)) * 100
A percentage which is the Renewal Rate. See parameter type.
SANTOS, W. G. D. (2002). Votos e partidos: almanaque de dados eleitorais. Brasil e outros países. Rio de Janeiro: Editora FGV.
seats <- 27
dropout <- 9
defeated <- 6
reelected <- 12
renewal(seats, dropout, defeated, reelected)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.