Publications by steve

CRP241 F24 Assignment 4

11.11.2024

# ~~~~~~~~~~~~~~~~~~~~~~~~~ # ~ CRP 241| Assignment 4 ~ # ~~~~~~~~~~~~~~~~~~~~~~~~~ # QUESTION 1 -- PREVEND DATA # Prevention of REnal and Vascular END-stage Disease # (PREVEND) study # A study by Joosten, et al. examined the association of statin use # and other variables with cognitive ability (as measured by the # Ruff Figural Fluen...

69 sym R (13769 sym/62 pcs) 2 img 1 tbl

HM4-Problem5-Rscript.R

02.04.2024

# # Assignment 4 CRP245 Spring 2023 # # Prevention of REnal and Vascular END-stage Disease (PREVEND) study # A study by Joosten, et al. examined the association of statin use # and other variables with cognitive ability (as measured by the Ruff # Figural Fluency Test (RFFT) measure of cognitive function) in a # cross-sectional cohort of 4...

26 sym R (8624 sym/20 pcs) 6 img

CRP241F23-Assignment4

03.11.2023

# ~~~~~~~~~~~~~~~~~~~~~~~~~ # ~ CRP 241| Assignment 4 ~ # ~~~~~~~~~~~~~~~~~~~~~~~~~ # QUESTION 1 -- PREVEND DATA # Prevention of REnal and Vascular END-stage Disease # (PREVEND) study # A study by Joosten, et al. examined the association of statin use # and other variables with cognitive ability (as measured by the # Ruff Figural Fluency Test ...

62 sym R (12492 sym/57 pcs) 2 img

Document

31.10.2023

# ~~~~~~~~~~~~~~~~~~~~~~~~~ # ~ CRP 241| Assignment 4 ~ # ~~~~~~~~~~~~~~~~~~~~~~~~~ # QUESTION 1 -- PREVEND DATA # Prevention of REnal and Vascular END-stage Disease # (PREVEND) study # A study by Joosten, et al. examined the association of statin use # and other variables with cognitive ability (as measured by the # Ruff Figural Fluen...

62 sym R (12470 sym/57 pcs) 2 img

Assignment 4 Problem 5 CRP245 Spring 2023

07.04.2023

# # Assignment 4 CRP245 Spring 2023 # # Prevention of REnal and Vascular END-stage Disease (PREVEND) study # A study by Joosten, et al. examined the association of statin use # and other variables with cognitive ability (as measured by the Ruff # Figural Fluency Test (RFFT) measure of cognitive function) in a # cross-sectional cohort of 4...

25 sym R (8607 sym/19 pcs) 6 img

Students in predominantly ethnic minority classes want segregated education very much. The others don’t.

07.10.2010

I just did this for what will hopefully be a book chapter on our Divided Education – Divided Citizens research project with NEPC. Explanation further below for anyone more interested in the actual topic About the graphic: I like raw-data plots like this, made possible by Hadley Wickhams’s amazing ggplot2 package for the stats package R. Eve...

3458 sym 4 img

Which parents are satisfied with their child’s education? Those who know their class representative well. Especially in poor schools.

14.10.2010

Another result from our OSI / ESP survey of nearly 11000 parents in ten countries. Dots are individual parents. The y-axis is individual parents’ overall satisfaction with their children’s education. Red dots are parents who know their parent representatives well, blue dots are parents who do not; i.e. colour is mapped to the variable par.rep...

1701 sym 2 img

Horizon plots with ggplot2, sort-of

19.08.2012

The Timely Portfolio blog via R-bloggers has recently published some interesting entries about the value of horizon plots for visual comparison of a number of time series. Very nice it looks too. You can read more about them here. The trick to understanding them is to imagine that each row was orginally a line chart of six times the height. Firs...

1711 sym R (429 sym/1 pcs) 4 img

Heatmap tables with ggplot2

20.08.2012

I wrote before about heatmap tables as a better way of producing frequency or other tables, with a solution which works nicely in latex. It is possible to do them much more easily in ggplot2, like this library(Hmisc) library(ggplot2) library(reshape) data(HairEyeColor) P=t(HairEyeColor[,,2]) Pm=melt(P) ggfluctuation(Pm,type="heatmap")+geom_text...

1458 sym R (255 sym/1 pcs) 6 img

Heatmap tables with ggplot2, sort-of

27.08.2012

I wrote before about heatmap tables as a better way of producing frequency or other tables, with a solution which works nicely in latex. It is possible to do them much more easily in ggplot2, like this library(Hmisc) library(ggplot2) library(reshape) data(HairEyeColor) P=t(HairEyeColor[,,2]) Pm=melt(P) ggfluctuation(Pm,type="heatmap")+geom_text...

1460 sym R (255 sym/1 pcs) 6 img