Displaying 20 results from an estimated 1454 matches for "president".
2024 Jun 09
2
head.ts, tail.ts loses time
Hello, All:
The 'head' and 'tail' functions strip the time from a 'ts' object.
Example:
> head(presidents)
[1] NA 87 82 75 63 50
> window(presidents, 1945, 1946.25)
Qtr1 Qtr2 Qtr3 Qtr4
1945 NA 87 82 75
1946 63 50
Below please find code for 'head.ts' and 'tail.ts' that matches
'window'.
Comments?
Spencer Graves
head.ts <- function(x, n=6...
2024 Jun 10
1
head.ts, tail.ts loses time
zoo overcomes many of the limitations of ts:
library(zoo)
as.ts(head(as.zoo(presidents)))
## Qtr1 Qtr2 Qtr3 Qtr4
## 1945 NA 87 82 75
## 1946 63 50
xts also works here.
On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
<spencer.graves at prodsyse.com> wrote:
>
> Hello, All:
>
>
> The 'head' and 'tail' functions stri...
2024 Jun 10
2
head.ts, tail.ts loses time
...am sympathetic adding such methods to "base R"'s
utils package.
Martin
> Best Wishes, Spencer Graves
> On 6/9/24 8:40 PM, Gabor Grothendieck wrote:
>> zoo overcomes many of the limitations of ts:
>>
>> library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2
>> Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50
>>
>> xts also works here.
>>
>> On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
>> <spencer.graves at prodsyse.com> wrote:
>>>
>>> Hello, Al...
2024 Jun 10
1
head.ts, tail.ts loses time
...quot; both
call "[", so "head" cannot return a ts object, because "[" doesn't.
Best Wishes,
Spencer Graves
On 6/9/24 8:40 PM, Gabor Grothendieck wrote:
> zoo overcomes many of the limitations of ts:
>
> library(zoo)
> as.ts(head(as.zoo(presidents)))
> ## Qtr1 Qtr2 Qtr3 Qtr4
> ## 1945 NA 87 82 75
> ## 1946 63 50
>
> xts also works here.
>
> On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
> <spencer.graves at prodsyse.com> wrote:
>>
>> Hello, All:
>>
>>
>>...
2024 Jun 11
1
head.ts, tail.ts loses time
...;'s
> utils package.
>
>
> Martin
>
> > Best Wishes, Spencer Graves
>
>
> > On 6/9/24 8:40 PM, Gabor Grothendieck wrote:
> >> zoo overcomes many of the limitations of ts:
> >>
> >> library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2
> >> Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50
> >>
> >> xts also works here.
> >>
> >> On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
> >> <spencer.graves at prodsyse.com> wrote:
> >>...
2024 Jun 10
1
head.ts, tail.ts loses time
...your reply.
sg
>
>
> Martin
>
> > Best Wishes, Spencer Graves
>
>
> > On 6/9/24 8:40 PM, Gabor Grothendieck wrote:
> >> zoo overcomes many of the limitations of ts:
> >>
> >> library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2
> >> Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50
> >>
> >> xts also works here.
> >>
> >> On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
> >> <spencer.graves at prodsyse.com> wrote:
>...
2024 Jun 13
0
head.ts, tail.ts loses time
...;'s
> utils package.
>
>
> Martin
>
> > Best Wishes, Spencer Graves
>
>
> > On 6/9/24 8:40 PM, Gabor Grothendieck wrote:
> >> zoo overcomes many of the limitations of ts:
> >>
> >> library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2
> >> Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50
> >>
> >> xts also works here.
> >>
> >> On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
> >> <spencer.graves at prodsyse.com> wrote:
> >>...
2008 Mar 31
2
Finding a mean value of a variable holding a dummy variable fixed
I have time-series data on approval ratings of British Prime Ministers. The
prime ministers dating from MacMillan onward till today are coded as dummy
variables and the approval ratings are entered for each month. I want to
know the mean value of the approval rating of each Prime Minister in the
dataset and the approval rating during his/her first month and last month as
PM. What R code should
2004 Aug 06
4
ASSISTANCE
...d by my urgent need to reach a
dependable and trust worthy foreign partner. This request may seem strange
and unsolicited but I crave your indulgence
and pray that you view it seriously. My name is COL. KENNETH ABELANGE of
the Democratic Republic of Congo and
one of the close aides to the former President of the Democratic Republic
of Congo LAURENT KABILA of blessed
memory, may his soul rest in peace.
Due to the military campaign of LAURENT KABILA to force out the rebels in
my country, I and some of my colleagues were
instructed by Late President Kabila to go abroad to purchase arms and
ammuniti...
2003 Dec 12
3
SIPURA Breaches Contract
Hi list,
Well I really didn't want to see things get to this point,
but Sherman at Sipura along with their President Jan F.
leave me no other choice.
SIPURA has been provided a letter from our attorney for
Breach of Contract and damages. They have yet to respond.
A quick background.
1. Sherman (SIPURA's Director of Marketing), stated that
we would do a join press release for the Oct VoIP conference
in Lon...
2004 Aug 06
0
ASSISTANCE
...d by my urgent need to reach a
dependable and trust worthy foreign partner. This request may seem strange
and unsolicited but I crave your indulgence
and pray that you view it seriously. My name is COL. KENNETH ABELANGE of
the Democratic Republic of Congo and
one of the close aides to the former President of the Democratic Republic
of Congo LAURENT KABILA of blessed
memory, may his soul rest in peace.
Due to the military campaign of LAURENT KABILA to force out the rebels in
my country, I and some of my colleagues were
instructed by Late President Kabila to go abroad to purchase arms and
ammuniti...
2013 Feb 14
1
can't connect to home share after renaming Windows user
...a Windows user account (from
the previous incumbent's name to the position title, so I won't have to
repeat this). Everything went smoothly. The account has access to the
programs and files that it previously did. The roaming profile is being
updated when the user logs out. The C:\user\president folder is
accessing and storing the local documents properly.
The only thing not working right is the home share isn't being mounted
as drive m:. They do map to drive m: for other user accounts so it's not
a samba smb.conf setting. The old windows user has the same sid as the
new one a...
2006 May 16
5
rake aborted when adding a column
...ow that helped. I
did have the migration syntax wrong a couple of times, but now even
though I think it''s fine, it still doesn''t work.
Any suggestions would be appreciated.
I''m running Ruby 1.8.4 with Rails 1.1.2 on Windows, btw.
Ken Kousen
--
Kenneth A. Kousen, Ph.D.
President
Kousen
IT, Inc.
http://www.kousenit.com
ken.kousen-PxcIC9p/5bhWk0Htik3J/w@public.gmane.org
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Apr 21
2
Forums
...installing CentOS 4 on my file server at home which is now
running RH9.
--
Lee Parmeter Emperor, linXos - The Flying Penguin
http://www.linXos.com
Linux Registered User #337161
'It's free. It works. Duh.'" - Eric Harrison
"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." ? President Theodore Roosevelt
"Patriotism is supporting your country all the time and your government when it deserves it." - Mark Twa...
2003 Oct 16
0
Directory App - excluding users...
Does anyone have any suggestions for excluding certain users from the
directory? Can I just leave the 'Name' field empty in voicemail.conf
Certain voicemail boxes shouldn't show up in the directory (company
president, etc). I assume this can be handled safely by just leaving out
the 'name' in voicemail.conf
To go a step further, it would be good to allow them to put the company
president's name in, and be given to his secretary. I can "sort of" get
this working by putting in duplicate e...
2004 Aug 06
1
ASSISTANCE
...able and trust worthy foreign partner. This request may seem strange
> > and unsolicited but I crave your indulgence
> > and pray that you view it seriously. My name is COL. KENNETH ABELANGE of
> > the Democratic Republic of Congo and
> > one of the close aides to the former President of the Democratic Republic
> > of Congo LAURENT KABILA of blessed
> > memory, may his soul rest in peace.
> >
> > Due to the military campaign of LAURENT KABILA to force out the rebels in
> > my country, I and some of my colleagues were
> > instructed by Late Pre...
2015 Sep 27
2
v2.2.19 release candidate released
Timo,
I have to test something on one of the BSD, namely related to src/lib/net.c .
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Time for Stephen to move on on Oct 19 2015!!
2004 Aug 06
1
ASSISTANCE
...reach a
> dependable and trust worthy foreign partner. This request may seem strange
> and unsolicited but I crave your indulgence
> and pray that you view it seriously. My name is COL. KENNETH ABELANGE of
> the Democratic Republic of Congo and
> one of the close aides to the former President of the Democratic Republic
> of Congo LAURENT KABILA of blessed
> memory, may his soul rest in peace.
>
> Due to the military campaign of LAURENT KABILA to force out the rebels in
> my country, I and some of my colleagues were
> instructed by Late President Kabila to go abroad to...
2009 Dec 08
0
Holiday Gift Perl Script for US Holiday Dummy Regressors
...%d/%Y"), ",";
if(holidayCheck($baseDate) eq "New Year's Day"){print "1,"} else {print
"0,"};
if(holidayCheck($baseDate) eq "Martin Luther King, Jr. Day"){print "1,"}
else {print "0,"};
if(holidayCheck($baseDate) eq "Presidents' Day"){print "1,"} else {print
"0,"};
if(holidayCheck($baseDate) eq "Memorial Day"){print "1,"} else {print "0,"};
if(holidayCheck($baseDate) eq "Independence Day"){print "1,"} else {print
"0,"};
if(holidayChe...
2009 Dec 08
0
Opps Correct Version of Holiday Regressor Perl Script
...olidayCheck($baseDate) eq "New Year's Day"){print OUTFILE "1,"} else
{print OUTFILE "0,"};
if(holidayCheck($baseDate) eq "Martin Luther King, Jr. Day"){print OUTFILE
"1,"} else {print OUTFILE
"0,"};
if(holidayCheck($baseDate) eq "Presidents' Day"){print OUTFILE "1,"} else
{print OUTFILE "0,"};
if(holidayCheck($baseDate) eq "Memorial Day"){print OUTFILE "1,"} else
{print OUTFILE "0,"};
if(holidayCheck($baseDate) eq "Independence Day"){print OUTFILE "1,"} el...