Package forcats. February 19, 2018

Size: px
Start display at page:

Download "Package forcats. February 19, 2018"

Transcription

1 Package orcats February 19, 2018 Title Tools or Working with Categorical Variables (Factors) Version Helpers or reordering actor levels (including moving speciied levels to ront, ordering by irst appearance, reversing, and randomly shuling), and tools or modiying actor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding'). License GPL-3 URL BugReports Depends R (>= 3.1) Imports magrittr, rlang, tibble Suggests covr, ggplot2, testthat Encoding UTF-8 LazyData true RoxygenNote NeedsCompilation no Author Hadley Wickham [aut, cre], RStudio [cph, nd] Maintainer Hadley Wickham <hadley@rstudio.com> Repository CRAN Date/Publication :43:26 UTC R topics documented: as_actor ct_anon ct_c ct_collapse ct_count ct_drop

2 2 as_actor ct_expand ct_explicit_na ct_inorder ct_lump ct_other ct_recode ct_relabel ct_relevel ct_reorder ct_rev ct_shit ct_shule ct_uniy ct_unique gss_cat lvls lvls_union Index 19 as_actor Convert input to a actor. Compared to base R, this unction creates levels in the order in which they appear, which will be the same on every platorm. (Base R sorts in the current locale which can vary rom place to place.) as_actor(x,...) ## S3 method or class 'actor' as_actor(x,...) ## S3 method or class 'character' as_actor(x,...) x Object to coerce to a actor.... Other arguments passed down to method. Details This is a generic unction.

3 ct_anon 3 x <- c("a", "z", "g") as_actor(x) as.actor(x) ct_anon Anonymise actor levels Replaces actor levels with arbitary numeric identiiers. Neither the values nor the order o the levels are preserved. ct_anon(, preix = "") preix A actor. A character preix to insert in ront o the random labels. gss_cat$relig %>% ct_count() gss_cat$relig %>% ct_anon() %>% ct_count() gss_cat$relig %>% ct_anon() %>% ct_count() gss_cat$relig %>% ct_anon("x") %>% ct_count() ct_c Concatenate actors, combining levels This is a useul way o patching together actors rom multiple sources that really should have the same levels but don t. ct_c(...)... Individual actors. Uses tidy dots, so you can splice in a list o actors with!!!.

4 4 ct_collapse a <- actor("a") b <- actor("b") ab <- actor(c("a", "b")) c(a, b, ab) ct_c(a, b, ab) # You can also pass a list o actors with!!! s <- list(a, b, ab) ct_c(!!!s) ct_collapse Collapse actor levels into manually deined groups Collapse actor levels into manually deined groups ct_collapse(.,...). A actor (or character vector).... A series o named character vectors. The levels in each vector will be replaced with the name. ct_count(gss_cat$partyid) partyid2 <- ct_collapse(gss_cat$partyid, missing = c("no answer", "Don't know"), other = "Other party", rep = c("strong republican", "Not str republican"), ind = c("ind,near rep", "Independent", "Ind,near dem"), dem = c("not str democrat", "Strong democrat") ) ct_count(partyid2)

5 ct_count 5 ct_count Count entries in a actor Count entries in a actor ct_count(, sort = FALSE) sort A actor (or character vector). I TRUE, sort the result so that the most common values loat to the top. Value A tibble with columns and n. <- actor(sample(letters)[rpois(1000, 10)]) table() ct_count() ct_count(, sort = TRUE) ct_drop Drop unused levels Compared to base::droplevels(), does not drop NA levels that have values. ct_drop(, only) only A actor (or character vector). A character vector restricting the set o levels to be dropped. I supplied, only levels that have no entries and appear in this vector will be removed.

6 6 ct_explicit_na <- actor(c("a", "b"), levels = c("a", "b", "c")) ct_drop() # Set only to restrict which levels to drop ct_drop(, only = "a") ct_drop(, only = "c") ct_expand Add additional levels to a actor Add additional levels to a actor ct_expand(,...) A actor (or character vector).... Additional levels to add to the actor. Levels that already exist will be silently ignored. <- actor(sample(letters[1:3], 20, replace = TRUE)) ct_expand(, "d", "e", "") ct_expand(, letters[1:6]) ct_explicit_na Make missing values explicit This gives missing value an explicit actor level, ensuring that they appear in summaries and on plots. ct_explicit_na(, na_level = "(Missing)")

7 ct_inorder 7 na_level A actor (or character vector). Level to use or missing values. 1 <- actor(c("a", "a", NA, NA, "a", "b", NA, "c", "a", "c", "b")) table(1) 2 <- ct_explicit_na(1) table(2) ct_inorder Reorder actors levels by irst appearance or requency Reorder actors levels by irst appearance or requency ct_inorder(, ordered = NA) ct_inreq(, ordered = NA) ordered A actor A logical which determines the "ordered" status o the output actor. NA preserves the existing status o the actor. <- actor(c("b", "b", "a", "c", "c", "c")) ct_inorder() ct_inreq() ct_inorder(, ordered = TRUE)

8 8 ct_lump ct_lump Lump together least/most common actor levels into "other" Lump together least/most common actor levels into "other" ct_lump(, n, prop, w = NULL, other_level = "Other", ties.method = c("min", "average", "irst", "last", "random", "max")) A actor (or character vector). n, prop I both n and prop are missing, ct_lump lumps together the least requent levels into "other", while ensuring that "other" is still the smallest level. It s particularly useul in conjunction with ct_inorder(). Positive n preserves the most common n values. Negative n preserves the least common -n values. It there are ties, you will get at least abs(n) values. Positive prop preserves values that appear at least prop o the time. Negative prop preserves values that appear at most -prop o the time. w See Also other_level ties.method An optional numeric vector giving weights or requency o each value (not level) in. Value o level used or "other" values. Always placed at end o levels. A character string speciying how ties are treated. See rank() or details. ct_other() to convert speciied levels to other. x <- actor(rep(letters[1:9], times = c(40, 10, 5, 27, 1, 1, 1, 1, 1))) x %>% table() x %>% ct_lump() %>% table() x %>% ct_lump() %>% ct_inorder() %>% table() x <- actor(letters[rpois(100, 5)]) x table(x) table(ct_lump(x)) # Use positive values to collapse the rarest ct_lump(x, n = 3) ct_lump(x, prop = 0.1)

9 ct_other 9 # Use negative values to collapse the most common ct_lump(x, n = -3) ct_lump(x, prop = -0.1) # Use weighted requencies w <- c(rep(2, 50), rep(1, 50)) ct_lump(x, n = 5, w = w) # Use ties.method to control how tied actors are collapsed ct_lump(x, n = 6) ct_lump(x, n = 6, ties.method = "max") ct_other Replace levels with "other" Replace levels with "other" ct_other(, keep, drop, other_level = "Other") keep, drop other_level A actor (or character vector). keep will preserve listed levels, replacing all others with other_level. drop will replace listed levels with other_level, keeping all others as they are. Value o level used or "other" values. Always placed at end o levels. See Also ct_lump() to automatically convert the rarest (or most common) levels to "other". x <- actor(rep(letters[1:9], times = c(40, 10, 5, 27, 1, 1, 1, 1, 1))) ct_other(x, keep = c("a", "B")) ct_other(x, drop = c("a", "B"))

10 10 ct_relabel ct_recode Change actor levels by hand Change actor levels by hand ct_recode(.,...). A actor (or character vector).... A sequence o named character vectors where the name gives the new level, and the value gives the old level. Levels not otherwise mentioned will be let as is. Levels can be removed by naming them NULL. Uses tidy dots. x <- actor(c("apple", "bear", "banana", "dear")) ct_recode(x, ruit = "apple", ruit = "banana") # I you make a mistake you'll get a warning ct_recode(x, ruit = "apple", ruit = "bananana") # I you name the level NULL it will be removed ct_recode(x, NULL = "apple", ruit = "banana") ct_relabel Automatically relabel actor levels, collapse as necessary Automatically relabel actor levels, collapse as necessary ct_relabel(.,.un,...). A actor..un A unction to be applied to each level. Must accept one character argument and return a character vector o the same length as its input. You can also use ~ to create as shorthand (in the style o purrr). ~ paste(., "x") is equivalent to unction(.) paste(., "x")... Additional arguments to un.

11 ct_relevel 11 gss_cat$partyid %>% ct_count() gss_cat$partyid %>% ct_relabel(~ gsub(",", ", ",.x)) %>% ct_count() convert_income <- unction(x) { regex <- "^(?:Lt )[$]([0-9]+).*$" is_range <- grepl(regex, x) num_income <- as.numeric(gsub(regex, "\\1", x[is_range])) num_income <- trunc(num_income / 5000) * 5000 x[is_range] <- paste0("gt $", num_income) x } ct_count(gss_cat$rincome) convert_income(levels(gss_cat$rincome)) rincome2 <- ct_relabel(gss_cat$rincome, convert_income) ct_count(rincome2) ct_relevel Reorder actor levels by hand This is a generalisaton o stats::relevel() that allows you to move any number o levels to any location. ct_relevel(.,..., ater = 0L). A actor (or character vector).... Character vector o levels. Any levels not mentioned will be let in existing order, ater the explicitly mentioned levels. Supports tidy dots. ater <- actor(c("a", "b", "c", "d")) ct_relevel() ct_relevel(, "c") ct_relevel(, "b", "a") # Move to the third position ct_relevel(, "a", ater = 2) # Relevel to the end ct_relevel(, "a", ater = In) Where should the new values be placed?

12 12 ct_reorder ct_relevel(, "a", ater = 3) # Using 'In' allows you to relevel to the end when the number # o levels is unknown or variable (e.g. vectorised operations) d <- orcats::gss_cat[, c("rincome", "denom")] lapply(d, levels) d2 <- lapply(d, ct_relevel, "Don't know", ater = In) lapply(d2, levels) # You'll get a warning i the levels don't exist ct_relevel(, "e") ct_reorder Reorder actor levels by sorting along another variable ct_reorder() is useul or 1d displays where the actor is mapped to position; ct_reorder2() or 2d displays where the actor is mapped to a non-position aesthetic. last2() is a helper or ct_reorder2(); it inds the last value o y when sorted by x. ct_reorder(.,.x,.un = median,...,.desc = FALSE) ct_reorder2(.,.x,.y,.un = last2,...,.desc = TRUE) last2(.x,.y). A actor (or character vector)..x,.y.un The levels o are reordered so that the values o.un(.x) (or ct_reorder()) and un(.x,.y) (or ct_reorder2()) are in ascending order. n summary unction. It should take one vector or ct_reorder, and two vectors or ct_reorder2.... Other arguments passed on to.un. A common argument is na.rm = TRUE..desc Order in descending order? Note the deault is dierent between ct_reorder and ct_reorder2, in order to match the deault ordering o actors in the legend.

13 ct_rev 13 boxplot(sepal.width ~ Species, data = iris) boxplot(sepal.width ~ ct_reorder(species, Sepal.Width), data = iris) boxplot(sepal.width ~ ct_reorder(species, Sepal.Width,.desc = TRUE), data = iris) chks <- subset(chickweight, as.integer(chick) < 10) chks <- transorm(chks, Chick = ct_shule(chick)) i (require("ggplot2")) { ggplot(chks, aes(time, weight, colour = Chick)) + geom_point() + geom_line() # Note that lines match order in legend ggplot(chks, aes(time, weight, colour = ct_reorder2(chick, Time, weight))) + geom_point() + geom_line() + labs(colour = "Chick") } ct_rev Reverse order o actor levels This is sometimes useul when plotting a actor. ct_rev() A actor (or character vector). <- actor(c("a", "b", "c")) ct_rev()

14 14 ct_shule ct_shit Shit actor levels to let or right, wrapping around at end This is useul when the levels o an ordered actor are actually cyclical, with dierent conventions on the starting point. ct_shit(, n = 1L) n A actor. Positive values shit to the let; negative values shit to the right. x <- actor( c("mon", "Tue", "Wed"), levels = c("sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"), ordered = TRUE ) x ct_shit(x) ct_shit(x, 2) ct_shit(x, -1) ct_shule Randomly permute actor levels Randomly permute actor levels ct_shule() A actor (or character vector). <- actor(c("a", "b", "c")) ct_shule() ct_shule()

15 ct_uniy 15 ct_uniy Uniy the levels in a list o actors Uniy the levels in a list o actors ct_uniy(s, levels = lvls_union(s)) s levels A list o actors Set o levels to apply to every actor. Deault to union o all actor levels s <- list(actor("a"), actor("b"), actor(c("a", "b"))) ct_uniy(s) ct_unique Unique values o a actor Unique values o a actor ct_unique() A actor. <- actor(letters[rpois(100, 10)]) unique() # in order o appearance ct_unique() # in order o levels

16 16 gss_cat gss_cat A sample o categorical variables rom the General Social survey A sample o categorical variables rom the General Social survey gss_cat Format year year o survey, age age. Maximum age truncated to 89. marital marital status race race rincome reported income partyid party ailiation relig religion denom denomination tvhours hours per day watching tv Source Downloaded rom gss_cat ct_count(gss_cat$relig) ct_count(ct_lump(gss_cat$relig))

17 lvls 17 lvls Low-level unctions or manipulating levels lvls_reorder leaves values as they are, but changes the order. lvls_revalue changes the values o existing levels; there must be one new level or each old level. lvls_expand expands the set o levels; the new levels must include the old levels. lvls_reorder(, idx, ordered = NA) lvls_revalue(, new_levels) lvls_expand(, new_levels) idx ordered new_levels A actor (or character vector). A integer index, with one integer or each existing level. A logical which determines the "ordered" status o the output actor. NA preserves the existing status o the actor. A character vector o new levels. Details These unctions are less helpul than the higher-level ct_ unctions, but are saer than the very lowlevel manipulation o levels directly, because they are more speciic, and hence can more careully check their arguments. <- actor(c("a", "b", "c")) lvls_reorder(, 3:1) lvls_revalue(, c("apple", "banana", "carrot")) lvls_expand(, c("a", "b", "c", "d"))

18 18 lvls_union lvls_union Find all levels in a list o actors Find all levels in a list o actors lvls_union(s) s A list o actors. s <- list(actor("a"), actor("b"), actor(c("a", "b"))) lvls_union(s)

19 Index Topic datasets gss_cat, 16 as_actor, 2 ct_anon, 3 ct_c, 3 ct_collapse, 4 ct_count, 5 ct_drop, 5 ct_expand, 6 ct_explicit_na, 6 ct_inreq (ct_inorder), 7 ct_inorder, 7, 8 ct_lump, 8 ct_lump(), 9 ct_other, 9 ct_other(), 8 ct_recode, 10 ct_relabel, 10 ct_relevel, 11 ct_reorder, 12 ct_reorder2 (ct_reorder), 12 ct_rev, 13 ct_shit, 14 ct_shule, 14 ct_uniy, 15 ct_unique, 15 gss_cat, 16 last2 (ct_reorder), 12 lvls, 17 lvls_expand (lvls), 17 lvls_reorder (lvls), 17 lvls_revalue (lvls), 17 lvls_union, 18 rank(), 8 stats::relevel(), 11 19

Package forcats. February 17, 2019

Package forcats. February 17, 2019 Package orcats February 17, 2019 Title Tools or Working with Categorical Variables (Factors) Version 0.4.0 Helpers or reordering actor levels (including moving speciied levels to ront, ordering by irst

More information

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features Type Package Version 0.0.2 Title Encode Categorical Features Package cattonum May 2, 2018 Functions for dummy encoding, frequency encoding, label encoding, leave-one-out encoding, mean encoding, median

More information

Package tidyselect. October 11, 2018

Package tidyselect. October 11, 2018 Title Select from a Set of Strings Version 0.2.5 Package tidyselect October 11, 2018 A backend for the selecting functions of the 'tidyverse'. It makes it easy to implement select-like functions in your

More information

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Package gggenes November 7, 2018 Provides a 'ggplot2' geom and helper functions for drawing gene arrow maps. Depends R (>= 3.3.0) Imports grid (>=

More information

Package readxl. April 18, 2017

Package readxl. April 18, 2017 Title Read Excel Files Version 1.0.0 Package readxl April 18, 2017 Import excel files into R. Supports '.xls' via the embedded 'libxls' C library and '.xlsx'

More information

Package datasets.load

Package datasets.load Title Interface for Loading Datasets Version 0.1.0 Package datasets.load December 14, 2016 Visual interface for loading datasets in RStudio from insted (unloaded) s. Depends R (>= 3.0.0) Imports shiny,

More information

Package purrrlyr. R topics documented: May 13, Title Tools at the Intersection of 'purrr' and 'dplyr' Version 0.0.2

Package purrrlyr. R topics documented: May 13, Title Tools at the Intersection of 'purrr' and 'dplyr' Version 0.0.2 Title Tools at the Intersection of 'purrr' and 'dplyr' Version 0.0.2 Package purrrlyr May 13, 2017 Description Some functions at the intersection of 'dplyr' and 'purrr' that formerly lived in 'purrr'.

More information

Package fastdummies. January 8, 2018

Package fastdummies. January 8, 2018 Type Package Package fastdummies January 8, 2018 Title Fast Creation of Dummy (Binary) Columns and Rows from Categorical Variables Version 1.0.0 Description Creates dummy columns from columns that have

More information

Package messaging. May 27, 2018

Package messaging. May 27, 2018 Type Package Package messaging May 27, 2018 Title Conveniently Issue Messages, Warnings, and Errors Version 0.1.0 Description Provides tools for creating and issuing nicely-formatted text within R diagnostic

More information

Package autocogs. September 22, Title Automatic Cognostic Summaries Version 0.1.1

Package autocogs. September 22, Title Automatic Cognostic Summaries Version 0.1.1 Title Automatic Cognostic Summaries Version 0.1.1 Package autocogs September 22, 2018 Automatically calculates cognostic groups for plot objects and list column plot objects. Results are returned in a

More information

Package knitrprogressbar

Package knitrprogressbar Type Package Title Provides Progress Bars in 'knitr' Version 1.1.0 Package knitrprogressbar February 20, 2018 Provides a progress bar similar to 'dplyr' that can write progress out to a variety of locations,

More information

Package tidyimpute. March 5, 2018

Package tidyimpute. March 5, 2018 Title Imputation the Tidyverse Way Version 0.1.0 Date 2018-02-01 Package tidyimpute March 5, 2018 URL https://github.com/decisionpatterns/tidyimpute Functions and methods for imputing missing values (NA)

More information

Package tibble. August 22, 2017

Package tibble. August 22, 2017 Encoding UTF-8 Version 1.3.4 Title Simple Data Frames Package tibble August 22, 2017 Provides a 'tbl_df' class (the 'tibble') that provides stricter checking and better formatting than the traditional

More information

Package vip. June 15, 2018

Package vip. June 15, 2018 Type Package Title Variable Importance Plots Version 0.1.0 Package vip June 15, 2018 A general framework for constructing variable importance plots from various types machine learning models in R. Aside

More information

Package validara. October 19, 2017

Package validara. October 19, 2017 Type Package Title Validate Brazilian Administrative Registers Version 0.1.1 Package validara October 19, 2017 Maintainer Gustavo Coelho Contains functions to validate administrative

More information

Package spark. July 21, 2017

Package spark. July 21, 2017 Title 'Sparklines' in the 'R' Terminal Version 2.0.0 Author Gábor Csárdi Package spark July 21, 2017 Maintainer Gábor Csárdi A 'sparkline' is a line chart, without axes and labels.

More information

Package embed. November 19, 2018

Package embed. November 19, 2018 Version 0.0.2 Package embed November 19, 2018 Title Extra Recipes for Encoding Categorical Predictors Description Factor predictors can be converted to one or more numeric representations using simple

More information

Package qualmap. R topics documented: September 12, Type Package

Package qualmap. R topics documented: September 12, Type Package Type Package Package qualmap September 12, 2018 Title Opinionated Approach for Digitizing Semi-Structured Qualitative GIS Data Version 0.1.1 Provides a set of functions for taking qualitative GIS data,

More information

Package sessioninfo. June 21, 2017

Package sessioninfo. June 21, 2017 Title R Session Information Version 1.0.0 Package sessioninfo June 21, 2017 Author Gábor Csárdi, R core, Hadley Wickham, Winston Chang, Robert M Flight, Kirill Müller Maintainer Gábor Csárdi

More information

Package redux. May 31, 2018

Package redux. May 31, 2018 Title R Bindings to 'hiredis' Version 1.1.0 Package redux May 31, 2018 A 'hiredis' wrapper that includes support for transactions, pipelining, blocking subscription, serialisation of all keys and values,

More information

Package docxtools. July 6, 2018

Package docxtools. July 6, 2018 Title Tools for R Markdown to Docx Documents Version 0.2.0 Language en-us Package docxtools July 6, 2018 A set of helper functions for using R Markdown to create documents in docx format, especially documents

More information

Package snakecase. R topics documented: March 25, Version Date Title Convert Strings into any Case

Package snakecase. R topics documented: March 25, Version Date Title Convert Strings into any Case Version 0.9.1 Date 2018-03-24 Title Convert Strings into any Case Package snakecase March 25, 2018 A consistent, flexible and easy to use tool to parse and convert s into cases like snake or camel among

More information

Package raker. October 10, 2017

Package raker. October 10, 2017 Title Easy Spatial Microsimulation (Raking) in R Version 0.2.1 Date 2017-10-10 Package raker October 10, 2017 Functions for performing spatial microsimulation ('raking') in R. Depends R (>= 3.4.0) License

More information

Package crossword.r. January 19, 2018

Package crossword.r. January 19, 2018 Date 2018-01-13 Type Package Title Generating s from Word Lists Version 0.3.5 Author Peter Meissner Package crossword.r January 19, 2018 Maintainer Peter Meissner Generate crosswords

More information

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health Type Package Version 0.1.7 Title Fingertips Data for Public Health Package fingertipsr May 25, 2018 Fingertips () contains data for many indicators of public health in England.

More information

Package oec. R topics documented: May 11, Type Package

Package oec. R topics documented: May 11, Type Package Type Package Package oec May 11, 2018 Title Observatory of Economic Complexity API Wrapper and Utility Program Version 2.7.8 Date 2018-06-11 Maintainer Mauricio Vargas S. URL https://cran.r-project.org/package=oec

More information

Package modelr. May 11, 2018

Package modelr. May 11, 2018 Title Modelling Functions that Work with the Pipe Version 0.1.2 Package modelr May 11, 2018 Functions for modelling that help you seamlessly integrate modelling into a pipeline of manipulation and visualisation.

More information

Package lumberjack. R topics documented: July 20, 2018

Package lumberjack. R topics documented: July 20, 2018 Package lumberjack July 20, 2018 Maintainer Mark van der Loo License GPL-3 Title Track Changes in Data LazyData no Type Package LazyLoad yes A function composition ('pipe') operator

More information

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3. Type Package Title GeoJSON to Simple Feature Converter Version 1.3.0 Date 2019-01-11 Package geojsonsf January 11, 2019 Converts Between GeoJSON and simple feature objects. License GPL-3 Encoding UTF-8

More information

Package comparedf. February 11, 2019

Package comparedf. February 11, 2019 Type Package Package comparedf February 11, 2019 Title Do a Git Style Diff of the Rows Between Two Dataframes with Similar Structure Version 1.7.1 Date 2019-02-11 Compares two dataframes which have the

More information

Package glue. March 12, 2019

Package glue. March 12, 2019 Package glue March 12, 2019 Title Interpreted String Literals Version 1.3.1 An implementation of interpreted string literals, inspired by Python's Literal String Interpolation

More information

Package kdtools. April 26, 2018

Package kdtools. April 26, 2018 Type Package Package kdtools April 26, 2018 Title Tools for Working with Multidimensional Data Version 0.3.1 Provides various tools for working with multidimensional data in R and C++, including etremely

More information

Package essurvey. August 23, 2018

Package essurvey. August 23, 2018 Package essurvey August 23, 2018 Title Download Data from the European Social Survey on the Fly Version 1.0.2 BugReports https://github.com/ropensci/essurvey/issues Download data from the European Social

More information

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files Version 0.1.3 Date 2018-08-12 Title Read Large Text Files Package bigreadr August 13, 2018 Read large text s by splitting them in smaller s. License GPL-3 Encoding UTF-8 LazyData true ByteCompile true

More information

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0 Type Package Title Power Analysis for AB Testing Version 0.1.0 Package pwrab June 6, 2017 Maintainer William Cha Power analysis for AB testing. The calculations are based

More information

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0 Type Package Title Tidy Statistical Inference Version 0.3.0 Package infer July 11, 2018 The objective of this package is to perform inference using an epressive statistical grammar that coheres with the

More information

Package librarian. R topics documented:

Package librarian. R topics documented: Package librarian July 8, 2018 Title Install, Update, Load Packages from CRAN and 'GitHub' in One Step Version 1.3.0 Automatically install, update, and load 'CRAN' and 'GitHub' packages in a single function

More information

Package textrecipes. December 18, 2018

Package textrecipes. December 18, 2018 Title Extra 'Recipes' for Text Processing Version 0.0.1 Package textrecipes December 18, 2018 Description Converting text to numerical features requires specifically created procedures, which are implemented

More information

Package widyr. August 14, 2017

Package widyr. August 14, 2017 Type Package Title Widen, Process, then Re-Tidy Data Version 0.1.0 Package widyr August 14, 2017 Encapsulates the pattern of untidying data into a wide matrix, performing some processing, then turning

More information

Package narray. January 28, 2018

Package narray. January 28, 2018 Package narray January 28, 2018 Title Subset- And Name-Aware Array Utility Functions Version 0.4.0 Author Michael Schubert Maintainer Michael Schubert Stacking

More information

Package condformat. October 19, 2017

Package condformat. October 19, 2017 Type Package Title Conditional Formatting in Data Frames Version 0.7.0 Date 2017-10-19 URL http://github.com/zeehio/condformat Package condformat October 19, 2017 BugReports http://github.com/zeehio/condformat/issues

More information

Package pkgbuild. October 16, 2018

Package pkgbuild. October 16, 2018 Title Find Tools Needed to Build R Packages Version 1.0.2 Package pkgbuild October 16, 2018 Provides functions used to build R packages. Locates compilers needed to build R packages on various platforms

More information

Package ggmosaic. February 9, 2017

Package ggmosaic. February 9, 2017 Title Mosaic Plots in the 'ggplot2' Framework Version 0.1.2 Package ggmosaic February 9, 2017 Mosaic plots in the 'ggplot2' framework. Mosaic plot functionality is provided in a single 'ggplot2' layer

More information

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0 Title Use Image in 'ggplot2' Version 0.1.0 Package ggimage December 5, 2017 Supports image files and graphic objects to be visualized in 'ggplot2' graphic system. Depends R (>= 3.3.0), ggplot2 Imports

More information

Package styler. December 11, Title Non-Invasive Pretty Printing of R Code Version 1.0.0

Package styler. December 11, Title Non-Invasive Pretty Printing of R Code Version 1.0.0 Title Non-Invasive Pretty Printing of R Code Version 1.0.0 Package styler December 11, 2017 Pretty-prints R code without changing the user's formatting intent. Imports backports, cli, enc, magrittr, purrr,

More information

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7 Title Use Image in 'ggplot2' Version 0.0.7 Package ggimage November 1, 2017 Supports image files and graphic objects to be visualized in 'ggplot2' graphic system. Depends R (>= 3.3.0), ggplot2 Imports

More information

Package haven. April 9, 2015

Package haven. April 9, 2015 Version 0.2.0 Title Import SPSS, Stata and SAS Files Package haven April 9, 2015 Import foreign statistical formats into R via the embedded ReadStat C library (https://github.com/wizardmac/readstat). Package

More information

Package extdplyr. February 27, 2017

Package extdplyr. February 27, 2017 Type Package Package extdplyr February 27, 2017 Title Data Manipulation Extensions of 'Dplyr' and 'Tidyr' Version 0.1.4 If 'dplyr' is a grammar for manipulation, 'extdplyr' is like a short paragraph written

More information

Package stapler. November 27, 2017

Package stapler. November 27, 2017 Version 0.6.3 Package stapler November 27, 2017 Title Simultaneous Truth and Performance Level Estimation An implementation of Simultaneous Truth and Performance Level Estimation (STAPLE) .

More information

Package balance. October 12, 2018

Package balance. October 12, 2018 Title Visualize Balances of Compositional Data Version 0.1.6 URL http://github.com/tpq/balance Package balance October 12, 2018 BugReports http://github.com/tpq/balance/issues Balances have become a cornerstone

More information

Package available. November 17, 2017

Package available. November 17, 2017 Package available November 17, 2017 Title Check if the Title of a Package is Available, Appropriate and Interesting Version 1.0.0 Check if a given package is available to use. It checks the 's validity.

More information

Package autoshiny. June 25, 2018

Package autoshiny. June 25, 2018 Package autoshiny June 25, 2018 Title Automatic Transformation of an 'R' Function into a 'shiny' App Version 0.0.2 Description Static code compilation of a 'shiny' app given an R function (into 'ui.r'

More information

Package strat. November 23, 2016

Package strat. November 23, 2016 Type Package Package strat November 23, 2016 Title An Implementation of the Stratification Index Version 0.1 An implementation of the stratification index proposed by Zhou (2012) .

More information

Package desc. May 1, 2018

Package desc. May 1, 2018 Title Manipulate DESCRIPTION Files Version 1.2.0 Package desc May 1, 2018 Maintainer Gábor Csárdi Tools to read, write, create, and manipulate DESCRIPTION s. It is intended for

More information

Package labelled. December 19, 2017

Package labelled. December 19, 2017 Package labelled December 19, 2017 Type Package Title Manipulating Labelled Data Version 1.0.1 Date 2017-12-19 Maintainer Joseph Larmarange Work with labelled data imported from

More information

Package cli. November 5, 2017

Package cli. November 5, 2017 Package cli November 5, 2017 Title Helpers for Developing Command Line Interfaces Version 1.0.0 A suite of tools designed to build attractive command line interfaces ('CLIs'). Includes tools for drawing

More information

Package fastqcr. April 11, 2017

Package fastqcr. April 11, 2017 Type Package Title Quality Control of Sequencing Data Version 0.1.0 Date 2017-04-12 Package fastqcr April 11, 2017 'FASTQC' is the most widely used tool for evaluating the quality of high throughput sequencing

More information

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2 Title Finding Files in Project Subdirectories Version 1.3-2 Package rprojroot January 3, 2018 Robust, reliable and flexible paths to files below a project root. The 'root' of a project is defined as a

More information

Package testit. R topics documented: June 14, 2018

Package testit. R topics documented: June 14, 2018 Package testit June 14, 2018 Type Package Title A Simple Package for Testing R Packages Version 0.8 Description Provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

More information

Package dkanr. July 12, 2018

Package dkanr. July 12, 2018 Title Client for the 'DKAN' API Version 0.1.2 Package dkanr July 12, 2018 Provides functions to facilitate access to the 'DKAN' API (), including

More information

Package ecoseries. R topics documented: September 27, 2017

Package ecoseries. R topics documented: September 27, 2017 Package ecoseries September 27, 2017 Title An R Interface to Brazilian Central Bank and Sidra APIs and the IPEA Data Version 0.1.5 Date 2017-09-27 Maintainer Fernando Teixeira

More information

Package bisect. April 16, 2018

Package bisect. April 16, 2018 Package bisect April 16, 2018 Title Estimating Cell Type Composition from Methylation Sequencing Data Version 0.9.0 Maintainer Eyal Fisher Author Eyal Fisher [aut, cre] An implementation

More information

Package wrswor. R topics documented: February 2, Type Package

Package wrswor. R topics documented: February 2, Type Package Type Package Package wrswor February 2, 2018 Title Weighted Random Sampling without Replacement Version 1.1 Date 2018-02-02 Description A collection of implementations of classical and novel algorithms

More information

Package pkgload. July 8, 2018

Package pkgload. July 8, 2018 Title Simulate Package Installation and Attach Version 1.0.0 Package pkgload July 8, 2018 Simulates the process of installing a package and then attaching it. This is a key part of the 'devtools' package

More information

Package guardianapi. February 3, 2019

Package guardianapi. February 3, 2019 Package guardianapi February 3, 2019 Title Access 'The Guardian' Newspaper Open Data API Version 0.1.0 Access to the 'Guardian' open API , containing all articles

More information

Package slickr. March 6, 2018

Package slickr. March 6, 2018 Version 0.2.4 Date 2018-01-17 Package slickr March 6, 2018 Title Create Interactive Carousels with the JavaScript 'Slick' Library Create and customize interactive carousels using the 'Slick' JavaScript

More information

Package clipr. June 23, 2018

Package clipr. June 23, 2018 Type Package Title Read and Write from the System Clipboard Version 0.4.1 Package clipr June 23, 2018 Simple utility functions to read from and write to the Windows, OS X, and X11 clipboards. Imports utils

More information

Package ruler. February 23, 2018

Package ruler. February 23, 2018 Title Tidy Data Validation Reports Version 0.1.2 Package ruler February 23, 2018 Tools for creating data validation pipelines and tidy reports. This package offers a framework for exploring and validating

More information

Package semver. January 6, 2017

Package semver. January 6, 2017 Type Package Title 'Semantic Versioning V2.0.0' Parser Version 0.2.0 Package semver January 6, 2017 Tools and functions for parsing, rendering and operating on semantic version strings. Semantic versioning

More information

Package graphframes. June 21, 2018

Package graphframes. June 21, 2018 Type Package Title Interface for 'GraphFrames' Version 0.1.1 Package graphframes June 21, 2018 Maintainer Kevin Kuo A 'sparklyr' etension that provides

More information

Package gtrendsr. August 4, 2018

Package gtrendsr. August 4, 2018 Type Package Title Perform and Display Google Trends Queries Version 1.4.2 Date 2018-08-03 Package gtrendsr August 4, 2018 An interface for retrieving and displaying the information returned online by

More information

Package repec. August 31, 2018

Package repec. August 31, 2018 Type Package Title Access RePEc Data Through API Version 0.1.0 Package repec August 31, 2018 Utilities for accessing RePEc (Research Papers in Economics) through a RESTful API. You can request a and get

More information

Package gtrendsr. October 19, 2017

Package gtrendsr. October 19, 2017 Type Package Title Perform and Display Google Trends Queries Version 1.4.0 Date 2017-10-19 Package gtrendsr October 19, 2017 An interface for retrieving and displaying the information returned online by

More information

Package editdata. October 7, 2017

Package editdata. October 7, 2017 Type Package Title 'RStudio' Addin for Editing a 'data.frame' Version 0.1.2 Package editdata October 7, 2017 Imports shiny (>= 0.13, miniui (>= 0.1.1, rstudioapi (>= 0.5, DT, tibble An 'RStudio' addin

More information

Package vinereg. August 10, 2018

Package vinereg. August 10, 2018 Type Package Title D-Vine Quantile Regression Version 0.5.0 Package vinereg August 10, 2018 Maintainer Thomas Nagler Description Implements D-vine quantile regression models with parametric

More information

Package canvasxpress

Package canvasxpress Version 1.18.2 Package canvasxpress Title Visualization Package for CanvasXpress in R January 19, 2018 Enables creation of visualizations using the CanvasXpress framework in R. CanvasXpress is a standalone

More information

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption Version 0.2.0 Title Create s for Human Consumption Package humanize April 4, 2018 An almost direct port of the 'python' 'humanize' package . This package contains utilities

More information

Package rbraries. April 18, 2018

Package rbraries. April 18, 2018 Title Interface to the 'Libraries.io' API Package rbraries April 18, 2018 Interface to the 'Libraries.io' API (). 'Libraries.io' indexes data from 36 different package managers

More information

Package gameofthrones

Package gameofthrones Package gameofthrones December 31, 2018 Type Package Title Palettes Inspired in the TV Show ``Game of Thrones'' Version 1.0.0 Maintainer Alejandro Jimenez Rico Description Implementation

More information

Package cancensus. February 4, 2018

Package cancensus. February 4, 2018 Type Package Package cancensus February 4, 2018 Title Canadian Census Data and Geography from the 'CensusMapper' API Version 0.1.7 Integrated, convenient, and uniform access to Canadian Census data and

More information

Package ggseas. June 12, 2018

Package ggseas. June 12, 2018 Package ggseas June 12, 2018 Title 'stats' for Seasonal Adjustment on the Fly with 'ggplot2' Version 0.5.4 Maintainer Peter Ellis Provides 'ggplot2' 'stats' that estimate

More information

Package jstree. October 24, 2017

Package jstree. October 24, 2017 Package jstree October 24, 2017 Title Create Interactive Trees with the 'jquery' 'jstree' Plugin Version 1.0.1 Date 2017-10-23 Maintainer Jonathan Sidi Create and customize interactive

More information

Package PCADSC. April 19, 2017

Package PCADSC. April 19, 2017 Type Package Package PCADSC April 19, 2017 Title Tools for Principal Component Analysis-Based Data Structure Comparisons Version 0.8.0 A suite of non-parametric, visual tools for assessing differences

More information

Package projector. February 27, 2018

Package projector. February 27, 2018 Package projector February 27, 2018 Title Project Dense Vectors Representation of Texts on a 2D Plan Version 0.0.2 Date 2018-02-27 Maintainer Michaël Benesty Display dense vector representation

More information

Package splithalf. March 17, 2018

Package splithalf. March 17, 2018 Type Package Package splithalf March 17, 2018 Title Calculate Task Split Half Reliability Estimates Version 0.3.1 Maintainer Sam Parsons A series of functions to calculate the

More information

Package rsppfp. November 20, 2018

Package rsppfp. November 20, 2018 Package rsppfp November 20, 2018 Title R's Shortest Path Problem with Forbidden Subpaths Version 1.0.3 Maintainer Melina Vidoni An implementation of functionalities

More information

Package harrypotter. September 3, 2018

Package harrypotter. September 3, 2018 Type Package Package harrypotter September 3, 2018 Title Palettes Generated from All ``Harry Potter'' Movies Version 0.1.0 Maintainer Alejandro Jimenez Rico Description Implementation

More information

Package mdftracks. February 6, 2017

Package mdftracks. February 6, 2017 Type Package Title Read and Write 'MTrackJ Data Files' Version 0.2.0 Package mdftracks February 6, 2017 'MTrackJ' is an 'ImageJ' plugin for motion tracking and analysis (see ).

More information

Package UNF. June 13, 2017

Package UNF. June 13, 2017 Version 2.0.6 Package UNF June 13, 2017 Title Tools for Creating Universal Numeric Fingerprints for Data Date 2017-06-13 Description Computes a universal numeric fingerprint (UNF) for an R data object.

More information

Package jpmesh. December 4, 2017

Package jpmesh. December 4, 2017 Type Package Title Utilities for Japanese Mesh Code Version 1.0.1 Package jpmesh December 4, 2017 Maintainer Shinya Uryu Helpful functions for using mesh code (80km to 125m) data

More information

Package colf. October 9, 2017

Package colf. October 9, 2017 Type Package Package colf October 9, 2017 Title Constrained Optimization on Linear Function Version 0.1.3 URL https://github.com/lyzander/colf BugReports https://github.com/lyzander/colf/issues Depends

More information

Package facerec. May 14, 2018

Package facerec. May 14, 2018 Package facerec Type Package Title An Interface for Face Recognition Version 0.1.0 Date 2018-05-14 May 14, 2018 URL https://github.com/methodds/facerec BugReports https://github.com/methodds/facerec/issues

More information

Package rsample. R topics documented: January 7, Title General Resampling Infrastructure Version Maintainer Max Kuhn

Package rsample. R topics documented: January 7, Title General Resampling Infrastructure Version Maintainer Max Kuhn Title General Resampling Infrastructure Version 0.0.4 Maintainer Max Kuhn Package rsample January 7, 2019 Classes and functions to create and summarize different types of resampling objects

More information

Package sankey. R topics documented: October 22, 2017

Package sankey. R topics documented: October 22, 2017 Package sankey October 22, 2017 Title Illustrate the Flow of Information or Material Version 1.0.2 Author Gábor Csárdi, January Weiner Maintainer Gábor Csárdi Description Plots

More information

Package ggloop. October 20, 2016

Package ggloop. October 20, 2016 Package ggloop Type Package Title Create 'ggplot2' Plots in a Loop Version 0.1.0 October 20, 2016 URL https://github.com/seasmith/ggloop BugReports https://github.com/seasmith/ggloop/issues Pass a data

More information

Package ECctmc. May 1, 2018

Package ECctmc. May 1, 2018 Type Package Package ECctmc May 1, 2018 Title Simulation from Endpoint-Conditioned Continuous Time Markov Chains Version 0.2.5 Date 2018-04-30 URL https://github.com/fintzij/ecctmc BugReports https://github.com/fintzij/ecctmc/issues

More information

Package crochet. January 8, 2018

Package crochet. January 8, 2018 Version 2.0.1 License MIT + file LICENSE Package crochet January 8, 2018 Title Implementation Helper for [ and [

More information

Package states. May 4, 2018

Package states. May 4, 2018 Type Package Title Create Panels of Independent States Version 0.2.1 Package states May 4, 2018 Maintainer Andreas Beger Create panel data consisting of independent states from 1816

More information

Package sparklyr.nested

Package sparklyr.nested Title A 'sparklyr' Etension for Nested Data Version 0.0.3 Package sparklyr.nested November 14, 2018 Maintainer Matt Pollock A 'sparklyr' etension adding the capability to work easily

More information

Package QCAtools. January 3, 2017

Package QCAtools. January 3, 2017 Title Helper Functions for QCA in R Version 0.2.3 Package QCAtools January 3, 2017 Author Jirka Lewandowski [aut, cre] Maintainer Jirka Lewandowski

More information