search for: brainimaging

Displaying 3 results from an estimated 3 matches for "brainimaging".

2012 Mar 19
2
by output into data frame
...me roughly like this: subid cortisol.auc amylase.auc 2 919.05 6834.8 3 728.25 24422.05 etc. What is a nice way to make that happen? Here is the code and data that I am using, which should run directly if you copy and paste it: sanity.check<-read.csv("http://brainimaging.waisman.wisc.edu/~perlman/testdata.csv", header=TRUE, sep = ",") lab.samples <- subset(sanity.check,Sample!='before bed' & Sample!='morning after') lab.samples$Sample<-factor(lab.samples$Sample) lab.samples.stress<-subset(lab.samples,challenge=='stres...
2012 May 08
1
There must be a better way to do this
I made this rather cool plot which I am quite pleased with: http://brainimaging.waisman.wisc.edu/~perlman/data/BeeswarmLinesDemo.pdf However, I feel there must be a better way to do it than what I did. I'm attaching the code to create it, which downloads the data by http so it should run for you if you have the current version of beeswarm installed (which was just update...
2011 Mar 22
1
Group labels in lattice barchart
...This seems like a very critical piece of information which, for some reason, is kept well-hidden... Any help will be greatly appreciated! The following commands should produce an example plot by pasting directly into R, assuming you have a net connection: library(lattice) load(url('http://brainimaging.waisman.wisc.edu/~perlman/testdata.rdata')) print(barchart(Count~Rating | RateType*Temperature, data=tf, groups=StimCount, stack=TRUE, scales=list(alternating=c(3)), ylim=c(0,11), par.settings=list(superpose.polygon=list(col=rainbow(10))), auto.key = list(points = FALSE, rectangles = TRUE, spa...