Displaying 20 results from an estimated 700 matches similar to: "[ggplot2] Wind rose orientation"
2009 May 12
2
pair matching
Given two numeric vectors of possibly unequal length, I'd like to pair
each element of the shorter vector with an element of the longer
vector such that the sum of squared differences between the pairs is
minimized. Can someone point me to an R function or an algorithm for
accomplishing this?
All the best,
Tom
Thomas S. Dye, Ph.D.
T. S. Dye & Colleagues, Archaeologists, Inc.
2011 Jul 11
3
Intransitive DAG
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 function that will
take my adjacency matrix and give me back one with only intransitive
relations? In the example, I'd like to get rid of (u,w) and keep (u,v)
and (v,w).
All the best,
Tom
--
2009 Nov 23
4
Loess Fit
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091123/f708f94d/attachment-0001.pl>
2010 Feb 14
4
Feature Request: Multiline Comments
Hello,
Is it possible to extend the R lexer/parser to include multiline comments like
/*
acomment
*/
?
This way I can integrate emacs org-mode with my R code, so that I can
have a table of contents,
section folding, html-output of source etc.
e.g
/*
* Display Code
*/
#+BEGIN_SRC R
foo <- function(...){
stuff
}
#+end_src
and so on .
Thanks
Saptarshi
2009 Mar 22
1
data frame to array
Aloha all,
I have a data frame with 4 columns. The first three are factors (f1,
f2, f3) and the fourth is numeric. I'd like to explore these data
using median polish. To do that I plan to use medpolish() on the
matrix[f1,f2xf3], then medpolish on the resulting matrix[f2,f3]. This
approach is described by Cook on page 141 of Exploring Data Tables,
Trends, and Shapes.
split()
2012 Aug 30
1
segfault in gplots::heatmap.2
Hi all,
I am taking this over from r-help (see
http://permalink.gmane.org/gmane.comp.lang.r.general/273985).
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2000 Nov 19
1
Bug in stars function (PR#738)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--1465796871-645734172-974620647=:18687
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi all,
I've discovered and (hopefully) fixed a bug in the stars function I wrote
some time ago.
2011 Sep 09
4
reshape data from long to wide format
This is my reproducible example:
example<-structure(list(SENSOR = structure(1:6, .Label = c("A", "B", "C",
"D", "E", "F"), class = "factor"), VALUE = c(270, 292.5, 0, 45,
247.5, 315), DATE = structure(1:6, .Label = c(" 01/01/2010 1",
" 01/01/2010 2", " 01/01/2010 3", " 01/01/2010
2000 Nov 20
1
Bug in stars.R (PR#739)
Hi all,
Please let me know if this isn't the correct place to report bugs in
contributed code. Otherwise, the following code contains one additional
line and a short comment above it. The extra line of code catches the
unusual situation where a data column contains all 0 values.
The corrected code is below the signature.
Thanks for your help.
Tom
Thomas S. Dye, Ph.D.
2009 Jan 24
2
ggplot2 - how to change location / position of wind rose axis labels?
Dear R users,
First just want to say thank you to all for developing such a wonderful
software and packages.
I need to produce a wind rose plot. Tried with packages circular and plotrix
and couldn't quite get what I want. Moved to package ggplot2 and it's going
great. However stuck in how to move axis labels.
I am using the wind rose from the help to learn how to do what I need (code
2001 Jul 10
1
gls function, very old results
Hello R-users,
I am currently trying to learn how to use the function gls of the nlme
library. I fitted the following model:
Generalized least squares fit by REML
Model: response ~ array + dye + genes + variety + variety * genes +
array * genes + dye * genes
Data: data
I have 11 arrays, 2 dyes, 2 varieties, 3200 genes, and 2 replications
for each.
Therefore I should have the corresponding
2011 Jul 04
3
Unusual graph- modified wind rose perhaps?
In a OpenOffice.org forum someone was asking if the spreadsheet could graph this http://www.elmundo.es/elmundosalud/documentos/2011/06/leche.html
I didn't think it could. :)
I don't think I've ever seen exactly this layout. Does anyone know if there is anything in R that does a graph like this or that can be adapted to do it.
Unfortunately my Spanish is non-existent so I am not
2012 Mar 12
1
ggplot2: coord_polar
Hello HelpeRs,
The last print statement in the code segment below results in :
Error in data$x[data$x == -Inf] <- range$x.range[1] :
replacement has length zero
R version 2.14.1 Patched (2011-12-23 r57982)
ggplot2: version 0.90
OS : Linux (64bit)
Any thoughts?
Many Thanks,
A.
## code segment starts here
df <- data.frame(
trt = factor(c(1, 1, 2, 2)),
resp = c(1, 5,
2012 Jan 03
4
Changing X axis of ggplot
Thanks to Joshua Wiley for turning me on to ggplot2.
I am making a plot using this:
p <- ggplot(dallas, aes(x = offense_hour)) + geom_bar() + coord_polar()
Dallas is a data frame, and offense_hour is a column with chron
objects from the chron library. In this case, the chron object was
created with the times function. It is only a time (H:M:S) with no
date attached.
The plot shows up fine,
2006 Apr 23
3
custom form builder
In the API docs I found this:
"You can also build forms using a customized FormBuilder class. Subclass
FormBuilder and override or define some more helpers, then use your
custom builder "
I couldn''t find any further documentation on this. Where can I read more
about this formbuilder class? For starters, where would I define a
subclass of this class?
TIA,
Jeroen
--
2010 Mar 09
1
ggplot2 rose diagram
Dear R gurus -
consider this plot:
library(ggplot2)
dat <- sample(1:8,100,replace=TRUE)
smp <- ggplot(data.frame(dat), aes(x=factor(dat),fill=factor(dat))) + geom_bar(width=1)
smp + coord_polar()
Q1. How do I change the font size and weight of bar labels (1,2,3...)? I've been wallowing in the 'Themes' structure and I just can't figure out the correct place to change
2010 Apr 29
2
please wait for the user profile service...
hi all
got a windows 2008 server using samba as a primary domain controller.
also got terminal services on the windows box for remote desktops, got
some clients set up with thinstation to automatically connect to the
terminal server with rdesktop.
got a problem with logging on and off, its taking about 2 minutes to log
in, "please wait for the user profile service", time increases if
2007 Dec 16
2
Changing the origin in polar.plot in plotrix package
I am trying to draw a polar plot, which is easy enough to do in the
plotrix package through the polar.plot function.
However I would like to change the origin of the length vector. For
instance all my length values are between 75 and 85, so instead of
having the origin as 0 (the default) I'd like it to be, say, 50.
Is there any way do to this in the polar.plot function, or if not is
there an