Richard A. Lent, Ph.D.

All generalizations are false.

Web Mapping with Free Software Tools

Introduction GIS in a nutshell Desirable features of a web mapping platform Set up your data for mapping Google Maps QGIS and the qgis2web plugin RStudio and the R Leaflet Package In conclusion Reading time: 36 minute(s) @ 200 WPM. Introduction Web mapping is an application of geographic information systems (GIS) that involves the creation of interactive digital maps displayed and manipulated through a web browser.

Multivariate Analysis with R

Preliminaries Multivariate data A map Distance matrices Cluster analysis Mantel test Multidimensional scaling Principal components analysis Discriminant function analysis Epilogue Reading time: 32 minute(s) @ 200 WPM. Preliminaries At some time or another, most users of statistics find themselves sitting in front of a large pile of computer output with the realization that it tells them nothing that they really want to know.

An Introduction to R

Prologue Getting a feel for R The console Function calls and arguments HINT: Getting help Some graphics HINT: Command history and workspace Getting data into R Data frames Creating data frames HINT: Data management in R and RStudio. Exploratory data analysis Scatterplot matrix HINT: R packages Summary statistics and data screening Box plots Stem-and-leaf display Categorical variables: factors Some confirmatory analysis More graphics R scripts (command files) An R menu system: R-commander Epilogue Reading time: 22 minute(s) @ 200 WPM.

A Comment About Comments

Reading time: 1 minute(s) @ 200 WPM. Readers of this website (if any) may have noticed that I recently implemented Disqus comments. This is very easy to do in a Hugo-generated website. Sign up for a free Disqus account, put your Disqus shortname (basically your account ID) into your Hugo configuration file, and Hugo takes care of generating all the necessary code when it creates your static website. Disqus sends you email notifications whenever somebody writes a comment, and you can moderate comments, write replies, delete comments, mark comments as spam, and yada yada yada.

How I Deploy My Website to GitHub Using RStudio, blogdown, and Hugo

Reading time: 3 minute(s) @ 200 WPM. I have worked for days trying to get this website up and running on GitHub Pages. I think I finally have gotten it to work. This is that story. I have studied the following sources of punditage: Making a Website Using Blogdown, Hugo, and GitHub pages Update: Deploying Hugo-generated websites on personal GitHub Pages How to make a GitHub pages blog with RStudio and Hugo Including image using blogdown Building a Blog with Blogdown and GitHub The Hugo documentation Create Blogs and Websites with R Markdown Hosting on GitHub Pages Build_Site and Serve_Site Output Issues Create a Free Personal Academic Website with Hugo All of the articles and discussions were enlightening, and helped me arrive at what I believe to be the simplest way to deploy a Hugo-generated website on GitHub Pages, at least for me.

An R script for calculating the reading time of an R Markdown file

Reading time: 2 minute(s) @ 200 WPM. To see how we just did that, read on. Because psychological research tells us that including estimated reading times can increase reader engagement with digital content, I decided to include reading times for my riveting posts. So I wrote a simple R script. Here it is, as an R code chunk: ```{r echo=FALSE} bytes The script is very simple, such that even I could program it.

Musings on blogdown and Hugo

Reading time: 4 minute(s) @ 200 WPM. I am a huge fan of R and RStudio, especially relative to their use in creating reproducible research (see RStudio as a Research and Writing Platform). I was thus thrilled to learn that a new R package, blogdown, was being developed for producing websites from R Markdown files using RStudio and the static website generator, Hugo. This website was built and is maintained using blogdown and Hugo running inside of RStudio, and is hosted on GitHub Pages.