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 O

Re: [R] Loess Fit

2009-11-23 Thread Thomas S. Dye
looks like > 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 Mo

Re: [R] Loess Fit

2009-11-23 Thread Thomas S. Dye
ar 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 >> wrote: >> Hi Christian, >> >> I haven't seen an equation associated with a loess fit before. Do &g

[R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
t;pmrf_windrose_info_new.csv") 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

Re: [R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
""| 247.5 | 0 | "13 - 24" | | ""| 225 | 0 | "13 - 24" | | ""| 202.5 | 0 | "13 - 24" | | ""| 180 | 0.5 | "13 - 24" | | ""| 157.5 | 0.5 | "13 - 24" | | ""|

Re: [R] [ggplot2] Wind rose orientation

2009-12-03 Thread Thomas S. Dye
0, 90, 180, 270)) + coord_polar() + scale_fill_brewer(pal = "Blues") Regards, Hadley On Fri, Dec 4, 2009 at 12:02 AM, Thomas S. Dye 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

Re: [R] [ggplot2] Wind rose orientation

2009-12-07 Thread Thomas S. Dye
= c(90, 180, 270, 360)) + > coord_polar(start = 11.25 / 180 * pi) + > scale_fill_brewer(pal = "Blues") > > > Hadley > > On Sun, Dec 6, 2009 at 7:30 PM, Thomas S. Dye wrote: >> Hi Hadley, >> I don't know if you saw the message below. I've worked wit

Re: [R] [ggplot2] Wind rose orientation

2009-12-07 Thread Thomas S. Dye
tical view of graphics, and really appreciate your excellent book 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 versio

[R] pair matching

2009-05-12 Thread Thomas S. Dye
shing 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 l

[R] pair matching query corrected

2009-05-12 Thread Thomas S. Dye
does 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 l

[R] data frame to array

2009-03-22 Thread Thomas S. Dye
multi-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.

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: Conside

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

[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

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
David Winsemius 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 >> intransitiv

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
Peter Langfelder writes: > On Mon, Jul 11, 2011 at 12: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 relat

Re: [R] Intransitive DAG

2011-07-11 Thread Thomas S. Dye
(Ted Harding) 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 som

[R] tikzDevice and sans serif

2011-11-26 Thread Thomas S. Dye
le? Can someone 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.h

Re: [R] tikzDevice and sans serif

2011-11-28 Thread Thomas S. Dye
David Winsemius 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