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

Ontario First Nations Libraries Compared Using Ontario Open Data

April 7, 2014
By
Ontario First Nations Libraries Compared Using Ontario Open Data

I recently downloaded a very cool dataset on Ontario libraries from the Ontario Open Data Catalogue.  The dataset contains 142 columns of information describing 386 libraries in Ontario, representing a fantastically massive data collection effort for such important cultural institutions (although … Continue reading →

Read more »

Exploratory data analysis on P/E ratio of Indian Stocks

March 31, 2014
By
Exploratory data analysis on P/E ratio of Indian Stocks

Price Earnings ratio (P/E) is one of the very popular ratios reported with all stocks.  Very simply this is thought as - Current Market Price / Earning per Share.   An operational definition of Earning per Share would be Total profit divided by # of Shares .  I will redirect interested readers for further reading towww.investopedia.com/terms/p/price-earningsratio.aspIn this post,...

Read more »

A Simple Introduction to the Graphing Philosophy of ggplot2

March 28, 2014
By
A Simple Introduction to the Graphing Philosophy of ggplot2

Blog post: a very basic introduction to building data plots using ggplot2 in R. #Rstats

Read more »

sjPlot 1.3 available #rstats #sjPlot

March 27, 2014
By
sjPlot 1.3 available #rstats #sjPlot

I just submitted my package update (version 1.3) to CRAN. The download is already available (currently source, binaries follow). While the last two updates included new functions for table outputs (see here and here for details on these functions), the current update only provides small helper functions as new functions. The focus of this update

Read more »

Wright Map Tutorial – Part 3

March 25, 2014
By
Wright Map Tutorial – Part 3

In this part of the tutorial, we’ll show how to load ConQuest output to make a CQmodel object and then WrightMaps. We’ll also show how to turn deltas into thresholds. All the example files here are available in the /inst/extdata folder of the github. If you download the latest version of the package, they should be in a folder...

Read more »

Easily Assign Attributes for Your Metrics in R

March 23, 2014
By
Easily Assign Attributes for Your Metrics in R

One of the most common mistakes I've seen is failure to transform variable attributes before analyzing data in R, or other statistical software packages. It is critical your variables are in the right format (numeric, integer, factor, etc.) or you run ...

Read more »

Accessing global weather model data using the rNOMADS package in R

March 23, 2014
By
Accessing global weather model data using the rNOMADS package in R

The rNOMADS package interfaces with the NOAA Operational Model Archive and Distribution System to provide access to 55 operational (i.e. real time and prediction) models describing the state of the ocean and the atmosphere. rNOMADS has been used to get wind and wave data for a real time sailing game, to quantify solar energy available

Read more »

Stochastic search variable selection in JAGS

March 22, 2014
By
Stochastic search variable selection in JAGS

Stochastic search variable selection (SSVS) identifies promising subsets of multiple regression covariates via Gibbs sampling (George and McCulloch 1993). Here’s a short SSVS demo with JAGS and R.Assume we have a multiple regression problem:We suspect only a subset of the elements of $\boldsymbol{\beta}$ are non-zero, i.e. some of the covariates have no effect.Assume $\boldsymbol{\beta}$...

Read more »

R: Text Mining on Twitter #PrayForMH370 Malaysia Airlines

March 21, 2014
By
R: Text Mining on Twitter #PrayForMH370 Malaysia Airlines

It's been two weeks for search and rescue operations on Malaysia Airlines Flight MH370, after it vanished from the radar on March 8, 2014. And wherever they are, we hope and pray for them.Photo from VENUS - Wall of Hope & Prayers for MH370In this p...

Read more »

Using R: barplot with ggplot2

March 19, 2014
By
Using R: barplot with ggplot2

Ah, the barplot. Loved by some, hated by some, the first graph you’re likely to make in your favourite office spreadsheet software, but a rather tricky one to pull off in R. Or, that depends. If you just need a barplot that displays the value of each data point as a bar — which is

Read more »