• 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 Tips

R Tips

How To Plot Ridgeline Plots in R?

March 16, 2018 by cmdlinetips

Ridgeline Plots in R with ggridges

Ridgeline plots is a great way to visualize changes in multiple distributions/histogram either over time or space. It was initially called as joyplots, for a brief time. ggridges package from UT Austin professor Claus Wilke lets you make ridgeline plots in combinaton with ggplot. Here is how Claus describes the ridgeline plot with a brief […]

Filed Under: ggridges package, R Tips, Ridgeline Plots Tagged With: ggplot, ggridges package, R Tips, Ridgeline Plots

Skimr: A R Package to Skim Summary Data Effortlessly

March 6, 2018 by cmdlinetips

Quick Data Summary with Skimr

Exploring your data while dong analysis is extremely important. skimr, an R package, from rOpenSci is a great package that helps you get the summary statistics in a nice way, so you can quickly skim your data summary and understand it better. If you have not heard of rOpenSci, it is a non-profit initiative founded […]

Filed Under: Skimr, Skimr R Package Tagged With: R Tips, rOpenSci's Skimr, Skimr, Skimr R Package

5 Big Ideas Behind Tidy Evaluation

February 27, 2018 by cmdlinetips

Ever wondered, how easy it is to write dataframe manipulation code without repeating yourself while using dplyr ? For example, if you are filtering a dataframe, you simply write instead of writing like this where you need to refer the dataframe multiple times and use “$” to access variables in the dataframe. The reason why […]

Filed Under: R Tips, tidy evaluation, tidyverse Tagged With: R Tips, tidy evaluation, tidy-eval

Why can’t ggplot2 use %>% instead of “+”?

January 30, 2018 by cmdlinetips

Have you ever mixed up dplyr’s pipe operator or magittr %>% with ggplot’s “+” while piping dplyr commands with ggplot2, you are not alone. Depending on where you misused “%>%” for “+”, you might get confusing errors like Error: Mapping must be created by `aes()` or `aes_()` Error in as.vector(x, “character”) : cannot coerce type […]

Filed Under: ggplot2, R Tips, rstat, rstats Tagged With: ggplot2, R Tips, rstats

6 Most Useful dplyr Commands to Manipulate a Data Frame in R

January 27, 2018 by cmdlinetips

6 Most useful dplyr verbs to manipulate data frame

dplyr is one of the R packages developed by Hadley Wickham to manipulate data stored in data frames. Data frame is a two-dimensional data structure, where each column can contain a different type of data, like numerical, character and factors. In case you wondered the meaning of the word “dplyr”, it is like “pliers” for […]

Filed Under: dplyr basics, dplyr commands, R, R Tips, tidyverse Tagged With: data frame manipulation in R, dplyr basics, dplyr commands, R Tips, tidyverse

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Go to Next Page »

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