search for: depauw

Displaying 20 results from an estimated 79 matches for "depauw".

2008 Mar 30
2
Definition of "wrapper"?
...tually similar. I've looked in a couple of the classic R texts, the extensions and developers' manuals, and R help archives, and didn't find a definition. Of course, I may have missed it. Thanks in advance. Bryan ************** Bryan Hanson Professor of Chemistry & Biochemistry DePauw University 602 S. College Avenue Greencastle, IN 46135 PHONE 765-658-4602 FAX 765-658-6084 hanson at depauw.edu http://academic.depauw.edu/~hanson/deadpezsociety.html http://www.depauw.edu/acad/chemistry/ http://academic.depauw.edu/~hanson/UMP/index.html
2009 Nov 16
4
Where are usages like "== 2L" documented?
Gurus: I keep seeing other people?s code that contain ideas like If (x == 2L) X[-1L] X - 1L I have some idea of what?s going on, but where is the use of concepts like ?2L? documented? Thanks, Bryan ************* Bryan Hanson Acting Chair Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA
2013 Jun 12
2
grDevices::convertColor XYZ space is it really xyY?
grDevices::convertColor has arguments 'from' and 'to' which can take on value 'XYZ'. Can someone confirm that 'XYZ' is the same as the CIE chromaticity coordinates that are also sometimes refered to as 'xyY' in the literature? Or are these the CIE tristimulus values? It looks to me like the first case is true, but I would appreciate hearing from one of
2010 Nov 29
3
Replacing several rows of a matrix at once
...is replace multiple rows simultaneously at once. I suppose I can write a function, but this seems pretty fundamental so I feel I must be missing some obvious alternative. I'm feeling like I'm in the Inferno! TIA. Bryan ************* Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA > sessionInfo() R version 2.12.0 (2010-10-15) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] splines datasets tools grid grDevices graphics utils stats...
2010 Mar 14
2
Why doesn't vec[-real.number] give an error or warning? Kids do the darndest things!
...ehavior be valuable? I can see that it avoids doing floor or as.integer in computations where an index is needed but real numbers are generated for whatever reason, but is that common? Thanks for any insight. Bryan ************* Bryan Hanson Acting Chair Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA
2011 Nov 19
0
Package HiveR 0.1-4 Released
...xpect a number of small additions will be made in the next month or so, as well as some large improvements in speed for 3D plots. Please do let me know if you have questions, feature requests or find problems. Thanks, Bryan **************** Prof. Bryan Hanson Dept of Chemistry & Biochemistry DePauw University Greencastle IN 46135 USA academic.depauw.edu/~hanson/deadpezsociety.html github.com/bryanhanson academic.depauw.edu/~hanson/UMP/Index.html _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages
2011 Nov 19
0
Package HiveR 0.1-4 Released
...xpect a number of small additions will be made in the next month or so, as well as some large improvements in speed for 3D plots. Please do let me know if you have questions, feature requests or find problems. Thanks, Bryan **************** Prof. Bryan Hanson Dept of Chemistry & Biochemistry DePauw University Greencastle IN 46135 USA academic.depauw.edu/~hanson/deadpezsociety.html github.com/bryanhanson academic.depauw.edu/~hanson/UMP/Index.html _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages
2009 Sep 07
1
xyplot {lattice} are different types possible for each panel?
...As you can see, I tried to do a panel function following something I saw in the Lattice book, but this has no effect at all. Looks like it may have to be more elaborate, but I¹m stuck. Any suggestions appreciated! Thanks, Bryan ************* Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA y <- rnorm(100) x <- rnorm(100) names <- rep(c("Set 1", "Set 2", "Set 3"), 4) df <- data.frame(y = y, x = y, names = as.factor(names)) p <- xyplot(y ~ x | names, layout = c(1, 3), panel = function(...) { p...
2008 Jul 21
3
Lattice Version of grconvertX or variant on panel.text?
Still playing with Lattice... I want to use panel.text(x, y etc) but with x and y in plot coordinates (0,1), not user coordinates. I think if I had this problem with traditional graphics, I could use grconvertX to make the change. I did come across convertX {grid} but this doesn't seem to be what I need. Is there a function like grconvertX in Lattice, or is there a flag or some other
2011 Dec 01
2
nipals in the chemometrics package in R
Hello i need some precision about nipals in the chemometrics package in R . When i use nipals in chemometrics i obtain T and P matrix. I really don't understand what to do with these two matrix to obtain the scores for every the component (like in spss fo example) Comp1 Comp2 Comp3 quest1 0,8434 0,54333 0,3466 quest2 0,665 0,7655 0,433 Thank you very
2011 Dec 01
2
Writing a function, want a string argument to define the name of the excel sheet to be called
My question is this: is there a way I can make one of the arguments of the function be a string the user can enter, and then have that be the excel filename? ie, foo <- function(x,y,NAME){ #make a matrix with x rows and y cols M <- matrix(nrow=x,ncol=y) #write the matrix write.table(M, file = "result.csv",append=TRUE, sep = ",") } I've had a look but I
2011 Jun 23
2
plotmath: unexpected SPECIAL
...he wrong position). The 3rd throws and error due to "unexpected SPECIAL". Would someone recommend a way to format this? I want the two phrases connected by a right arrow. TIA, these things always elude me. Bryan *********** Bryan Hanson Professor of Chemistry & Biochemistry DePauw University xlab1 <-expression(paste("Phase Angle ", phi, " Neat-O")) xlab2 <- expression(paste("treatment: low stress", "high stress", sep = "%->%")) xlab3 <- expression(paste("treatment: low stress", %->%, "high str...
2009 Dec 29
1
ggplot2, building a simple formula interface
..."C"), 25) f2 <- rep(c("A", "B"), 50) mydata <- data.frame(res, f1, f2) df <- simple(~ res + f1, mydata) p <- ggplot(df, aes(f1, res)) + geom_boxplot() plot(p) Thanks, Bryan ************* Bryan Hanson Acting Chair Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA > sessionInfo() R version 2.10.1 (2009-12-14) x86_64-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] datasets tools grid graphics grDevices utils stats methods base other attach...
2009 Aug 11
1
Selecting/Accessing the last vector in a list of a list of data.frames
...V1 and V2 "to the surface" but then I've lost my carefully constructed naming. Any suggestions appreciated. It seems like there might be a simple approach, but I may be too tired right now to see it! Thanks, Bryan ************* Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA
2009 Oct 23
1
ggplot2: stat_bin ..count.. with geom_text when NA is present
...t why the counts don't appear on my plot? I suppose I can always clean the data first, but it would be much more practical to do that in the background during the preparation of the plot. Thanks as always, Bryan ************* Bryan Hanson Acting Chair Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA
2010 Jul 12
2
findInterval and data resolution
...laborious. I think I can construct the full set of indices I want with a2[1]:a2[2] but is there a more clever way to do this? I'm thinking there might be a function out there that I am not aware of. TIA, Bryan ************* Bryan Hanson Acting Chair Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA
2013 Mar 18
4
plotting CIE chromaticity diagram?
Has anyone plotted or is it possible to plot CIE *xy* chromaticity diagram http://en.wikipedia.org/wiki/File:CIE1931xy_blank.svg I need this plot in color. ishida [[alternative HTML version deleted]]
2008 Apr 17
2
Suggestions: Terminology & Pkgs for following spectra over time
...like image analysis (but only 2D), but it's not quite either of those and I need to know what it's really called to investigate further. Any suggestions as to R pkgs and key words/phrases will be appreciated. TIA, Bryan ************* Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle Indiana USA
2009 Oct 06
1
ggplot2: mapping categorical variable to color aesthetic with faceting
...s of A, B with lrg, sm, and then create one long vector of colors for the entire plot? I tried something like this, and was not successful, but perhaps could be with more work. All advice appreciated, Bryan (session info below) ************* Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA > sessionInfo() R version 2.9.2 (2009-08-24) i386-apple-darwin8.11.1 locale: en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] grid datasets tools utils stats graphics grDevices methods [9] base other atta...
2015 Feb 18
3
Color Coding in R-devel/NEWS
On this feed, which I think is the place we should monitor upcoming changes: http://developer.r-project.org/blosxom.cgi/R-devel/NEWS What is the significance of the green and pink highlighting? Thanks, Bryan