Re: [R] tikzDevice and sans serif

2011-11-28 Thread Thomas S. Dye
David Winsemius dwinsem...@comcast.net writes: On Nov 27, 2011, at 1:46 AM, Thomas S. Dye wrote: Aloha all, I haven't been able to find how to choose the font used by tikzDevice. My first tries have all been set with a serif font and I'd like to have them use the sans serif font instead

[R] tikzDevice and sans serif

2011-11-26 Thread Thomas S. Dye
point me to instructions? All the best, Tom -- Thomas S. Dye http://www.tsdye.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
relations? In the example, I'd like to get rid of (u,w) and keep (u,v) and (v,w). All the best, Tom -- Thomas S. Dye http://www.tsdye.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
David Winsemius dwinsem...@comcast.net writes: On Jul 11, 2011, at 3:28 PM, Thomas S. Dye wrote: Aloha all, I have an adjacency matrix for an acyclic digraph that contains transitive relations, e.g. (u,v), (v,w), (u,w). I want a DAG with only intransitive relations. Can someone point me

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
Peter Langfelder peter.langfel...@gmail.com writes: On Mon, Jul 11, 2011 at 12:28 PM, Thomas S. Dye t...@tsdye.com wrote: Aloha all, I have an adjacency matrix for an acyclic digraph that contains transitive relations, e.g. (u,v), (v,w), (u,w).  I want a DAG with only intransitive relations

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
(Ted Harding) ted.hard...@wlandres.net writes: On 11-Jul-11 19:28:12, Thomas S. Dye wrote: Aloha all, I have an adjacency matrix for an acyclic digraph that contains transitive relations, e.g. (u,v), (v,w), (u,w). I want a DAG with only intransitive relations. Can someone point me to an R

Re: [R] exporting text output to pdf

2010-01-18 Thread Thomas S. Dye
If you use emacs, then another alternative is Org-babel, which allows you to mix and match languages. Using the literate programming paradigm, Org-babel will tangle your hwriter code snippets and expand references to any R-code that you want to embed within them. I use Org-babel to combine

Re: [R] Accessing members

2009-12-28 Thread Thomas S. Dye
Hi Nick, Your first column is being stored as a factor. You can either take care when creating the matrix to keep the values in this column as characters, or you might want to convert the result using as.character(). HTH, Tom On Dec 28, 2009, at 1:14 PM, Nick Torenvliet wrote:

Re: [R] [ggplot2] Wind rose orientation

2009-12-07 Thread Thomas S. Dye
:30 PM, Thomas S. Dye t...@tsdye.com wrote: Hi Hadley, I don't know if you saw the message below. I've worked with scale_continuous() a bit in the interim to see if changing the limits would bring back the 16th bar, but without success. If I don't add in scale_continuous(), then the 16th bar

Re: [R] [ggplot2] Wind rose orientation

2009-12-07 Thread Thomas S. Dye
and the detailed help you've provided me. All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com [[alternative HTML version deleted]] __ R-help@r

[R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
) wind - ggplot(wind.data, aes(x = degree, y = time, fill = wind)) wind.bar - wind + geom_bar(stat = identity) wind.bar + coord_polar() #+end_src All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com

Re: [R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
. Hadley On Thu, Dec 3, 2009 at 8:18 PM, Thomas S. Dye t...@tsdye.com wrote: Aloha all, I love using ggplot. It took a while to get used to the grammar of graphics, but it is starting to get easy now that I am thinking in a more structured way. A question. I'm making a wind rose that I'd like

Re: [R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
, 2009 at 12:02 AM, Thomas S. Dye t...@tsdye.com wrote: Aloha Hadley, Thanks very much for ggplot. It's a terrific piece of work. Specifying width = 1 in the call to geom_bar didn't change the orientation of the coordinates. If you run the example, you'll see that 100 is horizontal, where

Re: [R] Loess Fit

2009-11-23 Thread Thomas S. Dye
a nice non-linear equation. The last thing I need to do is find the equation, knowing I know have the x and y values, as they will relate to each other in a non-linear fashion. Matlab can do this, but I'd rather not go into that realm. On Mon, Nov 23, 2009 at 12:11 PM, Thomas S. Dye t

Re: [R] Loess Fit

2009-11-23 Thread Thomas S. Dye
:11 PM, Thomas S. Dye t...@tsdye.com wrote: Hi Christian, I haven't seen an equation associated with a loess fit before. Do you have a reference to one of these? All the best, Tom On Nov 23, 2009, at 9:03 AM, Christian Miner wrote: I'm working on Loess fit models using R, once I

Re: [R] How to: highlight R syntax on webpages ?

2009-11-20 Thread Thomas S. Dye
Hi Erik, Interesting blog. I was pleased to see the reference to org-babel, a language-agnostic alternative to Sweave. Org-babel is a software masterpiece that anyone using emacs, LaTeX and R should know about, especially if they also use python, ruby, clojure, etc. All the best, Tom

[R] pair matching

2009-05-12 Thread Thomas S. Dye
this? All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] pair matching query corrected

2009-05-12 Thread Thomas S. Dye
not have to be one-to- one. Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] data frame to array

2009-03-22 Thread Thomas S. Dye
-way median polish will be appreciated. Sorry for the newbie-type query, but manipulating data prior to analysis is really hard for me in R. All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com