Blog Archives

Object of Type Closure is Not Subsettable

February 22, 2019
By
Object of Type Closure is Not Subsettable

I started using R in 2004. I started using R religiously on the day of the annular solar eclipse in Madrid (October 3, 2005) after being inspired by David Hunter’s talk at ADASS. It took me exactly 4,889 days to figure out what this vexing error means, even though trial and error helped me move through it most every...

Read more »

A Simple Intro to Q-Learning in R: Floor Plan Navigation

December 24, 2017
By
A Simple Intro to Q-Learning in R: Floor Plan Navigation

This example is drawn from “A Painless Q-Learning Tutorial” at http://mnemstudio.org/path-finding-q-learning-tutorial.htm which explains how to manually calculate iterations using the updating equation for Q-Learning, based on the Bellman Equation (image from https://www.is.uni-freiburg.de/ressourcen/business-analytics/13_reinforcementlearning.pdf): The

Read more »

Reinforcement Learning: Q-Learning with the Hopping Robot

December 24, 2017
By
Reinforcement Learning: Q-Learning with the Hopping Robot

Overview: Reinforcement learning uses “reward” signals to determine how to navigate through a system in the most valuable way. (I’m particularly interested in the variant of reinforcement learning called “Q-Learning” because the

Read more »

A Newbie’s Install of Keras & Tensorflow on Windows 10 with R

October 15, 2017
By
A Newbie’s Install of Keras & Tensorflow on Windows 10 with R

This weekend, I decided it was time: I was going to update my Python environment and get Keras and Tensorflow installed so I could start doing tutorials (particularly for deep learning) using

Read more »

Where Do Z-Score Tables Come From? (+ how to make them in R)

February 2, 2017
By
Where Do Z-Score Tables Come From? (+ how to make them in R)

Every student learns how to look up areas under the normal curve using Z-Score tables in their first statistics class. But what is less commonly covered, especially in courses where calculus is

Read more »

Taking a Subset of a Data Frame in R

December 12, 2016
By
Taking a Subset of a Data Frame in R

I just wrote a new chapter for my students describing how to subset a data frame in R. The full text is available at https://docs.google.com/document/d/1K5U11-IKRkxNmitu_lS71Z6uLTQW_fp6QNbOMMwA5J8/edit?usp=sharing but here’s a preview: Let’s load in ChickWeight,

Read more »

Using xda with googlesheets in R

June 18, 2016
By
Using xda with googlesheets in R

Want to do a quick, exploratory data analysis in R of your data that’s stored in a spreadsheet on Google Drive? You’re in luck, because now you can use the new xda

Read more »

Analytic Hierarchy Process (AHP) using preferenceFunction in ahp

January 5, 2016
By
Analytic Hierarchy Process (AHP) using preferenceFunction in ahp

Yesterday, I wrote about how to use gluc‘s new ahp package on a simple Tom-Dick-Harry one level decision making problem using Analytic Hierarchy Process (AHP). One of the cool things about that

Read more »

Analytic Hierarchy Process (AHP) with the ahp Package

January 3, 2016
By
Analytic Hierarchy Process (AHP) with the ahp Package

On my December to-do list, I had “write an R package to make analytic hierarchy process (AHP) easier” — but fortunately gluc beat me to it, and saved me tons of time

Read more »

Course Materials for Statistics (The Easier Way) With R

January 3, 2016
By
Course Materials for Statistics (The Easier Way) With R

Are you an instructor with a Spring 2016 intro to statistics course coming up… and yet you haven’t started preparing? If so, I have a potential solution for you to consider. The materials

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)