302 search results for "PCA"

partools: a Sensible R Package for Large Data Sets

August 5, 2015
By
partools: a Sensible R Package for Large Data Sets

As I mentioned recently, the new, greatly extended version of my partools package is now on CRAN. (The current version on CRAN is 1.1.3, whereas at the time of my previous announcement it was only 1.1.1. Note that Unix is NOT required.) It is my contention that for most R users who work with large … Continue reading...

Read more »

Multivariate Techniques in Python: EcoPy Alpha Launch!

August 3, 2015
By
Multivariate Techniques in Python: EcoPy Alpha Launch!

I’m announcing the alpha launch of EcoPy: Ecological Data Analysis in Python. EcoPy is a Python module that contains a number of  techniques (PCA, CA, CCorA, nMDS, MDS, RDA, etc.) for exploring complex multivariate data. For those of you familiar … Continue reading →

Read more »

Feature Engineering versus Feature Extraction: Game On!

August 3, 2015
By
Feature Engineering versus Feature Extraction: Game On!

"Feature engineering" is a fancy term for making sure that your predictors are encoded in the model in a manner that makes it as easy as possible for the model to achieve good performance. For example, if your have a date field as a predictor and there are larger differences in response for the weekends versus the weekdays, then...

Read more »

Seattle’s Fremont Bridge Bicyclists Again in the News

August 2, 2015
By
Seattle’s Fremont Bridge Bicyclists Again in the News

Back in 2013, David Smith had done analysis of bicycle trips across Seattle’s Fremont bridge. More recently, Jake Vanderplas (creator of Python’s very popular Scikit-learn package) wrote a nice blog post on “Learning Seattle Work habits from bicycle counts” at … Continue reading →

Read more »

R tutorial on the Apply family of functions

July 28, 2015
By
R tutorial on the Apply family of functions

Introduction In our previous tutorial Loops in R: Usage and Alternatives , we discussed one of the most important constructs in programming: the loop.  Eventually we deprecated the usage of loops in R in favor of vectorized functions. In this post we highlight some of the most used vectorized functions: the apply functions. In the present post we show the use The post

Read more »

Pull the (character) strings with stringi 0.5-2

June 23, 2015
By

A reliable string processing toolkit is a must-have for any data scientist. A new release of the stringi package is available on CRAN (please wait a few days for Windows and OS X binary builds). As for now, about 850…Read more ›

Read more »

Tips & Tricks 9: Shape Changes and Hypothetical Shapes

June 18, 2015
By
Tips & Tricks 9: Shape Changes and Hypothetical Shapes

Geomorph users,This month's tips and tricks was prompted by a user email from Tim Astrop, thanks Tim!How can I create a hypothetical shape representing a point in shape space?Today we will use some relatively simple R code to create a shape based on position in a Principal Component (PC) shape space and visualise this shape as a change from the mean using...

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 »

Reinventing the wheel for ordination biplots with ggplot2

May 14, 2015
By
Reinventing the wheel for ordination biplots with ggplot2

I’ll be the first to admit that the topic of plotting ordination results using ggplot2 has been visited many times over. As is my typical fashion, I started creating a package for this purpose without completely searching for existing solutions. Specifically, the ggbiplot and factoextra packages already provide almost complete coverage of plotting results from

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 »