Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Maurizio Pisati Assistant Professor Department of Sociology and Social Research University of Trento Via Verdi, 26 38100 Trento TN Italy Tel: +39-461-881315 Fax: +39-461-881348 E-mail: maurizio.pisati at galactica.it <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Symbol size in plots
6 messages · Maurizio Pisati, Uwe Ligges, Peter Dalgaard +2 more
Maurizio Pisati wrote:
Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati
Have a look at: ?symbols e.g.: symbols(1:10,1:10,circles=1:10, inches=0.1) Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
Maurizio Pisati wrote:
Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati
Have a look at: ?symbols e.g.: symbols(1:10,1:10,circles=1:10, inches=0.1)
Also plot(x,y,cex=z)
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
A mild suggestion, by the way, is that "circle", "star", etc. be added to the _keywords_ of symbols(). It took me a while to find it in the help the last time I was looking for it. What are the possibilities that a _full-text_ search capability could be added to the help front-end? Would it be prohibitively slow? (Or is there adaptable software that would, e.g., index all words except a list of stopwords into a reference database?) Ben Bolker
On 6 Sep 2000, Peter Dalgaard BSA wrote:
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
Maurizio Pisati wrote:
Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati
Have a look at: ?symbols e.g.: symbols(1:10,1:10,circles=1:10, inches=0.1)
Also plot(x,y,cex=z)
318 Carr Hall bolker at zoo.ufl.edu Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker Box 118525 (ph) 352-392-5697 Gainesville, FL 32611-8525 (fax) 352-392-3704 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Ben" == Ben Bolker <ben at zoo.ufl.edu> writes:
Ben> A mild suggestion, by the way, is that "circle", "star", etc. be
Ben> added to the _keywords_ of symbols(). It took me a while to find
Ben> it in the help the last time I was looking for it.
well, not "\keyword{.}" which must be from among a pretty small set.
However, help.search("circle") would find `symbols()' if
- the \description{.} would be in the data base
- the default fields of help.search(.) would contain "description"
(and they *should* really contain "alias" when they contain "name"
in my opinion!).
Ben> What are the possibilities that a _full-text_ search capability
Ben> could be added to the help front-end? Would it be prohibitively
Ben> slow? (Or is there adaptable software that would, e.g., index all
Ben> words except a list of stopwords into a reference database?)
Not only would it be quite slow and the database quite large,
I think you'd get quite a lot of false matches
[Well that could be taken care of when one would use a dialoguing frontend..]
I did have that same (for a full text search) wish myself..
Martin
However, I think that the database should start containing \description{.}..
Ben> On 6 Sep 2000, Peter Dalgaard BSA wrote:
>> Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
>>
>> > Maurizio Pisati wrote:
>> > >
>> > > Dear R-listers, > > what is the best way to draw an XY
>> scatterplot with symbol size > > proportional to the value taken on
>> by a third variable? > > Thank you very much for any help, > >
>> Maurizio Pisati
>> >
>> > Have a look at: > ?symbols
>> >
>> > e.g.: > symbols(1:10,1:10,circles=1:10, inches=0.1)
>>
>> Also
>>
>> plot(x,y,cex=z)
>>
>>
Ben> -- 318 Carr Hall bolker at zoo.ufl.edu Zoology Department, University
Ben> of Florida http://www.zoo.ufl.edu/bolker Box 118525 (ph)
Ben> 352-392-5697 Gainesville, FL 32611-8525 (fax) 352-392-3704
Ben> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Ben> r-help mailing list -- Read
Ben> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
Ben> "help", or "[un]subscribe" (in the "body", not the subject !) To:
Ben> r-help-request at stat.math.ethz.ch
Ben> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thank you very much for your help. Maurizio Pisati
At 08.33 06/09/00 +0200, you wrote:
Maurizio Pisati wrote:
Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati
Have a look at: ?symbols e.g.: symbols(1:10,1:10,circles=1:10, inches=0.1) Uwe Ligges
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
Maurizio Pisati wrote:
Dear R-listers, what is the best way to draw an XY scatterplot with symbol size proportional to the value taken on by a third variable? Thank you very much for any help, Maurizio Pisati
Have a look at: ?symbols e.g.: symbols(1:10,1:10,circles=1:10, inches=0.1)
Also plot(x,y,cex=z) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Maurizio Pisati Assistant Professor Department of Sociology and Social Research University of Trento Via Verdi, 26 38100 Trento TN Italy Tel: +39-461-881315 Fax: +39-461-881348 E-mail: maurizio.pisati at galactica.it <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._