search for: tricam

Displaying 9 results from an estimated 9 matches for "tricam".

2011 Nov 16
1
Cubic Gradient Descent Package
R - Does anyone know of a cubic gradient descent package? I found grad.desc() but that only allows for a 2d function. I have 3 free parameters and thus am looking for a 3d function. Thank you, -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center S355 Elliot Hall: 612-626-0072 www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2011 Aug 05
1
If find x, then y, else do nothing
...lse leave the variable as is" u.ppl <- (unique(init.dat1$grid)) l.ppl <- length(u.ppl) for (i in 1:l.ppl) { if (grep("4",init.dat1$Slide1_RESP)) {2 == 1, 4 == 2}; else init.dat1$Slide1_RESP } -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center Office: S355 Elliot Hall - Twin Cities Campus Phone: 612-626-0072 Email: patze003@umn.edu Please consider the environment before printing this email www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2012 Mar 05
2
Running Total
...L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L) total <- {}; for(i in 1:length(dat$Valid)){ total[i] <- ifelse(dat$Valid[i-1]==1, total[i] + 1, total[i]) } Cheers, -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center S355 Elliot Hall: 612-626-0072 www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2011 Jul 27
1
Hidden Markov Models in R
...is the feedback the participant receives. Any help would be greatly appreciated. I think what I want to do is run the model on each participant to generate the most probable path and then compare that to the actual path to see if they match up. Best, -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center Office: S355 Elliot Hall - Twin Cities Campus Phone: 612-626-0072 Email: patze003@umn.edu Please consider the environment before printing this email www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2011 Jun 28
2
Loop through each subject
...sep = "\t", append = "green.txt"), col.names = FALSE, row.names = FALSE) write.table(colr, file = paste(dat$Subject[[1]], sep = "\t", append = "red.txt"), col.names = FALSE, row.names = FALSE) } } -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center Office: S355 Elliot Hall - Twin Cities Campus Phone: 612-626-0072 Email: patze003@umn.edu Please consider the environment before printing this email www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2012 Oct 19
2
Axis Breaks with ggplot2
...ts(panel.grid.major = none) + opts(axis.line = theme_segment(colour = "grey35")) + opts(background.fill = none) censorC + scale_y_continuous(limits = c(0,7), expand = c(0,0), 'Rating') + opts(legend.position = "none") Best, -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center S355 Elliot Hall: 612-626-0072 www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2011 Aug 22
1
Counting Elements Conditionally
...L), bin = c(NA, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1)), .Names = c("Rev", "FF", "bin" ), row.names = c(NA, -40L), class = "data.frame") -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center Office: S355 Elliot Hall - Twin Cities Campus Phone: 612-626-0072 Email: patze003@umn.edu Please consider the environment before printing this email www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2011 Aug 15
0
Indexing Permutation Values
...j + 1 } } minSum = min(thesum) minErr[s] = min(thesum) bestDeltas[s] = min(which(thesum==minSum)) * incx + minx # bestDeltasGammas[s] <- matrix(min(which(thsum==minSum))*inc + min) betterThanChance[s] = sum(pbinom(0:minSum, length(dat2$choice), 0.5)) -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center Office: S355 Elliot Hall - Twin Cities Campus Phone: 612-626-0072 Email: patze003@umn.edu Please consider the environment before printing this email www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]
2012 Oct 31
2
Aggregate Table Data into Cell Frequencies
...7", "temp8", "temp8", "temp8", "temp9", "temp9", "temp9")), .Names = c("delayValue", "Freq", "id"), row.names = c(NA, 951L), class = "data.frame") -- Edward H. Patzelt Research Assistant – TRiCAM Lab University of Minnesota – Psychology/Psychiatry VA Medical Center S355 Elliot Hall: 612-626-0072 www.psych.umn.edu/research/tricam [[alternative HTML version deleted]]