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

R Tips

How To Change Axis Tick Marks in R?

March 22, 2019 by cmdlinetips

Boxplot before fixing x-axis ticks mark

One of most common things one might do while making plots is to change tiny details of the plot to make them better. Often, one of such adjustments are changing x-axis tick mark label/text on a plot made with ggplot2 in R. Let us use ggplot2 to make plot first and then fix its x-axis […]

Filed Under: Change axis ticks mark labels ggplot2, ggplot2, R Tips Tagged With: Change axis ticks mark labels ggplot2, Change x-axis tick mark, ggplot2, R

Book Review – Data Visualization: A Practical Introduction

March 5, 2019 by cmdlinetips

Data Visualization, A practical introduction

Data Visualization: A Practical Introduction by Duke University Professor Kieran Healy is a great introduction Data Visualization. If you have not heard of the book before, here is a little back story. The author, Kieran Healy developed the book using R Bookdown and made the whole book available online for free. Yes, it is available […]

Filed Under: Data Visualization, Data Visualization: A Practical Introduction, ggplot2, R, R Books, R Tips, tidyverse Tagged With: Book Review, Book Review: Data Visualization, Data Visualization, Data Visualization Healy, Data Visualization: A Practical Introduction, ggplot2, R

Introduction to Maximum Likelihood Estimation in R – Part 1

March 3, 2019 by cmdlinetips

MLE in R

The core of statistical inference can thought of situation like this. You have some observed data and you want to understand the actual population that generated the sample data you have. Parameter estimation by MLE One typically models that the observed data is generated by some probability distribution. For the sake of simplicity, let us […]

Filed Under: Maximum Likelihood Estimation in R, MLE in R, MLE of Poisson Distribution in R, R Tips, Statistical Inference Tagged With: Maximum Likelihood Estimation in R, MLE in R, MLE of Poisson Distribution in R

How To Make Grouped Boxplots with ggplot2?

February 25, 2019 by cmdlinetips

Customizing Grouped Boxplot

Boxplots are great to visualize distributions of multiple variables. ggplot2 is great to make beautiful boxplots really quickly. Sometimes, you may have multiple sub-groups for a variable of interest. In those situation, it is very useful to visualize using “grouped boxplots”. In R, ggplot2 package offers multiple options to visualize such grouped boxplots. Let us […]

Filed Under: Boxplot facet_wrap, Boxplots with ggplot, Grouped Boxplot, R Tips Tagged With: Boxplot facet_wrap, Grouped Boxplot, Grouped Boxplot in ggplot2

How To Reorder a Boxplot in R? Hint: Use forcats

February 19, 2019 by cmdlinetips

reorder boxplot R

Sometimes, when one is making boxplot with ggplot2, one might like to order the boxes in a boxplot in a specific way. For example, one might want to sort the boxes in boxplot in ascending or descening order based on the mean or median values of groups in the boxplot. Reordering boxplots can reveal the […]

Filed Under: R Tips, reorder Boxplot in ggplot2, Reorder boxplot with forcats Tagged With: reorder Boxplot in ggplot2, Reorder boxplot with forcats

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Interim pages omitted …
  • Page 12
  • 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