Displaying 20 results from an estimated 6044 matches for "black".
Did you mean:
back
2013 Feb 04
1
ggplot and colors
Hello,
I have a problem with ggplot and colors
I used this function to draw somes lines and I want them to be all black
(just to test)
however, I dont get any black line in the figure.
Do you have any experience with ggplot and manual colors??
ggplot(cmax, aes(cmax[,3], cmax[,6],colour=interaction(cmax[,1],cmax[,2])))
+ geom_line() + geom_point() + scale_fill_manual(values=c("black",
"black"...
2013 Apr 11
1
Dotchart per groups
...as 4 levels: P1, S1, S8, R6.
The dataframe is ordered by N value, pchloc value is assign to use "pch" in
plot.
> head(ZZ)
loc f N color ordered pchloc
98 75 S1 6.39 green 1 16
99 75 S8 6.44 blue 2 16
71 75 S8 6.60 blue 3 16
100 75 R6 6.64 black 4 16
70 75 S1 6.81 green 5 16
51 75 S8 6.83 blue 6 16
> dput(ZZ)
structure(list(loc = c(75L, 75L, 75L, 75L, 75L, 75L, 75L, 75L,
56L, 56L, 75L, 75L, 75L, 75L, 75L, 75L, 75L, 56L, 75L, 75L, 56L,
56L, 75L, 75L, 75L, 56L, 75L, 56L, 56L, 75L, 75L, 75L, 75L, 75L,
7...
2005 Nov 12
1
how to make automatically each level from data.frame to vector
...),
Eye=rep(dfHEC$Eye,dfHEC$Freq),
Sex=rep(dfHEC$Sex,dfHEC$Freq))
my.dfHEC
my.dfHEC$Hair
my.dfHEC$Eye
my.dfHEC$Sex
and I know all levels for Hair, Eye and Sex.
In my case, I want to "expand.grid" all attributes but in Hair I only
include "Black" hair:
Hair.e <- c("Black")
Eye.e <- c("Brown","Blue","Hazel","Green")
Sex.e <- c("Male","Female")
#I can do like,
dfHEC.Black <- expand.grid(Hair.e,Eye.e,Sex.e)
dfHEC.Black
My question is how to make automati...
2008 Apr 22
2
Multidimensional contingency tables
How does one ideally handle and display multidimenstional contingency
tables in R v. 2.6.2?
E.g.:
> prob1<- data.frame(victim=c(rep('white',4),rep('black',4)),
+ perp=c(rep('white',2),rep('black',2),rep('white',2),rep('black',2)),
+ death=rep(c('yes','no'),4), count=c(19,132,11,52,0,9,6,97))
> prob1
victim perp death count
1 white white yes 19
2 white white no 132
3 white b...
2004 Sep 26
2
help for stata user
Hi,
I'm new to R, and I'm STATA user before, could you help me where I can
get document about comparison command between STATA and R.
Thank you very much,
Best regards,
-iip-
2008 Feb 29
3
Replace a list of values in data frame
Dear R-users,
I am sorry if I ask for something that has been asked
before, however, I still could not solve my little
problem by consulting the previous thread on this
topic:
I would like to replace several values in a data
frame, such as in:
colorful
subject response
1 me black
2 me brown
3 you red
4 me black
5 you brown
read in with read.table()
I would like to replace both "black" and "brown" by
"dark".
What I have tried was:
ToBeReplaced=c("black","brown")
Replacement=&quo...
2006 Mar 31
1
Re: BRI cards, HFC, and bristuff - a generalquestionto clear up my understanding.
Thanks.
I think our problem ca be similar. Have you tried to call from analog phone #1 to another analog phone #2? It works. But when you try
to call vice versa from #2 to #1 it does not work. When you restart asterisk it works again - but only one direction.
-David
________________________________
From: asterisk-users-bounces@lists.digium.com
2009 Nov 20
6
How to add a top level title to multiple plots
...I add an overall plot title to these four plots?
I would like to have something that says, "Distribution Comparisons":
par(mfrow = c(2, 2))
# Plot 1
plot(rnorm(10),type="l",col="red")
title(main = list(paste("Normal"),
????????????????????????? col="black", cex = 1.0))
# Plot 2
plot(rpois(10, 4),type="l",col="blue")
title(main = list(paste("Poison"),
????????????????????????? col="black", cex = 1.0))
# Plot 3
plot(rnbinom(10, mu = 4, size = 100),type="l",col="green")
title(main = l...
2002 May 15
3
Struchture change of a data frame
Hi guys
I've got an easy question but couldn't find any quick solution. I woulk
like to change the following matrix
good bad worse
Blue 1 2 2
Yellow 2 1 3
Black 3 4 4
Into the following structure
good 1 Blue
Bad 2 Blue
Worse 2 Blue
Good 2 Yellow
Bad 1 Yellow
Worse 2 Yellow
Good 2 Black
Bad 4 Black
Worse 4 Black
Thanks a lot.
Regards
Beat Huggler
---
Beat Huggler
Quantitative Analysis
RMF Investment Products
Huobstrasse 16
8808 Pfaeffikon SZ
Switzerl...
2010 Jul 23
2
decimal seperator
....5)
text(3,5.2, labels=newdata[3], col="white", cex=1.5);text(4,3.27,
labels=newdata[4], col="white", cex=1.5)
text(5,2.35, labels=newdata[5], col="white", cex=1.5);text(6,4.2,
labels=newdata[6], col="white", cex=1.5)
text(7,2.36, labels=newdata[7], col="black", cex=1.5);text(8,2.85,
labels=newdata[8], col="black", cex=1.5)
text(9,1.28, labels=newdata[9], col="black", cex=1.5);text(10,2.1,
labels=newdata[10], col="black", cex=1.5)
text(11,3.13, labels=newdata[11], col="black", cex=1.5);text(12,.6,
labels=newda...
2013 Dec 14
2
cgi graphs text unreadable (black-on-black)
Guys,
This is probably known, but since I working on nut tonight, I thought I would
make sure. This is with the latest built from git. The cgi-bin script that shows
the graph of upsstats has text that is unreadable. The text is black and the
background is black. Here is a screenshot:
http://www.3111skyline.com/dl/bugs/nut/cgi-black-text.jpg
Here is the same page with the text selected with the mouse:
http://www.3111skyline.com/dl/bugs/nut/cgi-black-text-highlighted.jpg
I don't know how the cgi scripts are formatting...
2008 Mar 10
1
ML Estimation Differences with R and SAS
...which program is "right or wrong". That is not the focus
of this posting. As a "newer" R user I'm trying to understand the algorithm
that R might use to calculate ML estimation. The largest difference seems
to with the race factors. R gives a p-value of 0.46995 for race=black and
SAS gives a p-value of 0.0753 for race=black. Clearly one is borderline
significant and the other is not. Many thanks to all who might be able to
offer any insight on this. Both R and SAS code and output are included in
this message (along with the dataset).
Thanks,
Patrick
MY R CODE IS:...
2011 May 11
2
Dotplot (package Hmisc) with groups: colours and symbols
Hello all,
This question concerns the function Dotplot from the Hmisc package.
My aim is to compare values between groups in each panel of the
Dotplot, with the values of different groups clearly distinguishable
by different symbols. All lines and symbols should be coloured in
black.
Before adding the panel function to the Dotplot, the groups behaved as
desired and were marked by different symbols, but the error bands were
blue instead of black. After adding the panel function and changing
the trellis colour settings, the error bars are now black, but now the
groups are sudde...
2009 Jul 24
4
Colors column don't give correct color with plot()
Hey guys,
I'm having trouble getting the correct colors, when they are read from
a csv file. Here's an example:
1 1 black
1 2 green
1 3 green
1 4 black
1 5 peachpuff
Call it blah.csv. Then I ran:
data <- read.csv("blah.csv",header=FALSE,sep="")
and then to plot the data, I ran:
plot(data[,1],data[,2],col=data[,3])
But the output reports a vertical line with colors:
black
red
red
black
gree...
2012 May 07
2
Destroy VM failed.
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120507/c5c413bc/attachment.htm>
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
...0.05,0.18,0.25,0.31,0.32,0.34,0.35,
0.36,0.37,0.38,0.39,0.40,0.41)
actor <- c(0,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000,11000,12000)
par(mar=c(5, 4, 4, 4) + 0.1)
plot(factor(month), music, pch=16, axes=F, ylim=c(0,1), xlab="", ylab="",
type="b",col="black", main="Enjoy")
axis(2, ylim=c(0,1),col="black")
mtext("Music",side=2,line=2.5)
box()
par(new=T)
plot(factor(month), actor, pch=15, xlab="", ylab="", ylim=c(0,13000),
axes=F, type="b", col="red")
mtext("Actor"...
2013 Dec 14
0
cgi graphs text unreadable (black-on-black)
On Dec 14, 2013, at 5:13 AM, David C. Rankin wrote:
> This is probably known, but since I working on nut tonight, I thought I would
> make sure. This is with the latest built from git. The cgi-bin script that shows
> the graph of upsstats has text that is unreadable. The text is black and the
> background is black. Here is a screenshot:
That's odd.
I'll admit that I don't use the CGI graphs much (I send the data to RRD files with collectd), but I just built the Debian package for NUT 2.7.1 locally, and the defaults yield green text on black.
Do you have any cu...
1997 Jun 30
0
R-beta: Color specifications -- simple 'bg' / 'fg' swapping -- proposal
Consider the following example :
data(iris)
attach(iris)
par(bg = 'midnightblue', fg = 'yellow')
plot(Petal.Length, Petal.Width, main = "Fisher's iris data", sub = "3 kinds")
##>>> gives black axis labels and titles ...
## Currently, the plot I want is produced by
par(bg = 'midnightblue', fg = 'yellow', col.axis='yellow',
col.lab='yellow', col.main='yellow', col.sub='yellow')
plot(Petal.Length, Petal.Width, main = "Fisher's iris...
2011 Feb 05
2
Help!!! from R beginner
Hello,
I'm trying to add a column to the following data frame. The new column
will contain "black" when the 5th column(if_TE_related) is
"TE_related", or "orange" when the 4th column is " " (space).
"chromo" "MSU_locus" "end5" "end3" "if_TE_related"
"chr04" "LOC_Os04g01006" 1032 2679 &quo...
2016 Apr 17
6
how do I use only black ink?
I have an HP Photosmart C3180 All-in-one.
As I haven't had any need for color lately,
when I last replaced ink, I only replaced the black cartridge.
It didn't work, even when printing grayscale-only images,
even when telling print-set-up grayscale-only.
Is there a way to tell my printer to use only the black ink cartridge.
My test image is a handmade postscript file
that only use setgray to set the color.
--
Michael hennebry...