Monte Carlo Part Two

June 12, 2018
By
Monte Carlo Part Two

In a previous post, we reviewed how to set up and run a Monte Carlo (MC) simulation of future portfolio returns and growth of a dollar. Today, we will run that simulation many, many, times and then visualize the results. Our ultimate goal is to build a Shiny app that allows an end user to build a custom portfolio, simulate...

Read more »

Late anniversary edition redux: conditional vs marginal models for clustered data

June 12, 2018
By
Late anniversary edition redux: conditional vs marginal models for clustered data

This afternoon, I was looking over some simulations I plan to use in an upcoming lecture on multilevel models. I created these examples a while ago, before I started this blog. But since it was just about a year ago that I first wrote about this topic (and started the blog), I thought I’d post this now to mark...

Read more »

Beautiful Visualizations in R

June 12, 2018
By
Beautiful Visualizations in R

I recently discovered the R Graph Gallery, where users can share the beautiful visualizations they've created using R and its various libraries (especially ggplot2). One of my favorite parts about this gallery is a section called Art From Data, in whic...

Read more »

API Instructions

June 12, 2018
By

The Fantasy Football Analytics API allows developers to programmatically access our data in JSON format. Users must pay for a standalone subscription to obtain a unique API key granting access. The post API Instructions appeared first on Fantasy Football Analytics.

Read more »

Another Prediction for the FIFA World Cup 2018

June 12, 2018
By
Another Prediction for the FIFA World Cup 2018

Ava Yang, Data Scientist Given that the UEFA Champion League final a few weeks ago between Real Madrid and Liverpool is the only match I've watched properly in over ten years, how dare I presume I can guess that Brazil is going to lift the trophy in the 2018 FIFA World Cup? Well, here goes... By the way, if you find...

Read more »

The Popularity of Point-and-Click GUIs for R

June 12, 2018
By
The Popularity of Point-and-Click GUIs for R

  Point-and-click graphical user interfaces (GUIs) for R allow people to analyze data using the R software, without having to learn how to program in the R language. This is a brief look at how popular each one is. Knowing … Continue reading →

Read more »

Second Edition of “Processamento e Analise de Dados Financeiros com o R”

June 12, 2018
By

- It is with great pleasure that I announce the second edition of the portuguese version of my book, Processing and Analyzing Financial Data with R. This edition updates the material significantly. The portuguese version is now not only in par with the international version of the book, but...

Read more »

R 3.5.0 on Debian and Ubuntu: An Update

June 11, 2018
By

Overview R 3.5.0 was released a few weeks ago. As it changes some (important) internals, packages installed with a previous version of R have to be rebuilt. This was known and expected, and we took several measured steps to get R binaries to everybody without breakage. The question of but how do I upgrade without breaking my system was asked a...

Read more »

The ssh Package: Secure Shell (SSH) Client for R

The ssh Package: Secure Shell (SSH) Client for R

Have you ever needed to connect to a remote server over SSH to transfer files via SCP or to setup a secure tunnel, and wished you could do so from R itself? The new rOpenSci ssh package provides a native ssh client in R allows you to do that and even more, like running a command or script on...

Read more »

Merging spatial buffers in R

June 11, 2018
By
Merging spatial buffers in R

I’m sure there’s a better way out there, but I struggled to find a way to dissolve polygons that touched/overlapped each other (the special case being buffers). For example,  using the osmdata package, we can download the polygons representing hospital buildings in Bern, Switzerland. library(osmdata) library(rgdal) ; library(maptools) ; library(rgeos) q0

Read more »

Machine Learning in R with H2O and LIME: A free workshop!

June 11, 2018
By
Machine Learning in R with H2O and LIME: A free workshop!

A workshop about Machine Learning in R with H2O and LIME, from experts to R lovers. Very few seats available, register soon! The 25th of June at Mikamai. The post Machine Learning in R with H2O and LIME: A free workshop! appeared first on MilanoR.

Read more »

R Tip: use isTRUE()

June 11, 2018
By

R Tip: use isTRUE(). A lot of R functions are type unstable, which means they return different types or classes depending on details of their values. For example consider all.equal(), it returns the logical value TRUE when the items being compared are equal: all.equal(1:3, c(1, 2, 3)) # TRUE However, when the items being … Continue reading R...

Read more »

Anomaly Detection in R

June 11, 2018
By
Anomaly Detection in R

The World of Anomalies Imagine you are a credit card selling company and you know about a particular customer who makes a purchase of 25$ every week. You guessed this purchase is his fixed weekly rations but one day, this customer makes a different purchase of 700$. This development will not just startle you but … Continue reading Anomaly...

Read more »

Top Tip: Don’t keep your data prep in the same project as your Shiny app

June 11, 2018
By
Top Tip: Don’t keep your data prep in the same project as your Shiny app

...

Read more »

Customizing time and date scales in ggplot2

June 11, 2018
By
Customizing time and date scales in ggplot2

In the last post of this series we dealt with axis systems. In this post we are also dealing with axes but this time we are taking a look at the position scales of dates, time and datetimes. Since we at STATWORX are often forecasting – and thus plotting – time series, this is an important issue for us....

Read more »

Why loops are slow in R

June 10, 2018
By
Why loops are slow in R

In this post, I talk about loops in R, why they can be slow and when it is okay to use them. Don’t grow objects Let us generate a matrix of uniform values (max changing for every column). gen_grow

Read more »

tiler 0.2.0 CRAN release: Create map tiles from R

The tiler package provides a map tile-generator function for creating map tile sets for use with packages such as leaflet. In addition to generating map tiles based on a common raster layer source, it also handles the non-geographic edge case, producing map tiles from arbitrary images. These map tiles, which have a “simple CRS”, a non-geographic simple Cartesian coordinate reference...

Read more »

Create outstanding dashboards with the new semantic.dashboard package

Create outstanding dashboards with the new semantic.dashboard package

We all know that Shiny is great for interactive data visualisations. But, sometimes even the best attempts to fit all your graphs just in one Shiny page are not enough. From our experience, almost every project with growing amount of KPIs struggles with a problem of messy and not readable final reports. Here is where dashboards appear to be...

Read more »

MODIStsp v. 1.3.4 is out ! Now allowing interactive definition of processing extent!

MODIStsp v. 1.3.4 is out ! Now allowing interactive definition of processing extent!

We are happy to report that a new version of MODIStsp (1.3.4) is on CRAN as of today ! The new version introduces a strongly improved GUI (thanks mainly to @lwasser comments in her review for MODIStsp onboarding on ropensci). The new GUI facilitates the selection of layers to be processed, and allows interactive selection of the processing spatial extent over a map...

Read more »

Easy APA Formatted Bayesian Correlation

June 10, 2018
By
Easy APA Formatted Bayesian Correlation

Traditional Correlation Bayesian APA formatted Correlation Indices Posterior Credits The Bayesian framework is the right way to go for psychological science. To facilitate its use for newcommers, we implemented the bayes_cor.test function in the psycho package, a user-friendly wrapper for the correlationBF function of the great BayesFactor package by Richard D. Morey. Traditional Correlation Let’s first perform a...

Read more »

Sankey Diagram for the 2018 FIFA World Cup Forecast

June 10, 2018
By
Sankey Diagram for the 2018 FIFA World Cup Forecast

The probabilistic forecast from the bookmaker consensus model for the 2018 FIFA World Cup is visualized in an interactive Sankey diagram, highlighting the teams' most likely progress through the tournament. Bookmaker consensus model Two weeks ago we published our Probabilistic Forecast for the 2018 FIFA World Cup: By adjusting...

Read more »

RcppZiggurat 0.1.5

June 10, 2018
By
RcppZiggurat 0.1.5

A maintenance release 0.1.5 of RcppZiggurat is now on the CRAN network for R. The RcppZiggurat package updates the code for the Ziggurat generator which provides very fast draws from a Normal distribution. The package provides a simple C++ wrapper class for the generator improving on the very basic macros, and permits comparison among several existing Ziggurat implementations. This can...

Read more »

RcppGSL 0.3.6

June 10, 2018
By

A maintenance update 0.3.6 of RcppGSL is now on CRAN. The RcppGSL package provides an interface from R to the GNU GSL using the Rcpp package. Per a request from CRAN, we changed the vignette to accomodate pandoc 2.* just as we did with the most recen...

Read more »

RcppClassic 0.9.10

June 10, 2018
By

A maintenance release RcppClassic 0.9.9 is now at CRAN. This package provides a maintained version of the otherwise deprecated first Rcpp API; no new projects should use it. Per a request from CRAN, we changed the vignette to accomodate pandoc 2.* ju...

Read more »

Statistics Sunday: Creating Wordclouds

June 10, 2018
By
Statistics Sunday: Creating Wordclouds

Cloudy with a Chance of Words Lots of fun projects in the works, so today's post will be short - a demonstration on how to create wordclouds, both with and without sentiment analysis results. While I could use song lyrics again, I decided to use a different dataset that comes with the quanteda packages: all 58 Inaugural Addresses,...

Read more »

Getting data from pdfs using the pdftools package

Getting data from pdfs using the pdftools package

It is often the case that data is trapped inside pdfs, but thankfully there are ways to extract it from the pdfs. A very nice package for this task is pdftools (Github link) and this blog post will describe some basic functionality from that package. First, let’s find some pdfs that contain interesting data. For this post, I’m using the diabetes country profiles from...

Read more »

Information Security: Anomaly Detection and Threat Hunting with Anomalize

Information Security: Anomaly Detection and Threat Hunting with Anomalize

Information Security (InfoSec) is critical to a business. For those new to InfoSec, it is the state of being protected against the unauthorized use of information, especially electronic data. A single malicious threat can cause massive damage to a firm, large or small. It’s this reason when I (Matt Dancho) saw Russ McRee’s article, “Anomaly Detection & Threat Hunting...

Read more »

Simple Interactive Visualization of ’16-17 NBA Stats With Shiny

June 9, 2018
By
Simple Interactive Visualization of ’16-17 NBA Stats With Shiny

Purpose Why I Chose This Project Fantasy sports is a multi-billion-dollar industry.  Most players, including myself, just play because it’s an effective way to keep in touch with long-distance friends and the friendly competition banter is always good fun.  We don’t have enough hours in the day to stay current with all the updates and

Read more »

RcppDE 0.1.6

Another maintenance release, now at version 0.1.6, of our RcppDE package is now on CRAN. It follows the most recent (unblogged, my bad) 0.1.5 release in January 2016 and the 0.1.4 release in September 2015. RcppDE is a "port" of DEoptim, a popular package for derivative-free optimisation using differential evolution optimization, to C++. By using RcppArmadillo, the code becomes a...

Read more »

Search R-bloggers


Sponsors

Mango solutions





Zero Inflated Models and Generalized Linear Mixed Models with R



datasciencego.com

Quantide: statistical consulting and training

ODSC2 west

ODSC1_london

datasociety

http://www.eoda.de

max kuhn









Six Sigma Online Training



mljar.com

datazar.com

Our ads respect your privacy. Read our Privacy Policy page to learn more.

Contact us if you wish to help support R-bloggers, and place your banner here.