955 search results for "how to import image file to r"

Contraceptive Choice in Indonesia

January 20, 2015
By
Contraceptive Choice in Indonesia

I wanted yet another opportunity to get to use the fabulous caret package, but also to finally give plot.ly a try.  To scratch both itches, I dipped into the UCI machine learning library yet again and came up with a … Continue reading →

Read more »

Connecting RStudio and MySQL Docker Containers – an example using the ergast db

January 17, 2015
By
Connecting RStudio and MySQL Docker Containers – an example using the ergast db

building on Dockerising Open Data Databases – First Fumblings and my Book Extras – Data Files, Code Files and a Dockerised Application, I just figured out how to get the ergast db into a MySQL docker container and then query it from RStudio: Download and unzip the f1db.sql.gz file to f1db.sql install these docker-mysql-scripts run

Read more »

Some basics for base graphics

January 15, 2015
By
Some basics for base graphics

by Joseph Rickert One of the greatest strengths of the R language is surely the base graphics capabilities. Grid graphics, lattice, ggplot2, bigvis and the many R packages that interface with javascript D3 graphics have added astounding capabilities, well beyond what can be achieved with base graphics alone. Nevertheless, the quick, one line, base graphics plots ( like plot()...

Read more »

Interactive R Notebooks on powerful cloud hardware

January 13, 2015
By
Interactive R Notebooks on powerful cloud hardware

by Nick Elprin Co-Founder Domino Data Lab "R Notebooks" use the IPython Notebook UI to run R (rather than Python) in notebook cells, giving you an interactive R environment hosted on scalable servers, accessible through a web browser. This post describes how and why we built our "R Notebooks" feature. Our product, Domino, is a platform that facilitates the...

Read more »

Simulated Annealing Feature Selection

January 12, 2015
By
Simulated Annealing Feature Selection

As previously mentioned, caret has two new feature selection routines based on genetic algorithms (GA) and simulated annealing (SA). The help pages for the two new functions give a detailed account of the options, syntax etc. The package already has functions to conduct feature selection using simple filters as well as recursive feature elimination (RFE). RFE...

Read more »

Multivariate analysis of death rate on the map of Europe

January 11, 2015
By
Multivariate analysis of death rate on the map of Europe

Eurostat has information on death rates by cause and NUTS 2 region. I am trying to get this visually displayed on the map. To get there I map all causes to three dimensions via a principal components analysis. These three dimensions are subsequently tr...

Read more »

Interactive visualizations with R – a minireview

January 9, 2015
By
2015-01-10 00_34_37-Clipboard

Interactive visualization allows deeper exploration of data than static plots. Javascript libraries such as d3 have made possible wonderful new ways to show data. Luckily the R community has been active in developing R interfaces to some popular javascript libraries to enable R users to create interactive visualizations without knowing any javascript. In this post I have reviewed...

Read more »

WrightMap: Multifaceted models

January 7, 2015
By
WrightMap: Multifaceted models

We received an email from a user who was interested in displaying results from a multifaceted model in WrightMap. In the WrightMap manual, we show how to use multifaceted results from ConQuest: fpath <- system.file("extdata", package = "WrightMap") model4 <- CQmodel(file.path(fpath, "ex4a.mle"), file.path(fpath, "ex4a.shw")) wrightMap(model4, item.table = "rater", interactions = "rater*topic", step.table = "topic") (See this tutorial for more details.) But...

Read more »

Top 77 R posts for 2014 (+R jobs)

January 7, 2015
By
Top 77 R posts for 2014 (+R jobs)

R-bloggers.com is 5 years old this month! In celebration, this post share links to the top 77 most read R posts of 2014 (+stats on R-bloggers, + top R jobs for the beginning of 2015)

Read more »

Mapping Seattle Crime

January 6, 2015
By
Mapping Seattle Crime

Last week I published a data visualization of San Francisco crime. This week, I’m mapping Seattle crime data. The map above is moderately complicated to create, so I’ll start this tutorial with a simpler case: the dot distribution map. Seattle crime map, simplified version First, we’ll start by loading the data. Note that I already The post

Read more »