Monthly Archives: November 2016

elasticsearchr – a Lightweight Elasticsearch Client for R

November 28, 2016
By
elasticsearchr – a Lightweight Elasticsearch Client for R

elasticsearchr: a Lightweight Elasticsearch Client for R Elasticsearch is a distributed NoSQL document store search-engine and column-oriented database, whose fast (near real-time) reads and powerful aggregation engine make it an excellent choice as an ‘analytics database’ for R&D, production-use or … Continue reading →

Read more »

Bill and Ted Make the best out of a Shi… Stata situation: Rstudio + Rstata + Stata

November 28, 2016
By
Bill and Ted Make the best out of a Shi… Stata situation: Rstudio + Rstata + Stata

After rewatching the thanksgiving classic, Bill and Ted’s Excellent Adventure, it reminded me of the history of #Rstats and its current status as the defacto software for general data programming. The most excellent thing about R, is the literate programming options you have. As a data analyst, you are Bill S. Preston Esquire (or Ted

Read more »

Data frame exercises Vol. 2

November 28, 2016
By
Data frame exercises Vol. 2

Answers to the exercises are available here. Exercise 1 Consider two vectors: x=seq(1,43,along.with=Id) y=seq(-20,0,along.with=Id) Create a data.frame df: __df Id Letter x y 1 1 a 1.000000 -20.000000 2 1 b 4.818182 -18.181818 3 1 c 8.636364 -16.363636 4 2 a 12.454545 -14.545455 5

Read more »

A heat map of Divvy bike riders in Chicago

November 28, 2016
By
A heat map of Divvy bike riders in Chicago

Chicago's a great city for a bike-sharing service. It's pretty flat, and there are lots of wide roads with cycle lanes. I love Divvy and use it all the time. Not so much in the winter though: it gets very cold here. Nonetheless, this heat map of Divvy riders, created in R by Austin Wehrwein, reveals a hardcore set...

Read more »

Simulation in R For AP Statistics

November 28, 2016
By
Simulation in R For AP Statistics

Make a simulation and function using R. I continue to teach some R programming in my AP Stats class because this is an essential skill for them to have. We are now in chapter five of our textbook, Probability and Simulation. I had my students review the parking problem on page 290. The problem asked

Read more »

Simple Anagram Finder Using R

November 27, 2016
By
Simple Anagram Finder Using R

One of my early programming projects in Python was a word game solver (example: word jumble solver) – the early version was a simple script, which grew The post Simple Anagram Finder Using R appeared first on ProgrammingR.

Read more »

More about Flexible Frequency Models

November 27, 2016
By
More about Flexible Frequency Models

Modeling the frequency is one of the most important aspects in operational risk models. In the previous post (https://statcompute.wordpress.com/2016/05/13/more-flexible-approaches-to-model-frequency), the importance of flexible modeling approaches for both under-dispersion and over-dispersion has been discussed. In addition to the quasi-poisson regression, three flexible frequency modeling techniques, including generalized poisson, double poisson, and Conway-Maxwell poisson, with their implementations

Read more »

anytime 0.1.1: More robust

November 27, 2016
By

CRAN just accepted the newest release 0.1.1 of anytime, following the previous five releases since September. anytime is a very focussed package aiming to do just one thing really well: to convert anything in integer, numeric, character, factor, ordered, ... format to POSIXct (or Date) objects -- and to do so without requiring a format string. See the anytime page, or...

Read more »

String Manipulation – Exercises

November 27, 2016
By
String Manipulation – Exercises

In this set of exercises we will practice functions that enable us to manipulate strings.You can find more about string manipulation functions in Handling and Processing Strings in R e-book. Answers to the exercises are available here. If you have different solution, feel free to post it. Exercise 1 Load text from the file and

Read more »

Basic Shiny Application

November 27, 2016
By
Basic Shiny Application

In this article I will describe how I built a basic web application with R and Shiny. Shiny is a web application framework for R and can be used to build and deploy interactive...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)