• 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
  • About
    • Privacy Policy

R Graphics Cookbook Second Edition is Available for Free

April 29, 2019 by cmdlinetips

Winston Chang's R Graphics Cookbook 2nd Edition

Winston Chang from RStudio quietly announced last week that the second edition of his popular R Graphics Cookbook: Practical Recipes for Visualizing Data is available now to buy. Not just that, the book is also available online for free at https://r-graphics.org/. Winston Chang’s first edition of R Graphics Cookbook was the first R book I […]

Filed Under: Data Science Books, R, R Graphics Cookbook, R Graphics Cookbook 2nd Edition Tagged With: Data Science Book, R Graphics Cookbook, R Graphics Cookbook 2nd Edition

PCA example using prcomp in R

April 28, 2019 by cmdlinetips

PCA plot

In this tutorial, we will learn how to perform PCA in R using prcomp() function in R. Principal Component Analysis, aka, PCA is one of the commonly used approaches to do unsupervised learning/ dimensionality reduction. It is a fantastic tool to have in your data science/Machine Learning arsenal. You will be surprised how often the […]

Filed Under: PCA example in R, PCA prcomp example, PCA with prcomp, PCA with R, Principal Component Analysis, R, R Tips Tagged With: PCA example in R, PCA prcomp example, PCA tutorial in R, PCA with R, prcomp in R, Principal Component Analysis

How To Specify Colors to Scatter Plots in Python

April 20, 2019 by cmdlinetips

Scatter plots are extremely useful to analyze the relationship between two quantitative variables in a data set. Often datasets contain multiple quantitative and categorical variables and may be interested in relationship between two quantitative variables with respect to a third categorical variable. And coloring scatter plots by the group/categorical variable will greatly enhance the scatter […]

Filed Under: Python Tips, Scatter plot Python, Specify Colors Scatter Plot Seaborn Tagged With: Colors Seaborn Scatter Plot, scatter plot colors Python, Scatter plot Python, Scatter plot with specific colors

Introduction to nest() in tidyr

April 16, 2019 by cmdlinetips

Grouping our data in specific ways and analyzing is often the most common way to make interesting observations about the data. R tidyverse offers fantastic tool set to analyze data by grouping in different ways. Tidyverse dplyr’s group_by() is one of the basic verbs that is extremely useful in most common data analyis scenarios. nest() […]

Filed Under: group_by() dplyr, nest() tidyr, nest() tidyverse Tagged With: group_by() dplyr, nest() tidyr, nest() tidyverse

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

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 40
  • Page 41
  • Page 42
  • Page 43
  • Page 44
  • Interim pages omitted …
  • Page 74
  • 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 © 2026 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version