# Tag: R Tutorial

## How to Create a Dataframe in R with 30 Code Examples (2022)

DataFrames are essential data structures in the R programming language. In this tutorial, we’ll discuss how to create a dataframe in R. A DataFrame in R is a tabular (i.e., 2-dimensional, rectangular) data structure used to store values of any data type. It’s a data structure of the base R, meaning that we don’t have […]

Read More## Data Visualization in R with ggplot2: A Beginner Tutorial

A famous general is thought to have said, “A good sketch is better than a long speech.” That advice may have come from the battlefield, but it’s applicable in lots of other areas — including data science. “Sketching” out our data by visualizing it using ggplot2 in R is more impactful than simply describing the […]

Read More## How to Use If-Else Statements and Loops in R

Learn to use if-else statements, for loops, and while loops to build complex conditional programs in R, a valuable skill for aspiring data scientists and R programmers alike.

Read More## Tutorial: Getting Started with R and RStudio

Get your R programming journey off on the right foot with this RStudio tutorial that walks through everything from installation to best practices.

Read More## Tidyverse Basics: Load and Clean Data with R tidyverse Tools

We’ll load, clean, and prep some Brooklyn real estate data for analysis using R and the tidyverse! Messy datasets are everywhere. If you want to analyze data, it’s inevitable that you will need to clean data. In this tutorial, we’re going to take a look at how to do that using R and some nifty […]

Read More## Tutorial: Better Blog Post Analysis with googleAnalyticsR

Learn to compare blog posts on even footing by using R programming and the googleAnalyticsR package for blog data analysis in this free tutorial.

Read More## Getting Started with R Markdown — Guide and Cheatsheet

Learn the fundamentals of R markdown in this in-depth tutorial, or simply use it as a quick reference guide and cheatsheet for R markdown formatting.

Read More## R Markdown Tips, Tricks, and Shortcuts

Make your R data analysis beautiful and your R programming workflow smoother with these tips, tricks, and shortcuts that’ll turn you into an R markdown pro!

Read More## 23 RStudio Tips, Tricks, and Shortcuts

RStudio is a powerful tool for data analysis. Here are 23 tips, tricks, and shortcuts to turn you into an RStudio power user!

Read More## Tutorial: Web Scraping in R with rvest

Learn how to do web scraping in R by using the rvest package to scrape data about the weather in this free R web scraping tutorial.

Read More## R API Tutorial: Getting Started with APIs in R

Learn how to access APIs using your R programming skills in this free tutorial covering how to get data from NASA’s free ISS API.

Read More## R Functions Tutorial: Writing, Scoping, Vectorizing, and More!

Learn how to use R functions, including how to use built-in generic functions, how to use vectorization, and how to write your own custom functions.

Read More## Tutorial: Poisson Regression in R

Poisson Regression can be a really useful tool if you know how and when to use it. In this tutorial we’re going to take a long look at Poisson Regression, what it is, and how R programmers can use it in the real world. Specifically, we’re going to cover: What Poisson Regression actually is and […]

Read More## Using Linear Regression for Predictive Modeling in R

In R programming, predictive models are extremely useful for forecasting future outcomes and estimating metrics that are impractical to measure. For example, data scientists could use predictive models to forecast crop yields based on rainfall and temperature, or to determine whether patients with certain traits are more likely to react badly to a new medication. […]

Read More