search for: supp

Displaying 20 results from an estimated 94 matches for "supp".

Did you mean: spp
2001 Jul 25
2
pch with plot and legend
I'm trying to plot a scatterplot of two variables using pch to plot different characters based on a third factor. Here is my example > data("ToothGrowth") > attach(ToothGrowth) > levels(supp) [1] "OJ" "VC" > plot(len ~ dose,pch=as.numeric(supp)) > legend(locator(1),pch=as.numeric(supp),legend=levels(supp)) The command as.numeric(supp) returns 2 2 2 2 ... 1 1 1 ... for the factor supp which the plot command uses nicely, but the pch command for the legend uses...
2007 Nov 21
1
Manipulating x axis in stripchart
Hi all, I I need to manipulate the x axis in a stripchart. I will use one of the data sets included in R to explain what I need to do. attach(ToothGrowth) stripchart(len[supp=='VC']~dose[supp=='VC'], vertical=TRUE, group.names=c('A','A','A')) stripchart(len[supp=='OJ']~dose[supp=='OJ'], add=TRUE, vertical=TRUE, at=c(1:3)+.1, group.names=c('B','B','B')) As you can read from the code above,...
2006 Mar 18
3
Nil result on find & pretty print
...Ruby and to Ruby on Rails and have spent the last few days trying to get my head around it. I think I am already hooked but am suffering badly from years of programming a non-OO RDBMS. I am trying to learn by attempting to produce a system for my work. I have a main table sdocs which has a field supplier_id which is an entry in another table (suppliers) to lookup supplier name etc. At the moment I am not using the id field of suppliers in an attempt to get around the following error. (The agile development book suggests that the nil error only results from a search on a key and not from a sea...
2006 Nov 17
2
s.e. on interaction plots
Is it possible to add standard error bars to the means on interaction plots? Thanks Murray -- Murray Pung Statistician, Datapharm Australia Pty Ltd 0404 273 283 [[alternative HTML version deleted]]
2008 Sep 12
2
Again, about boxplot
Thank you for your guys reply for my previous question. But I got one more question about the boxplot. With the code in the R-help: boxplot(len ~ dose, data = ToothGrowth, boxwex = 0.25, at = 1:3 - 0.2, subset = supp == "VC", col = "yellow", main = "Guinea Pigs' Tooth Growth", xlab = "Vitamin C dose mg", ylab = "tooth length", ylim = c(0, 35), yaxs = "i") boxplot(len ~ dose, data = ToothGrowth, add = TRUE, boxwex = 0...
2010 Sep 26
2
Changing x-axis on boxplot
...t can't get it to work.? Ideally I would like tickmarks on either side of each factor with the number for the level centered between the two tick marks.? Any suggestions? ? Thanks, ?Tim? Example: boxplot(len ~ dose, data = ToothGrowth, ??????? boxwex = 0.25, at = 1:3 - 0.2, ??????? subset = supp == "VC", col = "yellow", ??????? main = "Guinea Pigs' Tooth Growth", ??????? xlab = "Vitamin C dose mg", ??????? ylab = "tooth length", ??????? xlim = c(0.5, 3.5), ylim = c(0, 35), yaxs = "i") boxplot(len ~ dose, data = ToothGrowth, ad...
2004 May 26
0
aggregate.formula
...some time ago. Like myself, he finds aggregate very useful, but the interface a little cumbersome. I've implemented a more compact formula interface, found at the bottom of this message: data(ToothGrowth) # I used to aggregate like this: aggregate(list(len=ToothGrowth$len), list(supp=ToothGrowth$supp,dose=ToothGrowth$dose), mean) # Recently, I discovered a slightly shorter call: with(ToothGrowth, aggregate(list(len=len), list(supp=supp,dose=dose), mean)) # But aggregate.formula allows: aggregate(len~supp*dose, data=ToothGrowth, mean) # as well as subsetting: aggre...
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list, How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function? boxplot(len ~ dose, data = ToothGrowth, boxwex = 0.25, at = 1:3 - 0.2, subset = supp == "VC", col = "yellow", main = "Guinea Pigs' Tooth Growth", xlab = "Vitamin C dose mg", ylab = "tooth length", ylim = c(0, 35), yaxs = "i") boxplot(len ~ dose, data = ToothGrowth, add = TRUE, boxwex = 0...
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
...I set in the function tidLists=TRUE R crashes (Windows XP Professional SP3, 32 bit, R version 2.12.1 (2010-12-16), reproducible on two different computers) with two different error messages or non at all. Minimum examples are: library(arules) data("Adult") eclat(Adult, parameter=list(support=0.05, tidLists=FALSE)) # OK eclat(Adult, parameter=list(support=0.50, tidLists=TRUE)) # OK eclat(Adult, parameter=list(support=0.05, tidLists=TRUE)) # crashes I started to search the cause of the problem and figured out that the problem must be located in the external function reclat calle...
2002 Feb 08
0
interaction.plot (with misplaced legend) (PR#1305)
...bels for the trace factor appeared on > the plot when I did the plots in separate windows, but disappeared/cut off > when multiple plots were placed in one window. Can anybody help me? >From the example of ?interaction.plot: data(ToothGrowth) attach(ToothGrowth) interaction.plot(dose, supp, len, fixed=TRUE) # OK But the following looks quite ugly: par(mfrow=c(1,2)) interaction.plot(dose, supp, len, fixed=TRUE) interaction.plot(dose, supp, len, fixed=TRUE) par(mfrow=c(2,2)) interaction.plot(dose, supp, len, fixed=TRUE) There is not only a problem with the legend, also the m...
2011 Mar 25
2
error in bargraph.CI {sciplot}
Hi to all, Does anybody knows why this is giving an error? data(ToothGrowth) # Two-way design with options bargraph.CI(dose, len, group = supp, data = ToothGrowth, xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1, col = "black", angle = 45, cex.names = 1.25, density = c(0,20), legend = TRUE) Error in dn.call[[1]] : subscript out of bounds It is the example on bargr...
2012 Jul 06
2
Problem with Apriori
Good morning When I try to run an Apriori, I keep often the following message: checking subsets of size 1Error in apriori(tr, parameter = list(supp = 3e-05, conf = 0.05, minlen = 2, : internal error in trio library Other time it works fine on the same data. What can be the reason for this? -- Jolinda Bartlett Eighty20 Consulting Tel: 021 460 0440 Fax: 087 625 0649 3.1 East Wing The Palms 145 Sir Lowry Road Woodstock 7925 Cape Town Sout...
2008 Nov 30
4
ActionMailer weirdness: bad html '=3d' for all '='
I am getting html output in my email body with spurious characters that cannot be rendered, so that my links are not handled properly. What am I not getting here? My email body contains: -----------------clip------------- <A href=mailto:&quot;<%=h(''support-t1rxLZ7CIXjQT0dZR+AlfA@public.gmane.org'')%>? Support&quot;>Support</A><br/> with any issues. Please include your order number... -----------------clip------------- I''m getting ''=3d'' for all ''='' so that the <A href=.....
2007 Apr 09
2
Cisco GW, PRI & CallerID Name
...ever seen an actual working config. I do a debug on our Cisco gateway and I can see the callerid name, however none of the features that should send it via SIP seem to work. Cisco docs say to use the following: voice service voip signaling forward unconditional interface serial 1/0:23 isdn supp-service name calling When I enable either of those features, my calls hangup after about 30 seconds. * gives me a message "[Apr 9 22:52:22] WARNING[14660]: chan_sip.c:1916 retrans_pkt: Hanging up call A94C164B-E64D11DB-80BCE9B9-6C3796E8@192.168.1.9 - no reply to our critical packet.&qu...
2011 Oct 10
1
pmml for random forest & rules
...uot;) : no applicable method for 'pmml' applied to an object of class "c('randomForest.formula', 'randomForest')" Also, if I run these lines of code data("Adult") ## Mine association rules. rules <- apriori(Adult, parameter = list(supp = 0.5, conf = 0.9, target = "rules")) pmml(rules) I get this error: > pmml(rules) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "size", for signature "itemMatrix" With this trace...
2003 Mar 02
1
Serious memory leak in asterisk (manager)
hi all after getting some (or - a lot) of messages from nagios, claiming asterisk to be down, I found this out... astping xxx times repeatedly, and the manager fails to start. this little script was used for testing. below, I've pasted the output from 'ps axfv' before and after the DoS, showing asterisk having allocated ~2GB RAM. roy #!/usr/bin/perl -w use strict; my $i = 0;
2011 Apr 19
5
Simple Missing cases Function
...} } for (i in 1:length(miss.list)) { if (names(miss.list[[i]]) == "FALSE") { miss.list[[i]] <- 0 } } data.frame(names(data), as.numeric(miss.list)) } Example: data(ToothGrowth) data.m <- ToothGrowth data.m$supp[sample(1:nrow(data.m), size=25)] <- NA miss(data.m) [[alternative HTML version deleted]]
2008 Sep 11
4
About "Plot.new"
Hi, sorry for bothering your guys. I will trying to make some nice graph using boxplot. when I check the help file of boxplot, there is a sample code as: boxplot(len ~ dose, data = ToothGrowth, add = TRUE, boxwex = 0.25, at = 1:3 + 0.2, subset = supp == "OJ", col = "orange") legend(2, 9, c("Ascorbic acid", "Orange juice"), fill = c("yellow", "orange")) But when I run it, it shows the following error: Error in xypolygon(xx, yy, lty = "blank", col = boxfill[i]...
2017 Mar 25
5
Modules Maintaining or Removing
Hallo all, I was trying to Build LLVM with the cmake option LLVM_ENABLE_MODULES just out of curiosity. I used the RELEASE_400/final tag. It didn't work as I almost expected. So I'm wondering if the modulemaps aren't maintained anymore? If they aren't maintained anymore, why aren't they removed and that cmake option also removed?
2009 Jan 01
0
[LLVMdev] Re ducing LLVM's memory usage
...ed delete EE and llvm_shutdown in the main of fibonacci.cpp. Unfortunately, it gives me a lot of definitely lost blocks. I also have similar problems with my own code: there is a lot of lost ConstantInts. From what I saw in the LLVM code, constants are put in a statically managed structure which is supposed to be cleaned at shutdown. Vitaly C. -- View this message in context: http://www.nabble.com/Reducing-LLVM%27s-memory-usage-tp21174014p21242672.html Sent from the LLVM - Dev mailing list archive at Nabble.com.