Publications by Jason

PalmerPenguinsTrial1

25.08.2024

Bill Length V.S. Body Mass library(ggplot2) library(palmerpenguins) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ lubridate 1.9.3 �...

42 sym R (1676 sym/7 pcs) 3 img

fa21 p3

11.10.2023

I attest that I worked on this problem set individually I attest that I only spoke to Inés & the GSIs about this exam library(dplyr) ## Warning: replacing previous import 'lifecycle::last_warnings' by ## 'rlang::last_warnings' when loading 'tibble' ## Warning: replacing previous import 'ellipsis::check_dots_unnamed' by ## 'rlang::check_dots_unnam...

6093 sym R (14820 sym/80 pcs) 7 img

LaTeX and Sweave

01.12.2009

LaTeX is a typesetting language that is known for its beautiful mathematical formulas. It is similar to HTML in that you write your document in plain text and process (or compile) it to create a postscript or PDF file. You will need to download a LaTeX processor for your platform. On Windows, TeXnicCenter (http://www.texniccenter.org/) is very go...

3282 sym

Recreating Gapminder World Map with R & ggplot2

11.01.2011

Gapminder has posted an interesting chart using world development indicators from the World Bank. I thought it would be a good exercise to recreate this chart using R and ggplot2. While playing with the data, not log transforming GDP provides some interesting, and perhaps different, interpretation. The R script and graphics are below. Google G...

762 sym R (3225 sym/1 pcs) 8 img

Relationship Between SAT & College Retention

21.01.2011

Here is a quick analysis of the relationship between SAT score and student retention. The data is from the Integrated Postsecondary Education Data System (IPEDS) and analyzed using R. This was a quick analysis and would be careful about making any strong conclusions. The source for running this analysis along with some additional graphics that ar...

4973 sym 2 img 1 tbl

Code: parsing Slovenian exchange rate data

30.01.2011

Some time ago I found myself in need of daily exchange rates for the Slovenian Tolar (though I can’t now remember why). Unfortunately, I wasn’t able to find the data in a readily usable format at the Bank of Slovenia website and had to instead use the XML file they provide. Since the XML file is in Slovenian, and because the file is somewh...

1214 sym

Code: LaTeX tables for lme4 models

13.03.2011

I have recently discovered memisc, an extremely useful R package by Martin Elff (see his memisc page here). The package contains any number of useful functions, and is particularly good at helping one manage and recode survey data. However, by far my favorite thing about the package is the mtable() function. mtable() makes it easy to compare th...

1329 sym 2 img

data.table: an R package everyone should use

22.03.2011

I’m not sure how I missed this package, but I am sure glad I’ve found it. The data.table package for R provides something of a reconceptualization of the standard data.frame object. Though it remains (mostly) compatible with data.frame. The advantage of data.table is how it treats tables as if they were tables in a database. This allows extr...

1157 sym

Code: extended model support for mtable

22.03.2011

I finally got around to organizing and packaging my complete set of extended model support for mtable in Martin Elff’s memisc library. Here is a list of the models supported: coxph, survreg – Cox proportional hazards models and parametric survival models from the survival library. aftreg, phreg, weibreg – parametric AFT, proportional hazar...

1499 sym R (1661 sym/2 pcs) 2 img

R-bloggers: I’m syndicated!

27.03.2011

Today Left Censored became a contributor to R-Bloggers. If you’ve never heard of it, R-Bloggers is a blog aggregator that brings together R-related posts from a large number of blogs across the Internet. It’s an excellent resource for those who want to see what’s up in other corners of the R world, and over the last couple months I have mad...

1040 sym