Welcome to the website of Gaston Sanchez, statistical programmer, data analyst, and faculty member at UC Berkeley and Berkeley City College.

The Saga of PLS

This text narrates the story behind the origins, development, and evolution of Partial Least Squares (PLS) methods. The perfect companion reading for any course, workshop, or seminar about PLS.
Read More

PLS Path Modeling with R

This book provides a hands-on introduction to Partial Least Squares Path Modeling (PLS-PM) using the R package "plspm"

Handling and Processing Strings in R

This book aims to help you get started with manipulating strings in R. It provides an overview of several resources for string manipulation, general topics, common operations, and other tricks.

Star Wars Arc Diagram

Inspired by the Similar Diversity project of Philipp Steinweber and Andreas Koller, I spent some time to produce my own version of an arc diagram… based on the Star Wars movie scripts.
Read More

Mining Twitter

I setup a compilation of short scripts to analyze tweets with R. Although this project has been deprecated, most of its content might help you to get some inspiration and try your own analysis.
Read More


A gallery with some of my weird abstract paintings in R. These pictures have also been kindly contributed to the Data Art section of the R Graph Gallery curated by Yan Holtz.
Enjoy it

Fundamentos Teoricos de Maniobras con Cuerdas

This is a book in Spanish about the theoretical fundamentals of Rope Techniques.
Read More

Poemario personal

Last but not least, a random collection of personal poems in Spanish.
Read More