Category Archives: Website



Applied R Code is a reference site for R programming.  The site is developed and maintained to provide practical code for immediate application.  Three goals inform website content:

    • Provide solutions to expedite R code development and data analysis;
    • Celebrate aspects of data science and scientific programming that excite; and
    • Share project work for real-world application and benefit
Posted in Website | 2 Comments

Geospatial Data and Mapping in R

Slides presented at a recent meeting of  Doha R users.

Geospatial Data and Mapping in R (882 downloads)


Posted in Website | Comments Off on Geospatial Data and Mapping in R

From Least Squares to k-Nearest Neighbor (kNN)

The linear model is one of the most widely used data science tools and one of the most important.  In contrast, there is another basic tool:  the k nearest neighbor method (kNN).  Prediction and classification are two uses for these models.  In practice, classification results (ie. feature classes) are used by machines in many ways: to recognize faces in a crowd, to “read” road signs by distinguishing one letter from another and to set voter registration districts by separating population groups.  This article applies and compares linear and non-linear classification methods

Posted in Data Science, Modeling, R Programming, Website | Comments Off on From Least Squares to k-Nearest Neighbor (kNN)

Renewable Energy and the Carbon Majors

CarbonMajorsThe business case for renewable energy and CO2 reduction is changing as carbon tracking and court cases shift focus from carbon emitters to the ultimate producers of coal, oil and natural gas … to the “carbon majors.”

A 2013 study published in the journal Climatic Change cites 90 companies by name and responsible for 63% of human induced greenhouse gas emissions since the beginning of the industrial revolution.  National industrial plans (NIPs) and energy companies from the US and Europe dominate the list with familiar names like ChevronTexaco, ExxonMobil, Saudi Aramco, British Coal, and RWE.

Posted in Website | Comments Off on Renewable Energy and the Carbon Majors

“Hello Dolly!”

testTest #1: Image Insert and Word Wrap

Test, test.  This is a test … “Hello Dolly!”  You are reading my first web posting with some basic tests

Word wrap: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duisaute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Posted in Website | Comments Off on “Hello Dolly!”