This worked perfectly. An example graphic is located here:
ftp://ftp.sfwmd.gov/pub/ggraves/ribbon.bmp
-Original Message-
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Thursday, June 02, 2011 12:11 PM
To: Graves, Gregory
Cc: r-help@r-project.org; Kemp, Susan K SAJ; patrick_pi
I have 2 datafiles 'target' and 'observed' as shown below (I will gladly
email these 2 small files to whomever). X25. And X75. Indicate the
value of 25th and 75th-percentile of the target ('what should be') and
the observed ('what is'). The i.value is simply the month.
target
X
I am trying to create a routine that would take a time series and
generate monthly 25%tile and 75%tile limits based on 12 calendar months.
I have succeeded to create a do loop to do this, but can't figure out
how to initiate the receiving datafile (in this case limit.list)
without sticking an
Message-
From: Ian Gow [mailto:iand...@gmail.com]
Sent: Tuesday, May 24, 2011 8:58 AM
To: Graves, Gregory; Nungesser, Martha; r-help@r-project.org
Cc: Kemp, Susan K SAJ; patrick_pi...@fws.gov
Subject: Re: [R] how to eliminate first row in datafile created in do
loop
Gregory: Would setting
On Mon, Apr 13, 2009 at 12:41 PM, Dan Dube ddube-at-advisen.com wrote:
i use tapply and by often, but i always end up banging my head against
the wall with the output.
The proposed solution of Dan's problem posted on R-help was:
do.call(rbind,a)
When I use this 'solution' I get 'ERROR:
District
Phones: DESK: 561 / 682 - 2429
CELL: 561 / 719 - 8157
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Thursday, February 03, 2011 12:50 PM
To: Graves, Gregory
Cc: r-help@r-project.org; Goodman, Patricia; Gorman, Patricia
-Original Message-
From: Phil Spector [mailto:spec...@stat.berkeley.edu]
Sent: Thursday, February 03, 2011 12:41 PM
To: Graves, Gregory
Cc: r-help@r-project.org; Goodman, Patricia; Gorman, Patricia
Subject: Re: [R] tapply output as a dataframe
Try
as.data.frame(as.table
Sciences Department
South Florida Water Management District
Phones: DESK: 561 / 682 - 2429
CELL: 561 / 719 - 8157
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Tuesday, November 30, 2010 11:50 AM
To: Graves, Gregory
Cc: r-help@r-project.org
Having given myself carpal tunnel looking for answer to this ...
I have a dataset each column of which has 12 rows in it. I created a
variable 'z' as follows:
z=1:24
Since I have a large number of these plots to make, and they are a bit
complex, I want to want to reference the
I have a file, each column of which is a separate year, and each row of each
column is mean precipitation for that month. Looks like this (except it goes
back to 1964).
monthX2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008
X2009
11.600 1.010 4.320 2.110
Management District
Phones: DESK: 561 / 682 - 2429
CELL: 561 / 719 - 8157
-Original Message-
From: Patrick Hausmann [mailto:patrick.hausm...@uni-bremen.de]
Sent: Wednesday, November 17, 2010 9:49 AM
To: r-help@r-project.org; Graves, Gregory
Subject: Re: [R] stacking
-Original Message-
From: Patrick Hausmann [mailto:patrick.hausm...@uni-bremen.de]
Sent: Wednesday, November 17, 2010 9:49 AM
To: r-help@r-project.org; Graves, Gregory
Subject: Re: [R] stacking consecutive columns
Hi Gregory,
is this what you want? Ok, not the most elegant way
I am helping a fellow worker get R up and running, and he has run into a
peculiar problem I've not encountered in previous install situations.
From the Rconsole menu choice, he can set CRAN mirror to USA CA2, but when he
selects load packages a very truncated list of packages appears (many
)
Restoration Sciences Department
South Florida Water Management District
Phones: DESK: 561 / 682 - 2429
CELL: 561 / 719 - 8157
-Original Message-
From: Graves, Gregory
Sent: Wednesday, September 22, 2010 11:45 AM
To: 'r-help@r-project.org'
Cc: King, Christopher
Among those users of Primer, stress values greater than 0.3 are
interpreted as questionable. Using both isoMDS and metaMDS (vegan
package), the stress values returned are much higher using my own data
and using examples provided in R Help. For example Rstress = 8.3, and
the stressplot r2 = 0.99
If you submit these lines, you end up with variable vare.dis. I want
to export vare.dis to csv. Stuck I am.
library(vegan,logical.return = TRUE) #return=true verifies package is
available
library(MASS,logical.return=TRUE) #return=true verifies package is
available
data(varespec)
What am I failing to understand here?
The script below works fine if the dataset being used is
DNase1 - DNase[ DNase$Run == 1, ] per the example given in
help(nlrob).
Obviously, I am trying to understand how to use nls and nlrob to fit
curves to data using R.
#package=DAAG
CELL: 561 / 719 - 8157
From: Debabrata Midya [mailto:debabrata.mi...@commerce.nsw.gov.au]
Sent: Thursday, August 13, 2009 6:36 PM
To: Graves, Gregory
Cc: r-help@r-project.org
Subject: Re: [R] shading between two smoothed curves
Hi Gregory,
I can plot out two nice
CELL: 561 / 719 - 8157
-Original Message-
From: Jim Lemon [mailto:j...@bitwrit.com.au]
Sent: Friday, August 14, 2009 8:47 AM
To: Graves, Gregory
Cc: r-help@r-project.org
Subject: Re: [R] shading between two smoothed curves
Graves, Gregory wrote:
I will attempt
CELL: 561 / 719 - 8157
-Original Message-
From: Graves, Gregory
Sent: Friday, August 14, 2009 1:38 PM
To: r-help@r-project.org
Subject: RE: [R] shading between two smoothed curves
Here is the solution for shading under a curve
attach(cars) #example dataset
I have a set of 52 weekly values, one is the desired high lake stage for
a week, and the other is the desired low lake stage for each week. It
looks like this:
week
High
Low
1
16
14.5
2
16
14.5
3
15.95
14.45
4
15.84
14.34
5
15.73
14.23
6
15.61
14.11
7
15.5
14
8
15.38
I issued the following command to obtain the std dev for each month.
psd-numSummary(Sal, groups=month, statistics=c(sd))
which resulted in
psd
sd n NA
1 6.930340 9367 2319
2 7.847003
My x axis is a series of daily dates (e.g., 01/01/2000, 01/02/2000,
etc.) from 2000 to end of 2008. The default only gives me 4 ticks. I
want more. Why doesn't this work?
sdate-as.POSIXct(strptime(date,format=%m/%d/%Y))
The original problem posed was:
On 14/05/2009 7:31 AM, Graves, Gregory wrote:
I have 3 columns: flow, month, and monthname, where month is 1-12,
and
monthname is name of month. I can't get the plot to replace the 1-12
with monthname using ticks.lab. What am I doing wrong?
plot(flow
I have 3 columns: flow, month, and monthname, where month is 1-12, and
monthname is name of month. I can't get the plot to replace the 1-12
with monthname using ticks.lab. What am I doing wrong?
plot(flow~factor(month),xlab=Month,ylab=Total Flow per Month,
ylim=c(0,55000), ticks.lab=monthname)
Division
South Florida Water Management District
Phones: DESK: 561 / 682 - 2429
CELL: 561 / 719 - 8157
-Original Message-
From: Duncan Murdoch [mailto:murd...@stats.uwo.ca]
Sent: Thursday, May 14, 2009 8:12 AM
To: Graves, Gregory
Cc: r-help@r-project.org
Subject
I have a very large file with many rows and columns. I want to create a plot
with lowess.
If I try the following it works fine:
data(PrecipGL)
plot(PrecipGL)
lines(lowess(time(PrecipGL),PrecipGL),lwd=3, col=2)
In my file, 2 columns are nox and sdate, and are both typeof() = double.
Newbie here~
I've spent a ton of time on this, but have to admit I am stuck. I've tried
various combinations of strptime and the package CHRON, but still can't get
there.
My simple task is that I want to plot salinity (S1 or S2) on y-axis and time on
x-axis, but I want to use a
28 matches
Mail list logo