search for: singer

Displaying 20 results from an estimated 377 matches for "singer".

Did you mean: linger
2006 Jun 06
2
error bars in lattice xyplot *with groups*
...Deepayan Sarkar has provided a very useful solution for simple circumstances (https://stat.ethz.ch/pipermail/r-help/2005-October/081571.html), yet I am having trouble getting it to work when the "groups" setting is enabled in xyplot (i.e. multiple lines). To illustrate this, consider the singer data generated by the above linked solution previously submitted: ##################### library(lattice) singer.split <- with(singer, split(height, voice.part)) singer.ucl <- sapply(singer.split, function(x) { st <- boxplot.stats(x)...
2006 Oct 12
2
adding error bars to lattice plots
Dear R users, About a year ago Deepayan offered a suggestion to incorporate error bars into a dotplot using the singer data as an example <<http://finzi.psych.upenn.edu/R/Rhelp02a/archive/63875.html>>. When I try to utilize this code with a grouping variable, I get an error stating that the subscripts argument is missing. I have tried to insert them in various ways, but cannot figure out where they...
2009 May 27
1
Changing point color/character in qqmath
...ath sorts the data (but not 'col' or 'pch') before plotting. Sorting the data before calling qqmath will ensure that the sorting does not change the order of the data. For example, to obtain one distribution per voice part and color the point by part 1 or part 2: library(lattice) singer <- singer singer <- singer[order(singer$height),] singer$part <- factor(sapply(strsplit(as.character(singer$voice.part), split = " "), "[", 1), levels = c("Bass", "Tenor", "Alto", "Soprano")) singer$num <- factor(sappl...
2005 Aug 30
2
crosstab for n-way contingency tables
Dear list. New to R, I'm looking for a way of using crosstab to output low-dimensional (higher than 2) contingency tables (frequencies, per-cents by rows, % by columns, mean, quantiles....) I'm looking for something of the following sort dataframe: singers, categorical variates: voice category (soprano,mezzo-soprano, ...) , voice type( drammatic, spinto, lirico-spinto, lirico, leggero), school (german, italian, french, russian, anglo-saxon, other);repertory (opera, Lieder, oratorio, operetta) continuous variate: age I would like to tabulate the f...
2004 Oct 25
1
Multiple formula in one block
Hi Everybody: I want to draw some chart using command "histogram" and add another curve in it. Example: require(stats) data(singer) library(lattice) histogram( ~ height | voice.part, data = singer, nint = 17, endpoints = c(59.5, 76.5), layout = c(2,4), aspect = .5, xlab = "Height (inches)") Now I got a chart of 8 blocks, then I need add :" abline(v=mean(singer$height), col=2, lwd=2) " or any other curve...
2007 Jul 13
1
Subplot.
Hello All, I wanted to do many plots (in my case, wanted to get 6 histograms) on the same figure. Is there a method in R that analogous to 'subplot' in MATLAB? Any help will be very much appreciated. thanks, Suman [[alternative HTML version deleted]]
2010 Nov 02
1
How to make QueryParser select entire word like "H.O.T"
Hi, I'm using xapian to build my search engine, but met with a problem. The code snippet is like: ----------------------Code begin------------------------------------------------------------- Xapian::QueryParser qp; qp.add_prefix("Singer", "S"); Xapian::Query query = qp.parse_query("Singer:s.h.e", Xapian::QueryParser::FLAG_PARTIAL|Xapian::QueryParser::FLAG_AUTO_MULTIWORD_SYNONYMS |Xapian::QueryParser::FLAG_PHRASE ); cout << "Performing query `" << query.get_description() << &quot...
2004 Nov 06
1
basic bwplot query
...countries. Each country falls into one of two groups. I'd like to use the lattice library's bwplot to present boxplots of the country-level data, with a separate panel for each group, but showing only the relevant countries in each panel. Here's an analogous example using the "singer" data provided with the lattice. Say we assign the voice parts to groups, "M" and "F": tmp <- rep("F",128) tmp2 <- rep("M",length(129:nrow(singer))) sex <- c(tmp,tmp2) We'd like a two-panel figure showing the voice part boxplots for group...
2008 May 05
2
bwplot
Hi, I have 2 questions about bwplot in R : 1) How to change the order of my different boxes in the graph ? 2) How to rename the names of the differents boxes ? because I know how to do that with boxplot (using names) but I do not find the equivalent parameter in bwplot. thanks, C?dric
2010 Nov 02
1
Colour filling in panel.bwplot from lattice
...one colour? Nevertheless the following example shows, that 'fill' from panel.bwplot is able to work with more than one colour. But this only works with one colour or multiples of 5 colours: ------------------------------------------------- bp1 <- bwplot(voice.part ~ height, data = singer, main="1 color works", panel = function(...) { panel.bwplot(col=c("yellow"), fill=c("yellow"), ...) }) bp2 <- bwplot(voice.part ~ height, data = singer, main = "3 colors do NOT work&...
2010 Sep 20
1
Adjusting Font Size: lattice / bwplot
Hello, If you run the following code with lattice installed: bwplot(voice.part ~ height, data=singer, xlab="Height (inches)") There will be some text in the graph e.g. Soprano 1, Soprano 2, etc - 60, 65, etc and the title: Height (Inches). How can one make the font for this text larger and/or bold? Also, is there a way to thicken or bold the lines of the box and whisker plot? Thank y...
2008 Sep 05
1
controlling lattice plot ticks with relation="free"
How do you persuade lattice to draw tick marks on both the left and right side of the y-axis, when relation="free" in the scales component? #Ticks appear on both sides histogram(~height|voice.part, data=singer) ##Ticks only on left histogram(~height|voice.part, data=singer, scales=list(y=list(relation="free"))) Providing tck as a vector of length 2 doesn't seem to work, neither does setting alternating=3 (since the argument is ignored, and I don't really want the labels on both sid...
2009 Apr 27
1
Changing color of points in violin plot
Hello, I am trying to graph a violin plot like the example in panel.violin(lattice) with the singer data - see below Does anyone know how to change the color of the boxplot on the graph from blue to green? I tried a number of changes, but to no avail. Thanks for your help, John bwplot(voice.part ~ height, singer, panel = function(..., box.ratio) { panel.viol...
2001 Aug 27
1
Error meesage from RGUI
I am using Version 1.3.0 (2001-06-22) on Windows/2000. Had loaded the 'lattice' and 'grid' libraries and was trying the example on densityplot: data(singer) densityplot( ~ height | voice.part, data = singer, layout = c(2, 4), xlab = "Height (inches)", bw = 5) ## Using a predefined panel function to fit a normal distribution densityplot( ~ height | voice.part, data = singer, layout = c(2, 4), x...
2010 Mar 02
1
sem package and growth curves
I have been working through the book "Applied longitudinal data analysis: modeling change and event occurrence" by Judith D. Singer and John B. Willett. I have been working examples using SAS and also using it as an opportunity for learning to use R for statistical analysis. I ran into some difficulties in chapter 8 which deals with using structural equation modeling. I have tried to use the sem package to replicate the prob...
2012 Jun 21
3
/* Check for midi header in logical stream */
2012/6/21 Andr?s Gonz?lez <acandido at hi-iberia.es> > ** > On 20/06/12 15:01, Marc wrote: > > Hello List, > > > Hello Marc, > > > as an long time macintosh user , musican/producer/programmer , i am very > upset that another great technology (DSS ) vanished because of http > streaming so i turned my interest towards icecast, whitch seems an >
2006 Aug 24
10
Invalid HTTP format, parsing fails
Hi, I am having a bit of a problem with my app that is using mongrel. For a particular vendor we use, they are generating links that look like:
2006 Dec 06
2
problem with asterisk - calls where both sidescannot hear each other
...P traffic on any of your interfaces. Ed Nu?ez IT/Telecom Engineer 4037 Metric Drive Winter Park, FL (o) 407-384-4200 x 1656 (f) 407-384-4222 (c) 732-925-0730 -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Singer Wang Sent: Tuesday, December 05, 2006 4:23 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] problem with asterisk - calls where both sidescannot hear each other Hi, I'm looking for some help with a problem in Asterisk (possibly), and I'm confused as heck what is going on....
2004 Oct 25
0
答复: Multiple formula in one block
...³­ËÍ: r-help at stat.math.ethz.ch Ö÷Ìâ: Re: [R] Multiple formula in one block Hi YiYao, you need the `?panel.abline()' function, somehing like: panel=function(x, breaks, equal.widths, type, ...){ panel.histogram(x, breaks, equal.widths, type, ...) panel.abline(v=mean(singer$height)) } inside the `histogram()' function could do the trick. I hope it helps. Best, Dimitris ---- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/16/396887 Fax: +3...
2007 Nov 15
1
problem with png()
Hi, I am runing R2.6.0 (2007-10-03) on WindowsXP. If I use png() to save a plot I lose the main title. An example: ########################## outfile <- "outfile.png" p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height", main="Ingo's title") p2 <- histogram( ~ height, data = singer, xlab = "Height") png(outfile, width=800, height=800) print(p11, split=c(1,1,1,2), more=TRUE) print(p2, split=c(1,2,1,2)) dev.off() ######################## In my "outfile.png...