Skip to content

Michael Grogan

  • Facebook
  • Twitter
  • LinkedIn
  • Google Plus
  • Github
  • Home
  • Work With Me
  • Blog
  • Terms and Conditions
  • Contact Me

Month: June 2016

Import Data Types Into R

June 25, 2016 Michael Grogan

The below snippets of code illustrate how to import data into R from several different formats. Import data in CSV format mydata = read.csv(“C:/R/MGFinance.csv”) #read csv file mydata Import data in JSON format install.packages(“jsonlite”) library(jsonlite)   data

Continue reading »

rvest: Web Scraping Using R

June 24, 2016 Michael Grogan

rvest is one of the standard libraries when it comes to web scraping using R. In the following example, we use R to import a sample table from this webpage using the aforementioned library. With the sample table below containing […]

Continue reading »

Statistical Power Calculation Using R (power.t.test)

June 23, 2016 Michael Grogan

The statistical power of a test allows us to determine the minimum sample size that would be expected to yield significant results for a test. In R, this can be calculated by using the power.t.test command. We have already discussed […]

Continue reading »

Search This Website…

Recent Posts

  • k-Nearest Neighbors: Analysis of Breast Cancer Data
  • tidytext: Word Clouds and Sentiment Analysis in R
  • How To Create a Twitter App and API Interface Via Python
  • How To Integrate Shiny and R
  • kNN: K-Nearest Neighbours Algorithm in R
  • Big Data Helps You Target The Right Market
  • Why All Professional Bloggers Should Use Data Science

Categories

  • Business Intelligence
  • Data Science
  • mySQL
  • PostgreSQL
  • Python
  • R
  • SQL
©2017 Michael Grogan