1036 search results for "RStudio"

Five Reasons to Teach Elementary Statistics With R: #3

May 4, 2014
By
Five Reasons to Teach Elementary Statistics With R:  #3

Introduction Reason #3: RStudio’s shiny Examples “Slow” Simulation Understanding Model Assumptions Types of Error Illustrating Fine Points Playing Games

Read more »

Test coverage of the 10 most downloaded R packages

May 2, 2014
By
Test coverage of the 10 most downloaded R packages

Test coverage of the 10 most downloaded R packages 2014-04-30 Source Introduction How do you know that your code is well tested ? The test coverage is the proportion of source code lines that are executed (covered) when running the tests. It is useful to find the parts of your code that are no exercised no matter how...

Read more »

SMART Hackathon: Day 1

May 1, 2014
By
SMART Hackathon: Day 1

So day 1 of the #JHUSMARTHack 2014 is over and day 2 is underway. It's been awesome. One student estimated he did “one week's worth of work”. Some interesting (I think) things I thought about: Flooding rain is good weather for coding. (As long as no sinkholes arise) The Admiral Fell Inn is a pretty

Read more »

R in Insurance 2014: Conference Programme & Abstracts

May 1, 2014
By
R in Insurance 2014: Conference Programme & Abstracts

I am delighted to announce that the programme and abstracts for the second R in Insurance conference at Cass Business School in London, 14 July 2014, have been finalised. Register by the end of May to get the early bird booking fee.The organisers grate...

Read more »

Shiny variance inflation factor sandbox

April 30, 2014
By

In multiple regression, strong correlation among covariates increases the uncertainty or variance in estimated regression coefficients. Variance inflation factors (VIFs) are one tool that has been used as an indicator of problematic covariate collinearity. In teaching students about VIFs, it may be useful to have some interactive supplementary material so that they can manipulate factors affecting the uncertainty in...

Read more »

How to do a silent install of R

April 30, 2014
By
How to do a silent install of R

In this post, I’ll introduce how to do a silent install of R. Assume that you are a faculty member at an R course and need to prepare R environments for each students’ PC. In this case, you can install…Read more ›

Read more »

Three Ways to Format R Code for Blogger

April 30, 2014
By
Three Ways to Format R Code for Blogger

Unformatted CodeIf you are like me originally then you might not think it is worth it to spend the extra energy to format your code.  After all people can just copy what you have and paste it into their preferred editor which will do its own forma...

Read more »

Example of linear regression and regularization in R

April 28, 2014
By

When getting started in machine learning, it's often helpful to see a worked example of a real-world problem from start to finish. But it can be hard to find an example with the "right" level of complexity for a novice. Here's what I look for: uses r...

Read more »

Floating table of contents for your html reports using knitr

April 27, 2014
By

If you love knitr and rstudio and use them to produce long reports, you probably know that you can produce a table of contents in your html (and pdf) documents. In the newer rstudio (Version 0.98.801 or later) you do it by requesting a toc in the doc header, something like this. title: "cssTest" output:

Read more »

Making Better DNS TXT Record Lookups With Rcpp

April 25, 2014
By

Technically this is Part 2 of Firewall-busting ASN-lookups. However, I said (in Part 1) that Part 2 would be about making a vectorized version and this is absolutely not about that. Rather than fib, I merely misdirect. Moving on… As you can see in Part 1, we have to resort to a system() call to do the TXT record lookup...

Read more »