• 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

How to Split Text in a Column in Data Frame in R?

March 22, 2018 by cmdlinetips

tidyr's separate() to split a column into multiple columns

Very often you may have to manipulate a column of text in a data frame with R. You may want to separate a column in to multiple columns in a data frame or you may want to split a column of text and keep only a part of it. tidyr’s separate function is the best […]

Filed Under: split a column in R dataframe, tidyr's separate(), tidyr's unite() Tagged With: split a column in R dataframe, tidyr's separate, tidyr's unite()

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

How To Generate Random Numbers from Probability Distributions in R?

March 12, 2018 by cmdlinetips

Generate Random Numbers from Normal Distribution in R

Understanding probability distributions and how one can simulate random numbers from a specific probability distribution is very useful in understanding probability and use them effectively in doing data science. Here we will be looking at how to simulate/generate random numbers from 9 most commonly used probability distributions in R and visualizing the 9 probability distributions […]

Filed Under: Probability Distributions in R, R, R Tips Tagged With: Generate random numbers in R, Probability Distributions in R

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

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Page 20
  • 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