• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • Conferences
  • Python Books
  • About
    • Privacy Policy
You are here: Home / Archives for R / tidyverse 101

tidyverse 101

How To Highlight Select Data Points with ggplot2 in R?

May 9, 2019 by cmdlinetips

The power of ggplot2 lies in making it easy to make great plots and in easily tweaking it to the one wants. Sometimes, one might want to highlight certain data points in a plot in different color. Here we will see an example of highlighting specific data points in a plot. Let us first load […]

Filed Under: ggplot2, highlight data in ggplot2, R, R Tips, tidyverse 101 Tagged With: highlight data in ggplot2, highlight select points in R

How to Recode a Column with dplyr in R?

April 13, 2019 by cmdlinetips

Sometimes, when working with a dataframe, you may want the values of a variable/column of interest in a specific way. You might like to change or recode the values of the column. R offers many ways to recode a column. Here we will see a simple example of recoding a column with two values using […]

Filed Under: dplyr recode, R Tips, tidyverse 101 Tagged With: dplyr recode, recode a column in R

Getting started with ggforce – a ggplot2 extension package

March 26, 2019 by cmdlinetips

How to annotate with ellipses in ggplot2 using ggforce?

ggforce, R package extension for ggplot, has got a big upgrade with lot of new functions. ggforce was introduced about to years ago with the aim to provide missing functionalities in ggplot2. ggforce provides a a repository of geoms, stats, etc. that are as well documented and implemented as the official ones found in ggplot2. […]

Filed Under: annotate ggplot2, ggforce, ggforce facet_zoom, ggforce geom_mark_ellipse, ggplot2, R, R Tips, tidyverse 101 Tagged With: annotate ggplot2, ggforce, ggforce facet_zoom, ggforce geom_mark_ellipse

9 Ways To Create New Variables with tidyverse

February 17, 2019 by cmdlinetips

Add New Variables With tidyverse

When one wants to create a new variable in R using tidyverse, dplyr’s mutate verb is probably the easiest one that comes to mind that lets you create a new column or new variable easily on the fly. It is probably the go to command for every time one needed to make new variable for […]

Filed Under: Create New Column with Tidyverse, R Tips, tidyverse 101 Tagged With: add_column, Create New Column with Tidyverse, mutate_all, mutate_at, rename tidyverse, tidyverse, transmute

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 6
  • Page 7
  • Page 8

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version