Articles by Nicole Radziwill

My First R Package (Part 3)

October 12, 2019 | Nicole Radziwill

After refactoring my programming so that it was only about 10 lines of code, using 12 functions I wrote an loaded in via the source command, I went through all the steps in Part 1 of this blog post and Part 2 of this blog post to set up the R package infrastructure using ...
[Read more...]

My First R Package (Part 2)

October 12, 2019 | Nicole Radziwill

In Part 1, I set up RStudio with usethis, and created my first Minimum Viable R Package (MVRP?) which was then pushed to Github to create a new repository. I added a README: Things were moving along just fine, until I got this unkind message (what do you mean NOT an ...
[Read more...]

My First R Package (Part 1)

October 12, 2019 | Nicole Radziwill

(What does this new package do? Find out here.) I have had package-o-phobia for years, and have skillfully resisted learning how to build a new R package. However, I do have a huge collection of scripts on my hard drive with functions in them, and I keep a bunch of ...
[Read more...]

Object of Type Closure is Not Subsettable

February 22, 2019 | Nicole Radziwill

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 ...
[Read more...]

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

December 24, 2017 | Nicole Radziwill

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...]

Taking a Subset of a Data Frame in R

December 12, 2016 | Nicole Radziwill

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 ... [Read more...]
1 2

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)