Displaying 20 results from an estimated 800 matches similar to: "Adding mean values to boxplots"
2009 Nov 15
1
setting ValueRangeProcessor at runtime
I want to set a variable number and type of ValueRangeProcessors at run time
based on a configuration file. But I seem to be running into (what I think is) a
C++ scope issue.
I tried just a simple test to see if I could add 5 VPs in a loop.
Xapian::QueryParser qparser;
Xapian::Query query;
int vp = 0;
while(vp < 5) {
Xapian::StringValueRangeProcessor sproc(vp++);
2023 Feb 15
0
Question about italics in legendg() - plotrix
Hi Nicole,
plotrix is intended to be modular, that is, it builds plots step by step.
This makes it easier to understand code that you haven't written or haven't
seen for a while. Here is an example showing how to change the font using
par():
library(plotrix)
plot(0,type="n",xlim=c(0,1),ylim=c(-1,0))
par(font=3)
legendg(0.115,-0.055,legend=c("Pan
2006 May 28
10
Equivalence of TSQL Stored Proc and User defined functions
RoR Equivalence of TSQL Stored Procedures and User defined functions
As I browsed through the tutorials and online eBook ?Programming Ruby?,
I have not come across the terms ?Stored Procedures? or ?User-defined
functions? as I know them in SQL 2000.
However, the online documentations in MySQL 5.0 show that Stored
Procedures and User-defined functions are supported in MySQL 5.0.
I wonder what
2004 Jul 25
2
Colors in survival plots
Hi,
Sorry to trouble the list - I would like to ask a question - I can't
find the answer in the r-help archives.
I am trying to plot 2 survival curves in different colors.
What I have tried is this
plot(survfit(sim.surv ~ sim.km.smpl),col="red")
but both the survival curves turn red...
Your advice would be most appreciated! Thank you.
Min-Han
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2014 Aug 21
2
pregunta
Buenas noches Javier y José,
Estoy en contra de usar attach(), asi que propongo la siguiente alternativa
con with():
# paquete
require(epicalc)
# los argumentos en ... pasan de epicalc:::cc
# ver ?cc para mas informacion
foo <- function(var1, var2, var3, ...){
or1 <- cc(var1, var2, ...)
or2 <- cc(var1, var3, ...)
list(or1 = or1, or2 = or2)
}
# datos
x <-
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
Hello
This is Elaine.
I am using package lattice to generate boxplots.
Using Richard's code, the display was almost perfect except the outlier
shape.
Based on the following code, the outliers are vertical lines.
However, I want the outliers to be empty circles.
Please kindly help how to modify the code to change the outlier shapes.
Thank you.
code
package (lattice)
dataN <-
2009 Jan 22
1
ggplot seq
Hi Hadley: Not sure if you received my email, so I am resending it again.
I have dealt with this before and I can't remember how it got resolved. It is too much data to reproduce the example below(49.000 records) but all I am after is trying to get the x axis breaks. I want my x axis to go from 27 to 51 and 1 to 25 by 2. I am trying to concatenate the breaks but it sorts the seq() in ascending
2014 Aug 21
2
pregunta
Estimados
Estoy entrenando hacer funciones que respondan a comandos,
en esta caso en la salida gráfica se observa que dice : Exposure=var3 y
outcome=var 1
quisiéramos que se reflejan los nombres de la base de datos : var1=estado,
var2=cake, var3=chocolate
Espero haberme explicado adecuadamente
Adjunto tabla con datos
####################################
#Comando que llama
2007 Oct 17
1
How to save association rules generated by arules package
Hi,
I have been able to generate association rules for Market Basket Analysis
using the following codes:
****************************************************************************
*******************************************
library("arules")
rules <- read.csv("write1.csv",na.strings=c(".", "NA", "", "?"),header=TRUE)
2004 Feb 26
3
Help with multicolored points in one plot
Hello all,
I have a situation where I'd like to plot points from multiple groups of
data in one plot. I'd like each group's points to be colored a different
color. I've seen people comment on how you can alternate colors by
providing a range of colors and then it will loop through each color as it
plots individual points. However, that just goes by individual points and
not by
2003 Mar 02
1
Rsync problem
Hey All,
I am running rsync version 2.5.5 protocol version 26 on my remote
machine (Redhat 8 def. install) and rsync version 2.5.6 protocol
version 26 on my local machine (Redhat 7.2, 2.4.17 kernel instead of
Redhat one with acl patches). I can copy files between these two
machines (using ssh/scp) fine.
When i run the command:
rsync -rptz --delete --stats --include="*.ini"
2012 Sep 24
3
boxplot of different colors
Hello,
I am making a boxplot of 13 boxes.
I tried to color the box using 13 colors but failed.
Only red and brown were displayed.
Green, blue, and grey disappeared.
Please kindly advise modification after checking the code below.
Thank you in advance.
Elaine
R code
# data input
dataN
<-read.csv("H:/a_mig_distance_B_NB/R_data/Mig_bird_586_20120925.csv",header=T,
row.names=1)
2007 Aug 05
1
Plot in log scale
Hi,
Forgive me, because I am new in R.
I need a graph, where:
- y axe has log scale
- graph would have 4 set values: set first (out$a) has values over 5.5, set
second (out$b) and third (out$c) has values over 0.005 and the last set
(out$d) has values over 0.0005 of y axe. For this reason, I need have log
scale on y axe.
I've look for web, but I can't do the graph that I need.
I try to do
2005 Apr 12
1
lme problem
Sorry for the long letter!
I have recently started using R. For the start I have tried to
repeat examples from Milliken & Johnson "Analysis of
Messy Data - Analysis of Covariance", but I can not replicate
it in R. The example is chocolate chip experiment. Response
variable vas time to dissolve chocolate chip in seconds (time),
covariate was time to dissolve butterscotch chip
2007 Apr 05
1
Plotting multiple curves with lattice graphs
Hi List,
I would like to plot multiple curves (parametric
density curves) in one plot.
For example:
# parameters for three normal density curves
parms =
data.frame(ID=c(1,2,3),mu=c(50,55,60),sigma=c(10,12,15))
# I can easily draw three normal density curves using
curve():
curve(dnorm(x,mean=parms$mu[1],sd=parms$sigma[1]),from=0,
to=150, ylab="density", col="red")
2007 Aug 24
4
Confirm email... (Giant-sized gifts, decor and props)
5-foot pencils? Gallon-sized coffee mugs? 10-pound chocolate bars?
Yes! Yes! Yes! And yes to dozens of other common objects in uncommonly BIG sizes!
That's what GreatBigStuff.com is all about!
Thank you for your interest in http://www.GreatBigStuff.com.
This message is to verify that you wish to have your email address:
rsync@lists.samba.org added to the GreatBigStuff.com mailing list.
2005 Jun 09
2
Sixtel is still alive?
Whoa, talk about flying under the radar. I got a few DIDs *months* ago
from Sixtel (or iax.cc). Initial respone was great, but then it seemed
that the only tech-support person had fled the country. No responses,
bad responses, poor call-quality. I had a few $s left in the balance
and kind-a just forgot about them. Not worth 10 minutes of my time to
get $10 of my money back, quite frankly.
2013 Mar 13
1
expression exponent labeling
Hi all,
I want to label an axis with exponents, but can't get it done with expression.
Any hints would be very welcome!
# simulated data, somewhat similarly distributed to my real data:
set.seed(12); d <- rbeta(1e6, 0.2,2)*150 ; d <- d[d>1e-8]
hist( d? , breaks=100)
# now on a logarithmically scaled axis:
hist(log10(d), breaks=100, xaxt="n")
abline(v=
2013 Jan 12
1
panel failure in xyplot
Hello
I ran the code below but it said:
no object "'panel.xyplot.intermediate.hh'"
Please kindly advise how to modify the code.
thank you.
(It works with panel.bwplot.intermediate.hh)
Elaine
code
library(HH)
# data input
dataN <-read.csv("H:/R_data/Mig_bird_586.csv",header=T, row.names=1)
dim(dataN)
dataN[1,]
str(dataN)
diet.code <-