powered by
Convenience function for converting frequency tables of alternative variants (generated with as.alternatives=TRUE) to percent.
as.alternatives=TRUE
percent(df)
table returned from frequencyQuery
frequencyQuery
original table with converted columns f, conf.low and conf.high
f
conf.low
conf.high
# NOT RUN { new("KorAPConnection") %>% frequencyQuery(c("Tollpatsch", "Tolpatsch"), vc=paste0("pubDate in ", 2000:2002), as.alternatives = TRUE) %>% percent() # }
Run the code above in your browser using DataLab