1007 search results for "how to import image file to R"

The perfect t-test

May 18, 2015
By
The perfect t-test

I've created an easy to use R script that will import your data, and performs and writes up a state-of-the-art dependent or independent t-test. The goal of this script is to examine whether more researcher-centered statistical tools (i.e., a one-click analysis script that checks normality assumptions, calculates effect sizes and their confidence intervals, creates good figures,...

Read more »

Analyzing R-Bloggers’ posts via Twitter

May 18, 2015
By
Analyzing R-Bloggers’ posts via Twitter

For those who don’t know, every time a new blog post gets added to R-Bloggers, it gets a corresponding tweet by @Rbloggers, which gets seen by Rbloggers’ ~20k followers fairly fast. And every time my post gets published, I can’t help but check up on how many people gave that tweet some Twitter love, ie. “favorite”d or...

Read more »

Interactive maps for the web in R

May 15, 2015
By
Interactive maps for the web in R

Static MapsIn the last post I showed how to download economic data from the World Bank's website and create choropleth maps in R (Global Economic Maps).In this post I want to focus more on how to visualize those maps.Sp PackageProbably the simplest way...

Read more »

Global Economic Maps

May 12, 2015
By
Global Economic Maps

IntroductionIn this post I am going to show how to extract data from web pages in table format, transform these data into spatial objects in R and then plot them in maps.ProcedureFor this project we need the following two packages: XML and raster.The first package is used to extract data from HTML pages, in particular from the sections marked...

Read more »

Git pushing Shiny Apps with Docker & Dokku

May 11, 2015
By
Git pushing Shiny Apps with Docker & Dokku

At this post i will show you how to deploy Shiny Apps easily with a simple git push. But, what’s a git push? I’m referring to the git command used with remote repositories. With this command you can deploy apps easily with a PaaS (Platform as a Service) like Heroku. If you never heard about The post

Read more »

Centering and Standardizing: Don’t Confuse Your Rows with Your Columns

May 11, 2015
By
Centering and Standardizing: Don’t Confuse Your Rows with Your Columns

R uses the generic scale( ) function to center and standardize variables in the columns of data matrices. The argument center=TRUE subtracts the column mean from each score in that column, and the argument scale=TRUE divides by the column standard devi...

Read more »

How are you feeling..? – Election 2015

May 7, 2015
By
How are you feeling..? – Election 2015

The way we communicate is changing. The social media revolution can literally change governments. Twitter is one of the leading mediums through which we, the people, pour forth our informed opinion or raging vitriol, our messages of peace or diatribes … Continue reading →

Read more »

corrected MCMC samplers for multivariate probit models

May 5, 2015
By
corrected MCMC samplers for multivariate probit models

“Moreover, IvD point out an error in Nobile’s derivation which can alter its stationary distribution. Ironically, as we shall see, the algorithms of IvD also contain an error.”  Xiyun Jiao and David A. van Dyk arXived a paper correcting an MCMC sampler and R package MNP for the multivariate probit model, proposed by Imai and

Read more »

RStudio v0.99 Preview: Graphviz and DiagrammeR

May 1, 2015
By
RStudio v0.99 Preview: Graphviz and DiagrammeR

Soon after the announcement of htmlwidgets, Rich Iannone released the DiagrammeR package, which makes it easy to generate graph and flowchart diagrams using text in a Markdown-like syntax. The package is very flexible and powerful, and includes: Rendering of Graphviz graph visualizations (via viz.js) Creating diagrams and flowcharts using mermaid.js Facilities for mapping R objects into graphs, diagrams, and flowcharts.

Read more »

Dockerizing a Shiny App

April 30, 2015
By

After a long pause of more than four months, I am finally back to post here. Unfortunately, many commitments prevented me keep posting, but coming back, i changed the deployment (now this blog runs entirely within a docker container with some other cool things I intend to post more forward) and wrote this post. 1. The post

Read more »