No articles match
showtext: Using Fonts More Easily in R Graphs3 months ago
Introduction | A Quick Example | The Usage | Loading Fonts | Working with R Markdown | CJK Fonts | How showtext Works | Compatibility with RStudio
An Introduction to Polars from R3 months ago
What is Polars? | Documentation and tutorials | Series and DataFrames | Methods and pipelines | Subset | Aggregate and modify | Reshape | Join | Lazy execution | Data import | Execute R functions within a Polars query | Data types
Using custom functions or other R packages3 months ago
Writing functions using polars expressions | Using purrr | Conclusion
Installation details3 months ago
How to install | From R-multiverse (recommended) | From GitHub | Details of installation | Pre-built Rust library binaries | Rust build time options | Features | Profile | Minimum Supported Rust Version (MSRV) | Builds for WASM/Emscripten
Column-wise operations4 months ago
Basic usage | Multiple functions | Current column | Gotchas | Other verbs | filter() and filter_out() | _if, _at, _all | Why do we like across()? | Why did it take so long to discover across()? | How do you convert existing code?
dplyr <-> base R4 months ago
Overview | One table verbs | arrange(): Arrange rows by variables | distinct(): Select distinct/unique rows | filter(): Return rows with matching conditions | mutate(): Create or transform variables | pull(): Pull out a single variable | relocate(): Change column order | rename(): Rename variables by name | rename_with(): Rename variables with a function | select(): Select variables by name | summarise(): Reduce multiple values down to a single value | slice(): Choose rows by position | Two-table verbs | Mutating joins | Filtering joins
Grouped data4 months ago
group_by() | Group metadata | Changing and adding to grouping variables | Removing grouping variables | Verbs | summarise() | select(), rename(), and relocate() | arrange() | mutate() | filter() | slice() and friends
Introduction to dplyr4 months ago
Data: starwars | Single table verbs | The pipe | Filter rows with filter() | Arrange rows with arrange() | Choose rows using their position with slice() | Select columns with select() | Add new columns with mutate() | Change column order with relocate() | Summarise values with summarise() | Commonalities | Combining functions with |> | Patterns of operations | Selecting operations | Mutating operations
Programming with dplyr4 months ago
Introduction | Data masking | Data- and env-variables | Indirection | Name injection | Tidy selection | The tidyselect DSL | How-tos | User-supplied data | One or more user-supplied expressions | Any number of user-supplied expressions | Creating multiple columns | Transforming user-supplied variables | Loop over multiple variables | Use a variable from an Shiny input
Row-wise operations4 months ago
Creating | Per row summary statistics | Row-wise summary functions | List-columns | Motivation | Subsetting | Modelling | Repeated function calls | Simulations | Multiple combinations | Varying functions | Previously | rowwise() | do()
Window functions4 months ago
Types of window functions | Ranking functions | Lead and lag | Cumulative aggregates | Recycled aggregates
Recoding columns and replacing values5 months ago
Introduction | case_when() | replace_when() | Type stability | recode_values() | replace_values() | Comparisons | if_else() | coalesce() | na_if() | SQL
In packages6 months ago
Introduction | Using tidyr in packages | Fixed column names | Continuous integration | tidyr v0.8.3 -> v1.0.0 | Conditional code | New syntax for nest() | New syntax for unnest() | nest() preserves groups | nest_() and unnest_() are defunct
Rectangling6 months ago
Introduction | GitHub users | GitHub repos | Game of Thrones characters | Geocoding with google | Sharla Gelfand's discography
Column types7 months ago
Overview | Example values | Implementation
Column type7 months ago
Automatic guessing | Legacy behavior
Introduction to readr7 months ago
Vector parsers | Atomic vectors | Flexible numeric parser | Date/times | Factors | Column specification | Rectangular parsers | Overriding the defaults | Available column specifications | Output
Locales7 months ago
Dates and times | Names of months and days | Timezones | Default formats | Character | Numbers
Using ggplot2 in packages7 months ago
Aesthetic specifications8 months ago
Extending ggplot28 months ago
Introduction to ggplot28 months ago
Profiling Performance8 months ago
Get started with purrr8 months ago
Introduction | Map: A better way to loop | Progress bars | Parallel computing | Output variants | Input variants | Combinatorial explosion | Filtering and finding with predicates
Functional programming in other languages9 months ago
purrr <-> base R9 months ago
Introduction | Key differences | Direct translations | Map functions | Extractor shorthands | Predicates | Other vector transforms | Examples | Varying inputs | One input | Two inputs | Any number of inputs | Outputs | Pipes
Two-table verbs9 months ago
Mutating joins | Controlling how the tables are matched | Types of join | Observations | Filtering joins | Set operations | Multiple-table verbs
Using dplyr in packages9 months ago
Join helpers | Data masking and tidy selection NOTEs | Deprecation | Multiple dplyr versions | Deprecation of mutate_*() and summarise_*() | Data frame subclasses
Nested data9 months ago
Basics | Nested data and models
Pivoting9 months ago
Introduction | Longer | String data in column names | Numeric data in column names | Many variables in column names | Multiple observations per row | Wider | Capture-recapture data | Aggregation | Generate column name from multiple variables | Tidy census | Implicit missing values | Unused columns | Contact list | Longer, then wider | World bank | Multi-choice | Manual specs | By hand | Theory
Programming with tidyr9 months ago
Introduction | Tidy selection | Indirection
Tidy data9 months ago
Data tidying | Defining tidy data | Data structure | Data semantics | Tidying messy datasets | Column headers are values, not variable names | Multiple variables stored in one column | Variables are stored in both rows and columns | Multiple types in one table | One type in multiple tables
Gallery of ggridges examples10 months ago
Evolution of movie lengths over time | Results from Catalan regional elections, 1980-2015 | Temperatures in Lincoln, Nebraska | Visualization of Poisson random samples with different means | Height of Australian athletes | A cheese plot
Introduction to ggridges10 months ago
Geoms | Ridgelines | Density ridgeline plots | Varying fill colors along the x axis | Stats | Quantile lines and coloring by quantiles or probabilities | Jittering points | Using alternative stats | Themes | Cyclical scales
Optimize polars performance11 months ago
Lazy vs eager execution | Order of operations | How does polars help? | Use the streaming engine | Use polars functions
Introduction to cowplot11 months ago
Themes | Arranging plots into a grid | Generic plot annotations
Column formats1 years ago
Overview
Comparing display with data frames1 years ago
Digits | Basic differences | Terminal zeros | Trailing dot | Showing more digits | Fixed number of digits | Scientific notation | When is it used? | Enforce notation
Controlling display of numbers1 years ago
Options | Per-column number formatting | Rule-based number formatting | Computing on num | Arithmetics | Mathematics | Override | Recovery
Invariants: Comparing behavior with data frames1 years ago
Conventions | Column extraction | Definition of x[[j]] | Definition of x$name | Column subsetting | Definition of x[j] | Definition of x[, j] | Definition of x[, j, drop = TRUE] | Row subsetting | Definition of x[i, ] | Definition of x[i, , drop = TRUE] | Row and column subsetting | Definition of x[] and x[,] | Definition of x[i, j] | Definition of x[[i, j]] | Column update | Definition of x[[j]] <- a | Definition of x$name <- a | Column subassignment: x[j] <- a | a is a list or data frame | a is a matrix or array | a is another type of vector | a is NULL | a is not a vector | Row subassignment: x[i, ] <- list(...) | Row and column subassignment | Definition of x[i, j] <- a | Definition of x[[i, j]] <- a
Tibbles1 years ago
Creating | Coercion | Tibbles vs data frames | Printing | Subsetting | Recycling | Arithmetic operations
Available methods1 years ago
broom and dplyr1 years ago
Introduction to broom1 years ago
broom: let's tidy up a bit | Tidying functions | Other Examples | Generalized linear and non-linear models | Hypothesis testing | Conventions | All functions | tidy functions | augment functions | glance functions
Tidy bootstrapping1 years ago
Writing new tidier methods1 years ago
Do more with dates and times in R2 years ago
Parsing dates and times | Setting and Extracting information | Time Zones | Time Intervals | Arithmetic with date times | If anyone drove a time machine, they would crash | Vectorization | Further Resources
Introduction to the viridis color maps3 years ago
tl;dr | Introduction | The Color Scales | Comparison | Green-Blind (Deuteranopia) | Red-Blind (Protanopia) | Blue-Blind (Tritanopia) | Desaturated | Usage | Gallery
Dates and times3 years ago
Formats | Offsets | References
Extending tibble3 years ago
Topics documented elsewhere | Data frame subclasses | Tibble example | Data frame example
Getting Started4 years ago
Example plots | Basic use | Controlling layout | Stacking and packing plots | Annotating the composition | Want more?
Introducing magrittr6 years ago
Abstract | Introduction and basics | Additional pipe operators | Aliases | Development
Design tradeoffs6 years ago
Code transformation | Desired properties | Implications of design decisions | Placeholder binding | Masking environment | Laziness | Numbered placeholders | Three implementations | Nested pipe | Multiple placeholders r fail() | Lazy evaluation r pass() | Persistence and eager unbinding r pass() | Progressive stack r fail() | Lexical effects r pass() | Continuous stack r pass() | Eager lexical pipe | Multiple placeholders r pass() | Lazy evaluation r fail() | Persistence: r fail() | Eager unbinding: r pass() | Progressive stack: r pass() | Lexical effects and continuous stack: r pass() | Lazy masking pipe | Persistence: r pass() | Progressive stack: r fail() | Lexical effects r fail() | Continuous stack r fail()
kmeans with dplyr and broom6 years ago
Tidying k-means clustering
Conversion semantics8 years ago
Value labels | labelled() | Missing values | Tagged missing values | User defined missing values
Why hrbrthemes?9 years ago
Font Fundamentals | Why sans-serif? | Kern-what? | Tabula Figura | Clean and compact | Weight. What? | TTF. Meh. | Spacing Out