r/DataSciencewithR • • Dec 30 '18

Data science cheat sheets

4 Upvotes

r/DataSciencewithR • • May 20 '21

Exploratory Data Analysis in R from R-Bloggers

3 Upvotes

EDA (Exploratory Data Analysis) made easy with full code in R from R-Bloggers! https://www.r-bloggers.com/2021/05/exploratory-data-analysis-eda/


r/DataSciencewithR • • Dec 05 '20

Getting your data into R from Google Sheets!

3 Upvotes

Great post with full code and examples on getting data into R from Google Sheets. https://arbor-analytics.com/post/getting-your-data-into-r-from-google-sheets/


r/DataSciencewithR • • Dec 04 '20

New R Package

Thumbnail
github.com
3 Upvotes

r/DataSciencewithR • • Oct 17 '20

How to create reusable models and multi graph analysis fast in R!

3 Upvotes

r/DataSciencewithR • • Aug 20 '20

How to create a scatter plot in R with full code from R-Bloggers!

3 Upvotes

r/DataSciencewithR • • Aug 12 '20

Is there racism in healthcare? Great use of data science to try and improve outcomes in minorities.

3 Upvotes

r/DataSciencewithR • • Jul 26 '20

Learn to code for free this summer - or help your kids to learn coding for free!

3 Upvotes

r/DataSciencewithR • • Jul 22 '20

Building a predictive model in R super fast with the Rattle package!

3 Upvotes

r/DataSciencewithR • • Jun 27 '20

R color matched parenthesis!

3 Upvotes

r/DataSciencewithR • • Jun 11 '20

R GitHub Tidyverse code repository!

3 Upvotes

r/DataSciencewithR • • Jun 11 '20

Network Visualization In R With Gephi!

3 Upvotes

r/DataSciencewithR • • Jun 11 '20

Free Market Analysis course with lots of R applications!

3 Upvotes

r/DataSciencewithR • • May 29 '20

Have you looked at the new Learnr package? Create easy tutorials in R from rMarkdown!

3 Upvotes

r/DataSciencewithR • • May 08 '20

Animated R Version of Pacman with ggplot and gganimate!

3 Upvotes

Its pretty cool what you can do with R : https://github.com/mcanouil/ggpacman


r/DataSciencewithR • • Apr 24 '20

LSTM in R

3 Upvotes

Hi all Hope everyone is well!

Does someone have experience with multivariate time series using LSTM on R using keras?

Thanks!


r/DataSciencewithR • • Nov 17 '19

Animate bar graphs with new library barracer!

3 Upvotes

If you like ggplot and gganimate then you need to try barracer: https://github.com/jl5000/barRacer


r/DataSciencewithR • • Nov 17 '19

How to add a company logo or similar to a ggplot graph!

3 Upvotes

r/DataSciencewithR • • Oct 18 '19

Logistic regression (GLM) and interactions

3 Upvotes

Hi everyone--running a glm models to compare blocks of code--what percentage of the variance (pseud-r-squared and the Wald statistic) is explained by one group of variables, compared to another group, etc. For example, the first set of variables are the constants, followed by three measures of efficiency, followed by two measures of productivity, and so forth.

The issue for me is that I strongly suspect that there are interaction/moderator effects. I understand the code (hopefully---results<-glm(ADVERSEEVENTS~FTEALL+STUFACR+PROGRAM+GRADRATE*YEAR, with the last of these being the interaction variable.

My issue is I feel there is a lot of guesswork until one "gets lucky"--not, in my opinion, a good way to build a model (out of luck). Is there a standard procedures, such as specific graphs or statistical tests that might help me discover where interactions might exist?


r/DataSciencewithR • • Sep 21 '19

Dealing with Skewness on data in R - full code!

3 Upvotes

r/DataSciencewithR • • Aug 10 '19

Quick Time Series Analysis in R with the - Baltimore Water Quality Dataset!

3 Upvotes

Great video that walks you through seasonality, tests, and 4 models for comparison (ETS, Auto Arima, etc.). At the end there is even a custom arima and it shows how to build it, pick the prq values and more. Complete walk through. The dataset is 5 months of water quality data from Baltimore, MD for 2018. The video forecasts lead levels in the Baltimore water supply. Pretty interesting stuff. https://youtu.be/UBDevJvH1m4


r/DataSciencewithR • • Feb 12 '19

Geocoding with R not using a google api

3 Upvotes

So I used to use www.datasciencetoolkit.org for geocoding by way of the `ggmap` package in R. To my dismay the service was shutdown, I found it to be absolutely amazing. I could try and setup my own server with the image and or instructions he has made available, but in the interim I am looking for another geocode package to use that does not use Google Maps API. Currently using `tmaptools::geocode_OSM()` but I find it to be not as good, meaning `DSK` would return results where `geocode_OSM()` will not.

Any thoughts on a good package that is not reliant on Google?

I suppose using https://geocoding.geo.census.gov/ would work but I am not familiar with how to do the POST/GET request, and it is enormously slow, unless you upload a batch file, and even then it does not always return results.

My current script looks like:

# Geocode File ####

for(i in 1:nrow(origAddress)) {

print(paste("Working on geocoding: ", origAddress$FullAddress[i]))

if(

is.null(

suppressWarnings(

suppressMessages(

geocode_OSM(

origAddress$FullAddress[i]

)

)

)

)

) {

print(

paste(

"Could not get record for: "

, origAddress$FullAddress[i]

, ". Trying next record..."

)

)

origAddress$lon[i] <- ''

origAddress$lat[i] <- ''

} else {

print(

paste(

"Getting Result For: "

, origAddress$FullAddress[i]

)

)

result <- geocode_OSM(

origAddress$FullAddress[i]

, return.first.only = T

, as.data.frame = T

)

origAddress$lon[i] <- as.numeric(result[3])

origAddress$lat[i] <- as.numeric(result[2])

}

}

# Get all records that were not found and geocode on city/town, state, zip

for(i in 1:nrow(origAddress)) {

if(origAddress[i,'lon'] == ""){

print(

paste(

"Working on geocoding:"

, origAddress$PartialAddress[i]

)

)

result <- geocode_OSM(

origAddress$PartialAddress[i]

, return.first.only = T

, as.data.frame = T

)

origAddress$lon[i] <- as.numeric(result[3])

origAddress$lat[i] <- as.numeric(result[2])

} else {

print("Trying nex record...")

}

}


r/DataSciencewithR • • Feb 10 '19

The Basics of Adding Color To Your Plots And Graphs In R

3 Upvotes

r/DataSciencewithR • • Jan 08 '19

The ggplot cheatsheet

3 Upvotes

r/DataSciencewithR • • Dec 28 '18

The top 40 new R packages for November 2018

3 Upvotes