Displaying 20 results from an estimated 9000 matches similar to: "legends in a plot"
2007 Jun 28
2
logistic regression and dummy variable coding
Hello everyone,
I have a variable with several categories and I want to convert this
into dummy variables and do logistic regression on it. I used
model.matrix to create dummy variables but it always picked the
smallest one as the reference. For example,
model.matrix(~.,data=as.data.frame(letters[1:5]))
will code 'a' as '0 0 0 0'. But I want to code another category as
2004 Sep 23
7
decompose a correlation matrix
Is there a simple way to decompose the upper triangle
of a correlation matrix to a linear list;
For example:
X Y Z
X 1 2 3
Y 2 1 4
Z 3 4 1
so you get a list like:
xy 2
XZ 3
YZ 4
I suspect you can do it with a matrix transformation, but
that beyond me at present.
Many thanks
Mark
_________________________
Department of Molecular and Human Genetics,
Baylor College of Medicine,
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
Warranty on Accuracy, Precision, Legality, ... of R in Research
(These questions may well have been raised.)
What is the implied warranty of using R for research & publications, consulting, etc.?
Alternately, how does one obtain such a warranty?
Your answers will be much appreciated.
Perhaps you can point me to some websites which discussed this subject in the past.
Thanks & regards
2004 Feb 23
1
HTTP Post connections in R
Hi,
Is there any existing functions to open an HTTP
connection and HTTP POST some R data?
like
<form method="post" enctype="multipart/form-data">
etc.
</form>
but within R.
Thanks,
=====
Nathan Whitehouse
Statistics/Programming
Baylor College of Medicine
Houston, TX, USA
nlwhitehouse at yahoo.com
http://rho-project.org: rho- open source
2005 Mar 24
3
client-server setup for R
I am currently the only use-R at my company, but they are considering
buy a more powerful server and letting multiple people use it. They
asked me if R supports client-server setups. I know S+ has a server
version that does that. I didn't find anything about that on CRAN,
but hopefully someone can correct me.
I did see some stuff about R web servers
2003 Jul 28
1
Plotting (mixed) line types and legends
Hi all
I have a question about plotting line types and
legends. Here's a short piece of code to
demonstrate:
x <- y <- seq(1,10)
plot(x,y, type ="l", lty="33")
lines(x,y+1, lty=1)
legend( 8,2,legend=c("lty=1","lty=\"33\""), lty=c(1,"33") )
On my system (see below), the line types in the legend
are not the same as in the
2000 Oct 24
1
is there a way to create legends automatically?
Hi all,
when plotting mutiple data series, i need to specify how one data series
should be plotted. that s fine, but can i let the program automatically
create legends afterwards? thanks very much.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2006 Mar 10
2
Plot.date and legends
Hi:
I'm trying to plot dates on the x-axis of a code, but the legend is not being
displayed. I receive the following error:
Error in match.arg(x, c("bottomright", "bottom", "bottomleft", "left", :
'arg' should be one of bottomright, bottom, bottomleft, left,
topleft, top, topright, right, center
In addition: Warning message:
longer
2008 Sep 30
1
Adding legends to a plot
Hello,
I have a time series plot drawn using 3 different colored lines, each line
corresponds to different category group. I'd like to put legends on the
plot. I am using "legend" to do this, however, I can either specify lty or
col in legend. Will I be able to do the following in the legend box: a solid
black line then g1, a solid red line then g2, a solid blue line then g3?
2004 Nov 19
1
Rd and document formatting
I am trying to compose some documentation for a package I hope to release
soon.
However when I do the following:
R CMD Rd2dvi --pdf mypackage.Rd
I get two mainly blank pages prepended to the top of the document - the only
text on either (at the top of the first page) is as follows:
hyperindex,colorlinks,pagebackref,linktocpage,plainpages=false,linkcolor=Blue
2005 Nov 08
1
(no subject)
hello.
My name is kerlim arturo.
i was search into internet about R apache y PhP and i found your mail into foro.
i want create a stadistic's software on line with language R,apache y php .
i want know, what is the steps for developer this stadistic's software? where can i get information about language R, apache y php; and examples between language R and php ('source').
can I
2009 Jun 06
1
correct line types in lattice legends
Hallo R-users,
I do not understand how to specify the correct
line and symbol types in the legends of a lattice xyplot.
This is what I tried, but the line types and symbol in the
graph are not seen in the legend.
Any help is appreciated.
Thanks,
Gerrit.
library(lattice)
s<-rep(1:3,len=10)
x<- 1:10
y<- x+s+rnorm(10)
d<-data.frame(s,x,y)
xyplot(y~x, groups=s,data=d,
2013 Jan 26
2
different legends in lattice panels
Hi listers,
I want to make lattice plots xyplots with the indication of legends
inside each panel with only the points and the lines actually ploted
inside each given panel according to the group(ing) factor.
The code below shows what I have achieved so far and I hope will make
clear what I want to have.
It seems to me that my solution is a very "dirty hack" and there
certainly is
2006 Nov 04
2
Placing of legends
Hello,
placings of legends is sometimes tricky.
For placing outside the plot region I found locator to be useful.
Unfortunately, the click defines the upper left corner.
Is there a way to change this corner (say lower right corner)?
Thanks,
Christian
2004 May 17
1
Problem with package SJava
Hello all,
I'm trying to run SJava package (0.65 modified downloaded from :
http://stats.math.uni-augsburg.de/iPlots/alpha/) on windows NT 2000 and R
1.8.01. I have also downloaded the PDF Calling R from Java and when I want
to execute the following code:
import org.omegahat.R.Java.*;
import java.io.*;
public class Essai{
public static void main (String [] args) {
REvaluator e = new
2008 Sep 21
1
How to plot "greater than" symbol on the x-axis
Hello everyone,
I want to plot a "greater than" symbol (the "_" under ">") on the x-axis in the labels. Is it possible to do it?
Thanks.
Bingshan
[[alternative HTML version deleted]]
2004 May 25
3
thanks again
Achim:
Thanks again for the conference. We had good fun.
I have 2 requests:
1) I'd like to email my R-foundation membership to you.
I will scan the form and send just like I did for the meeting.
2) I want a useR t-shirt. After lots of drinking and discussion with
Fritz Leisch at dinner on saturday, I feel there will be no chance for
an official T-shirt.
My question is: any advice/
2000 Jun 22
2
Postscript Legends (or not)
I discovered a little problem when using the Windows NT release of R
1.0.1, and it's still there in R 1.1.0.
The boiled down version is this: I want to draw the following plot and
put it into a Postscript file:
x <- c(1,2,3,4); y1 <- c(1,2,3,4); y2 <- c(2,2,2,2)
Fred <- c(1,2)
postscript(file="d:/Bob/Papers/IFM/try2.ps")
plot(x,y1, type="l")
2001 Dec 10
4
Box around legends (and postscript?)
Hi all
Humbly begging forgiveness for bothering the list with yesterday's
lame--arsed question. Postscript, being a vector graphics file format,
is, um, resolution independant. The problem as Peter pointed out was
with the gimp, which defaults to 100dpi resolution when viewing
postscript files.
I have another (lame?) question. I have noted that when I produce a
graph with multiple
2006 Apr 18
4
how to change legend size in a figure
Dear All,
I am producing a figure with many curves on it. How do I make the legends for all those curves smaller so that it can fit the figure itself? The commands I used for ploting are:
plot(x1,y1,col=1,lty=1)
lines(x2,y2,col=2,lty=2)
...
legend(0.3,0.4,c("name1","name2",...),col=1:20,lty=1:20)
Any tips for making the legend fit the figure will very welcome! Thanks!
Best,