Displaying 20 results from an estimated 400 matches similar to: "pulling recessions out of a hydrograph"
2017 Dec 16
3
Finding center of mass in a hydrologic time series
The small bit of script below is an example of what I'm attempting to do -
find the day on which the 'center of mass' occurs. In case that is the
wrong term, I'd like to know the day that essentially cuts the area under
the curve in to two equal parts:
set.seed(4004)
Date <- seq(as.Date('2000-09-01'), as.Date('2000-09-30'), by='day')
hyd <-
2017 Dec 16
0
Finding center of mass in a hydrologic time series
Hi Eric,
How about
match( TRUE, cumsum(hyd/sum(hyd)) > .5 ) - 1
HTH,
Eric
On Sat, Dec 16, 2017 at 3:18 PM, Morway, Eric <emorway at usgs.gov> wrote:
> The small bit of script below is an example of what I'm attempting to do -
> find the day on which the 'center of mass' occurs. In case that is the
> wrong term, I'd like to know the day that essentially cuts
2009 Aug 17
4
Is Samba useful in an all-Linux environment?
Hi all,
This isn't meant to be a troll. It's a legitimate question asked because I
haven't done much with Samba for 9 years.
Is there anything Samba can contribute to an all-Linux environment with no
Windows or Mac computers?
Thanks
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt
2009 Aug 13
4
Win98 asks for IPC$ password
Hi all,
After I converted my Linux desktop from Mandriva 2008.1 with Samba 3.0.28a to
Ubuntu 9.04 with Samba 3.3.2, my Windows 98 box could no longer connect to my
Linux desktop via Samba. The symptom was that Windows kept asking for the IPC$
password.
Linux clients have no problem with the Ubuntu Samba server. My machine is
called "mydesk", and on every Linux box in the house, the
2017 Dec 18
2
Finding center of mass in a hydrologic time series
Eric B's response provided just the kind of quick & simple solution I was
hoping for (appears as the function com below). However, I once again
failed to take advantage of the power of R and have reverted back to using
a for loop for the next step of the processing. The example below (which
requires the library EGRET for pulling an example dataset) works, but
probably can be replaced
2010 Dec 01
0
Bordeaux 50% off recession busting sale
The Bordeaux Technology Group is proud to announce a 50% off recession busting sale on Bordeaux for Linux, Mac, FreeBSD, PCBSD and OpenIndiana. With the current US unemployment rate hovering near 10% and rumors of the possibility of a double dip recession.
We want to do our part to help save individuals and small business as much money as we can on their Wine related software needs. With
2017 Dec 18
0
Finding center of mass in a hydrologic time series
Hi Eric,
the following works for me.
HTH,
Eric
library(EGRET)
StartDate <- "1990-10-01"
EndDate <- "2017-09-30"
siteNumber <- "10310000"
QParameterCd <- "00060"
Daily <- readNWISDaily(siteNumber, QParameterCd, StartDate, EndDate)
# Define 'center of mass' function
com <- function(x) {
match(TRUE, cumsum(x/sum(x)) > 0.5) -
2009 Feb 02
6
Problems in Recommending R
Dear List,
One persistent feedback I am getting to people who are newly introduced to R
( especially in this cost cutting recession) is -
1) The website looks a bit old.
While the current website does have a lot of hard work behind it, should n't
a world class statistics package have a better website instead.
You can check out www.knime.org which is an open source software , and free,
and
2008 Jan 10
2
How to PXE Boot
Folks,
Are there updated instructions on how to set up PXE boot under CentOS 5.x? I found that the system-config-netboot RPM has been absent, and the instructions written reference it, with a bug report not yet closed on Red Hat.
Thanks,
OSC
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-netboot-pxe-config.html
http://rhn.redhat.com/errata/RHBA-2006-0380.html
--
Are we headed
2011 Nov 09
1
Are there equivalents to xblocks or rect that can be used with plot.xts?
I would like to add vertical shaded blocks in plot.xts graphs (like recession
periods in FRED graphs)
The reason I use plot.xts instead of plot.zoo is that I like the fact that
the grid is automatically aligned with major ticks in plot.xts.
xblocks() and rect() do not seem to work with plot.xts (only with plot.zoo).
Are there any alternative methods that work with plot.xts?
Thanks.
--
View
2012 Jan 30
1
reposurgon and the conversion
My wife just got laid off - the recession has hit her law firm hard.
This means my priorities have shifted to either finding more paying
work myself or helping her find another job.
This means the timeframe for a finished repo conversion just got more
uncertain, as I may not be able to work steadily on it for a while.
--
<a href="http://www.catb.org/~esr/">Eric S.
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
Hello:
I've come to a dead-end in my search for a solution to a graphing problem that I am encountering. I have used xyplot (from the lattice package) successfully to plot 36 time-series plots (lines) of under-5 mortality for a set of countries in Sub-Sarahan Africa.
What I would now like to do is to add vertical bands (rectangles) that correspond to time-periods during which each of the 36
2008 Oct 22
1
Think I'm sure, but confirm: lme4 vs. nlme
The impression I get from the list and the references I've perused is
that nlme is being phased out in favor of lme4, but lme4 still doesn't
have a complete feature set yet.
What I'm still fuzzy on, being a relative R newbie, is:
(a) what features in nlme are currently missing in lme4
(b) what's the projected time frame on getting them implemented.
If anyone can answer my naive
2009 Jul 27
6
Superscripts and rounding
I am new to the world of R/programming so this may be a really easy question.
I thank you for your patience and help in advance
I would like the characters km^2 to be displayed on the plot subtitle as km
squared - two as a superscript.
I would also like to have the numbers from the data set for longitude and
latitude to be rounded to four decimal places.
Thank you.
plot (
2008 Nov 04
2
ggplot & annotating charts
Dear "R-listers"
I've been trying to figure out how to annotate charts in ggplot (ie add text
to line charts, highlighted boxes etc). By and large, I can get close to
what i want with base graphics, but would ideally like to use ggplot
whenever possible (additionally, i would like to add text labels
automatically to the chart). The code is below
I suspect I need to use geom_rect,
2011 Aug 26
0
out of sample predictions using a probit model
hello all,
I am a beginner at R and not exactly a statistician either. I'm messing
around with a probit model on an enconomic time series. I can get the model
estimated but I have not been able to get it to give me predictions out of
sample data. I'm using the predict function but getting errors. Here is my
code:
#predict a recession 12 months out
#k=12 means 12 months forward
#dates
2023 Jan 07
1
centos 8-Streams kernel?
Heh,
Your sentiments on the website very much mirror my own, although I?m more focused on server applications rather than on desktop (we use Macs and Ubuntu for that). When Red Hat announced Streams, I was terrified at first and my first instinct was to switch to Rocky or a similar 1:1 distro, but then thought there might be something good coming out of the whole ordeal. And indeed it did, we
2011 Feb 17
3
summing 15 minute precip data to daily
Hi all,
i'm sure there is an easy way to do this, but i'm stumped, so any help would
be appreciated.
i have a single column of data for precipitation every 15 minutes over a
year. i want to sum the precip to daily data.
so the first 96 records = the first day, the second 96 records = the second
day, and so on....
is there a way to write a for loop that would sum the data to daily, and
2011 Feb 03
2
CentOS Digest, Vol 73, Issue 3
On 02/03/2011 09:00 AM, Lamar Owen wrote:
> ------------------------------
>
> On Wednesday, February 02, 2011 08:04:43 pm Les Mikesell wrote:
>> > I think there are ways that drives can fail that would make them not be detected
>> > at all - and for an autodetected raid member in a system that has been rebooted,
>> > not leave much evidence of where it was
2006 May 06
3
Kernel 2.6.15 + Google Earth
I recently upgraded wine from 0.9.7 to 0.9.12 and while checking out that things
were working I started up Google Earth but had the following error in terminal:
Message from syslogd@TheVoid at Sun May 7 02:40:26 2006 ...
TheVoid kernel: Bad page state at free_hot_cold_page (in process
'GoogleEarth.exe', page c125be60)
Message from syslogd@TheVoid at Sun May 7 02:40:26 2006 ...
TheVoid