Displaying 20 results from an estimated 4000 matches similar to: "two-group comparison in boxplot"
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)
2013 Jan 12
1
add categorical labels in plot
Hello
I want to draw a plot using the code below.
Further, I want to add labels (White, Yellow, Red) to x-axis.
Please kindly advise how to add the categorical labels, by modifying the
code.
Thank you.
Elaine
Code
dataN <-read.csv("H:/skin_color.csv",header=T, row.names=1)
dim(dataN)
dataN[1,]
str(dataN)
obs.group<-dataN$skin_color
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 <-
2013 Jan 08
4
error in a abline loop
Hello
I have data of body length and body weight of people of different skin colors.
I tried to write a code to plot body length and body weight according
to the skin colors.
(Thanks for Petr's advice so far.)
A loop is used but an error shows up in the following code.
It says:
unexpected '}' in
"
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 <-
2013 Jan 12
1
color in xyplot
Hello
I want to draw a xyplot.
Its dots will have three colors: red for meat, green for vegetable, and
blue for both.
I used the code below but could not make the dot in the same group show the
same color.
Please kindly advise how to modify it.
Thank you.
code
library (lattice)
diet.code <- c("Herbivore", "Omnivore", "Carnivore")
Diet.colors <-
2012 Sep 25
0
boxplot of multi box color
Hello,
I want to draw a boxplot using 13 colors for 13 boxes.
Each box represents a type of diet of birds.
Y axis is the breeding range of the birds.
I checked the previous r-help and found a possible solution.
However, it did not work by showing "error in ncol(Diet_B)," Diet_B not
found.
Please kindly help with modification and thank you.
Also, if anything is unclear, please let me
2005 Jul 28
2
problem with an IF statement?
Can somebody please take a look at this and tell me whats going wrong?
It seems to be parsing wronly around the 'if' statement and gives me a
directory listing.
Thanks in advance
Tom
N.B. datan is an invented dataset
xvals<-c(1,0.4,0.2)
datan<-data.frame(s1=c(3,4,5),s2=c(5,5,5),s3=c(21,55,34),s4=c(5,3,2))
datan$sint<-NA
datan$sgrad<-NA
for(icount in 1:dim(datan)[1]) {
2011 Mar 31
2
ANCOVA for linear regressions without intercept
Hello R experts
I have two linear regressions for sexes (Male, Female, Unknown). All have a good correlation between body length (response variable) and head length (explanatory variable). I know it is not recommended, but for a good practical reason (the purpose of study is to find a single conversion factor from head length to body length), the regressions need to go through the origin (0
2009 Sep 24
3
sieve vacation error
Hello everybody,
First, I want to thank the development team for the quality and the
stability of dovecot. It's now running without problem since two years
on my debian box.
Next, I'd like you help me to solve the problem I have with
vacation/sieve script. My configuration is debian lenny, with standard
dovecot packages (1.0). I have setup the sieve plugin, using roundcube
on
2010 Apr 23
1
help with plotting lines linking two sets of points?
Hello everyone,
I'm trying to plot the initial and final size of some tadpoles and look at
their growth rates (slope of line). They are divided into 6 densities, and
so far I have plotted the initial and final sizes (these are means for a
pool), and color coded for the 6 densities, but I want a line to connect the
initial and final value for each pool (also color coded by density). Any
ideas?
2011 Mar 31
1
How to grant a kerberos ticket after successful imap authentication from dovecot
Hello everybody,
I hope this question is appropriate for this list. Apologies if not.
I am running a set of virtual machines under debian 6, to build a
mail/collaboration server. I am mainly using dovecot, postfix, openldap
and heimdal. Mails are stored using maildir, on a NFSv4 share.
My users are system users, but using LDAP and libpam-ldap and
libnss-ldap for caching credentials
2013 May 05
1
slope coefficient of a quadratic regression bootstrap
Hello,
I want to know if two quadratic regressions are significantly different.
I was advised to make the test using
step 1 bootstrapping both quadratic regressions and get their slope
coefficients.
(Let's call the slope coefficient *â*^1 and *â*^2)
step 2 use the slope difference *â*^1-*â*^2 and bootstrap the slope
coefficent
step 3 find out the sampling distribution above and
2007 Dec 09
1
Setting the grid of a graph of timeseries
I have the following code
####################################################################
library(zoo)
miedate <- yearmon((2006)+seq(0,23)/12)
tab <- zoo(cbind(A = c(79.47, 89.13, 84.86, 75.68, 72.82, 78.87, 93.46,
78.18, 82.46, 77.25, 80.95, 84.39, 81.7, 74.76, 65.29, 60.3,
66.59, 73.19, 92.39, 65.76, 77.45, 74.22, 101.36, 100.01), B = c(77.95,
76.73, 51.2, 51.86, 51.29, 49.45,
2010 Nov 05
1
prob with legend in my plots!
Hi,
I have a problem with the appearance of legend in my plots. If I specify the legend positions in characters like "topright"..etc, it appears, if i specify it in terms of coordinates like "-1, 1" .. etc, it does not appear. Can anyone help me with this?
script -
x.date <- as.Date(paste(year, month, day, sep="-"))
ts1.n.e3 <- ts(data.nemr.e3[,3])
z1.n.e3
2011 Apr 10
1
domain variable still empty
Hello all,
First, thanks for your help with my previous NFS problem. I am trying
to mount a mail server, with debian and dovecot 1.2.
Until now, I have both shared and public folders working, on a NFS
share. indexes are stored locally, as well as per user flags. Sive is
also working :-)
Now, I'd like to restrict sharing by domain, and for this, to use the
"%d" variable
2011 Jan 13
0
Colouring areas on a map with updated maptools functions
Hi -
I'm trying to plot a map from a shapefile and then colour different areas of
it depending on different attributes of those areas. A couple of years ago I
used some code to do this that would plot a map in R from a shapefile
(states within a country). It then uploaded a .txt file which had the same
number of rows as the shapefile and one column populated with numbers from 1
to 8 which
2011 Jul 28
2
Animated gif or something similar in R?
I'm have a (minor) problem and a question.
Problem: The following code creates 5 clusters of dots of different
colors. However, I need the second call outside the data.frame call to
get the colors to change for some reason. I assume there's an error in
the data.frame() call, but I don't know what.
Question: Is there is a way to cause the resulting graphic to rotate on
it's
2013 Apr 07
1
Remove a row containing a specific value for a column
Dear all,
Could anyone help me with the following?
DATA <- data.frame(rbind(c("Red1", 1, 1, 1), c("Blue1", 1, 1, 1), c("Red2", 1, 1, 1), c("Red3", 1, 1, 1)))
colnames(DATA) <- c("A", "B","C", "D")
#Option 1
DATA <- DATA[-2, ] #Same result I would like to achieve with Option 2
#Option 2 - I would like to do
2019 Mar 28
2
NFSv4: Using fsid=0 but *not* exporting the root filesystem
Hi,
I would like to use the NFSv4 ability to create a "root" filesystem with
fsid=0, so that I don't have to refer to the whole path of the exported
filesystem when I mount it. However I do *not* want this root
filesystem to be mountable by any host. Is that possible and how?
E.g
Filesystem:
/exports/data1
/exports/data2
/exports/data3
/etc/exports:
/exports