Below are the solutions to these exercises on “Pro-grammatically Creating Text Outputs in R.” #################### # # # Exercise 1 # # # #################### prices <- c( 14.3409087337707, 13.0648270623048, 3.58504267621646, 18.5077076398145, 16.8279241011882 ) sprintf(“$%.2f”, prices) ## [1] “$14.34” “$13.06” “$3.59” “$18.51” “$16.83” #################### # # # Exercise 2 # # # #################### fn <- c(25, […]

# Bonus-solution

## Create and Format a Google Sheet Within R: Solutions

Below are the solutions to these exercises on “Create and Format a Google Sheet Within R.” #################### # # # Exercise 1 # # # #################### library(googlesheets) suppressMessages(library(dplyr)) #################### # # # Exercise 2 # # # #################### gs_auth(new_user = TRUE) #################### # # # Exercise 3 # # # #################### # Assignment is important […]

## Bonus: Built-in Numerical Functions: Solutions

Below are the solutions to these exercises on “Built-in Functions.” #################### # # # Exercise 1 # # # #################### abs(-10) #################### # # # Exercise 2 # # # #################### sqrt(36) #################### # # # Exercise 3 # # # #################### ceiling(4.5678) #################### # # # Exercise 4 # # # #################### floor(4.5678) #################### […]

## Protected: Geo Mapping with Leaflet: Solutions

There is no excerpt because this is a protected post.

## Protected: Bonus: Obtaining Twitter Data Solutions

There is no excerpt because this is a protected post.

## Protected: Bonus: Sentiment Analysis using TidyText Solutions

There is no excerpt because this is a protected post.

## Protected: Bonus: Basic Data Exploration in R Solutions

There is no excerpt because this is a protected post.

## Protected: Comparing Vectors Solutions

There is no excerpt because this is a protected post.

## Protected: Bonus: Data Frame exercises – solutions

There is no excerpt because this is a protected post.

## Protected: Bonus: Dummify Your Data Solutions

There is no excerpt because this is a protected post.