Displaying 20 results from an estimated 1200 matches similar to: "RGB components of plot() colours"
2012 Jan 21
1
error in data.frame(...., check.names = FALSE)
Hi all,
Error is coming as "error in data.frame(...., check.names = FALSE): arguments has differents
counts of rows: 0, 18" for the following code.
Can you please help?
Thank you
Devarayalu
library(ggplot2)
setwd("D:\\General Check list")
library(RODBC)
conn <- odbcConnectExcel ("Book1.xls")
Orange1 <- sqlFetch (conn, "Sheet2")
odbcClose(conn)
2012 Mar 31
1
Not getting correct graphs
Hi all,
Can anybody debug the following programme, as I am getting some Junk graphs in the pdf.
Please find the attached raw data file.
Thank you
Regards
Rayalu
library(ggplot2)
setwd("D:\\General Check list")
library(RODBC)
conn <- odbcConnectExcel ("Book1.xls")
Orange1 <- sqlFetch (conn, "Sheet3")
odbcClose(conn)
rm(conn)
#CDAI Change
2012 Jan 19
3
Not generating line chart
Hi All,
Can you please help me, why this code in not generating line chart?
library(ggplot2)
par(mfrow=c(1,3))
#qplot(TIME1, BASCHGA, data=Orange1, geom= c("point", "line"), colour= ACTTRT)
unique(Orange1$REFID) -> refid
for (i in refid)
{
Orange2 <- Orange1[i == Orange1$REFID, ]
pdf('PGA.pdf')
qplot(TIME1, BASCHGA, data=Orange2, geom= c("line"),
2012 Jan 20
1
Legend appearance
Hi All,
I want small modification in apperance of legend. I want seperate legend for each graph representing the lines present in that graph only (not all the lines in all graphs) .
Can you please help?
Thank you
Regards
Devarayalu
Orange1 <- structure(list(REFID = c(7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9), ARM = c(1, 1, 1, 1, 2, 2, 2, 2, 1, 1,
1, 1, 2, 2, 2, 2, 1, 1, 2,
2012 Oct 12
1
How to get rid of page 1 and 4 i.e Only dots pages while generating the graphs?
Suppose I have "Orange1" data like this.
TIME1
RESPONSE
RESPSTAT
RESPUT
REFID
ARM
SUBARM
0
299.5
Mean
8-item scale
68
0
0
0
287
Median
8-item scale
68
0
0
0
303.9
Mean
8-item scale
68
1
0
0
286
Median
8-item scale
68
1
0
0
295
Mean
8-item scale
85
0
0
12
254
Mean
8-item scale
85
0
0
0
287
Mean
8-item scale
85
1
0
12
216
Mean
2012 Jan 19
1
Legend problem in line charts
Hi all,
Small problem in generating the line charts.
Question: Legend for the first graph is coming wrong., for second graph correctly. Please fix the legend postion at the down of graph.
Plesae give me the solution.
Thank you
Devarayalu
Orange1 <- structure(list(REFID = c(7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9), ARM = c(1, 1, 1, 1, 2, 2, 2, 2, 1, 1,
1, 1, 2, 2, 2,
2010 Oct 22
1
trouble with \textless in Hmisc latex() on a drop1 object
Yes, it's homework . . . delete now if desired . . . but I think it is an
interesting problem.
Running R 2.11.1, LaTeX on WinXP, via Sweave.
A drop1() object from a glm() produces, as part of its output, a string that
looks like this:
<none>
The trouble I run into is that running latex() on a drop1() object from
glm() produces a string that looks like this in the generated .tex
2004 Dec 22
1
Link an Asterisk Box with a PBX (E1 connection)
Hi,
I have to link an Asterisk Box with a PBX Matra 6501.
System look like this :
E1------Te110P Asterisk Te110P-----E1----Matra 6501-----Phones
|
|
Ip Phones
Incoming call from E1 will enter on asterisk, if incoming number is
_800n then go to IP phones. In this case no problem.
But if it's an another call i want to return call to my
2003 Jun 27
2
Color names
How does one get a list of all the color names supported by
R and the mapping between color names and hex codes? Color
names are things like "red", "salmon", etc.
I am using Windows 2000 Professional and R 1.7.1.
2004 Apr 29
1
problem with pca
Hello
I have some kind of problem with R.
I want to do a pca (I work on R and ade4 library) but R doesn't wan to
realize my pca because of my data:
I have some binary variable (presence/absence of birds, hole, vegetals...)
and metric variable (cliff 's size...) and each time I have an error message
because of the mix of the 2 type of variable.
So, what can I do?
Famille SALMON
2011 Mar 29
2
recaptcha displaying weirdly
Hi List,
I''ve followed and read several guides for getting recaptcha working with a site but I
keep coming across this problem. The recaptcha images look...weird:
This image is taken with the "white" theme, however the sandard one is exactly as
weird. I can''t work out what is causing this:
http://www.mattharrison.org/images/recaptcha-weird-look.JPG
Any tips
2002 Apr 11
1
rsync : old file dates generating error during nfs rsync session: Value Too large for defined data type
I was troubleshooting a problem we were having with some files not rsyncing
properly over an nfs mount (the destination device is a snapserver (NAS)
that did not have native ability to receive streaming rsync info, that's why
we were doing this rsync over an NFS connection to the snapserver).
Anyway, at first I thought this was just one of the quirks of the snapserver
(it isn't
2020 Aug 10
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan,
i would do something like this (it is not a copy of what we are doing but
an example of how i would do it)
Important here is the "--data" and "-H" Option as well as the "variables"
section within the Body. I added the callerid function here as well as it
is the sample in the asterisk wiki.
curl -v -H "Content-Type: application/json" -u
2009 Jan 10
1
Hmisc-xtable label
Dear all:
Does anybody know about label conflicts between xtable and Hmisc? I found a couple of e-mails similar to this problem but is not clear to me how to get around the label problem.
The first table(longtable below) is generated with the latex function from Hmisc but for some reason when I try to hyperlink to it,it takes me to the top of the document. The second table created with the xtable
2013 Sep 09
1
Hmisc binconf function value interpretation during narrow confidence intervals
Hello all,
I've been using binconf (package Hmisc) at a range of alpha values and
noticed that using the 'Wilson' method when alpha is larger (i.e. narrow
CI), results in the upper value being smaller than the lower value. The
'exact' and 'asymptotic' methods give results in the realm I'd expect.
But the help file suggests:
"Following Agresti and Coull, the
2013 Mar 12
2
funtion equivalent of jitter to move figures on device
hello all,
I'm overlaying numerous scatter plots onto a map (done in PBSmodelling). In this case I'm placing each plot by setting par(fig) to the centroid of map polygons. The location/mapping part is not so important. There are cases of small overlaps for some plots (ie figures) so I'm keen to write or find a function that moves my small scatter plots so they don't overlap. A
2004 Nov 29
1
Labeling charts within a loop
Hi All:
This may turn out to be very simply, but I can't seem to add the name of
the school to a chart. The loop I created is below that subsets a
dataframe and creates a chart for each school based on certain
variables. As it stands now, they title includes the school's ID number.
Instead, I want to replace this with the school's actual name, which is
stored in a variable called
2009 Oct 08
2
lattice: passing multiple lty values to the key/legend
hi all,
It's not clear to me how (or if) I can pass multiple values for lty to a key in xyplot?
I've tried: lines=list(lty=1:3), to no avail.
Do I need to use something other than auto.key?
(Deepayan, if you're out there, I have your book and must admit the answer isn't jumping out at me.)
thanks in advance!
Michael Folkes
example code:
#____________________________
2000 Nov 22
2
implementing port forward restrictions
hi folks,
right now im implementing a quick hack to restrict ports the server will
allow to be forwarded. This is to heighten security from clients accessing a
server behind a firewall and as far as I could tell this is not possible with
ssh so far.
I think this is a reasonable feature for a release and shouldnt be too hard
to implement in a way that follows the setup already used in the
2011 Mar 04
4
Floating points and floor() ?
Perhaps somebody could clarify for me if the following is a floating
point matter or otherwise, and how am I to correct for it?
> floor(100*.1)
[1] 10
> 100*(1.0-.9)
[1] 10
> floor(100*(1-0.9))
[1] 9
Thanks!
Michael
_______________________________________________________
Michael Folkes
Salmon Stock Assessment
Canadian Dept. of Fisheries & Oceans
Pacific Biological Station