Displaying 20 results from an estimated 577 matches for "1980".
Did you mean:
1970
2004 Dec 06
0
R doesn't understand dates prior to 1 Jan 1970
...A NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
> [26] NA NA NA NA NA NA NA NA
This check, too, can be avoided if I change the dates created:
> > (t1 <- strptime(c("6. Aug. 1970", "3. Nov. 19725", "28. Mar. 1979",
> + NA, paste(1:29," Feb. 1980", sep=".")),
> + format = "%d. %b. %Y"))
> [1] "1970-08-06" "1972-11-03" "1979-03-28" NA "1980-02-01"
> [6] "1980-02-02" "1980-02-03" "1980-02-04" "1980-02-05" "1980-02...
2010 Nov 04
0
plotting time series for particular months!
Hi all,
I have a matrix as given below...
year month day prec
1 1980 10 1 13.4
2 1980 10 2 0.0
3 1980 10 3 0.0
4 1980 10 4 0.0
5 1980 10 5 0.0
6 1980 10 6 0.0
7 1980 10 7 0.0
8 1980 10 8 0.0
9 1980 10 9 0.0
10 1980 10 10 0.0
11 1980 10 11 7.4
12 1980 10 12 5.4
13 1980 10 13 ...
2006 May 30
1
Piecewise (broken stick) models in R
Hi there,
I´m a newbie in R and I´m looking for some advice how to teste Piecewise (Broken Stick) models.
I´have another simple question: how can I compute descriptive statistics for data grouped for two or more variables? See below, please.
Year Site Repetition rainfall
1980 1 1 ...
1980 1 2 ...
1980 1 3 ...
1980 2 1 ...
1980 2 2 ...
1980 2 3 ...
1990 1 1 ...
1990 1 2 ...
1990 1 3 ...
199...
2005 Aug 13
1
How to make a lagged variable in panel data?
Suppose we observe N individuals, for each of which we have a
time-series. How do we correctly create a lagged value of the
time-series variable?
As an example, suppose I create:
A <- data.frame(year=rep(c(1980:1984),3),
person= factor(sort(rep(1:3,5))),
wage=c(rnorm(15)))
> A
year person wage
1 1980 1 0.17923212
2 1981 1 0.25610292
3 1982 1 0.50833655
4 1983 1 -0.42448395
5 1984 1 0.49233532
6 1980 2...
2012 May 30
1
caret() train based on cross validation - split dataset to keep sites together?
...out that would be good to
know as well.
Tyrell Deweber
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-redhat-linux-gnu (64-bit)
Comid?? tempymd??????????? watmntemp?????? airtemp?????????predictorb???
15433??? 1980-05-01????????? 11.4????????? 22.1????????????????
15433??? 1980-05-02????????? 11.6??????????23.6??????? ????????
15433??? 1980-05-03????????? 11.2??????????28.5
15687??? 1980-06-01????????? 13.5??????????26.5
15687??? 1980-06-02????????? 14.2??????????26.9
15687??? 1980-06-03????????? 13.8????...
2012 Feb 17
4
How can I tabulate time series data (in RStudio or any other R editor)?
...a question on how to tabulate the time series data. I use
RStudio, but if can be done in any other R editor, it should work in
RStudio as well.
> a1<-11:22
> a1ts<-ts(a1, frequency=4, start=c(1978,1))
> a1ts Qtr1 Qtr2 Qtr3 Qtr4
1978 11 12 13 14
1979 15 16 17 18
1980 19 20 21 22
If I click the variable "a1ts" on the workspace, I see
structure(11:22, .Tsp = c(1978, 1980.75, 4), class = "ts")
If I coerce the variable to become a matrix,
> a1tsm<-as.matrix(a1ts)
and click the variable "a1tsm", I see the...
2012 Oct 04
0
RPostgreSQL Date format problem
...rted using RPostgreSQL within R to interrogate a PostgreSQL
database. The problem I have is that a column containing dates shows up
differently in R than in the database:
here is the output direct from the psql database in Linux:
db=> select pat_dob_dt from patients where pat_dob_dt like '%1980';
pat_dob_dt
------------
04/05/1980
01/12/1980
04/05/1980
02/10/1980
05/01/1980
25/09/1980
14/12/1980
22/07/1980
24/01/1980
01/07/1980
(10 rows)
and here is output from within R:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation...
2010 Nov 23
2
Plot two zoo object with different indexes
...;usr")
[1] 1977.76333 2011.15333 70.39856 227.03744
> z=zooreg(cpius$Value,as.yearmon("1979-11"),frequency=12)
> str(z)
?zooreg? series from Nov 1979 to Oct 2010
Data: num [1:372] 76.2 77 77.8 78.5 79.5 80.3 81.1 82 82 82.6 ...
Index: Class 'yearmon' num [1:372] 1980 1980 1980 1980 1980 ...
Frequency: 12
AND A DAILY SERIES IN THE SAME RANGE
> plot(y)
> par("usr")
[1] 3233.80000 15362.20000 70.42363 226.38559
> str(y)
?zoo? series from 1980-02-01 to 2010-10-31
Data: num [1:11231] 76.2 76.2 76.3 76.3 76.3 ...
Index: Class 'Da...
2007 Apr 25
0
sorting data help
...a 2x2xk contingency table. The variables are GDP and
an income inequality statistic with year being the k levels. I want to
eventually run a loglinear model with the data. Currently the data is
organized by either year or country. example
Country Year log(GDP) sqrt(INEQ)
1 1980 24 5.3
1 1981 25 5.45
1 1982 24.5 5.4
1 1983 25 5.3
1 1984 25.5 5.5
or
Country Year log(GDP) sqrt(INEQ)
1 1980 25 5.5
2 1980 22...
2013 Feb 07
8
[Bug 1980] use updated ssh-copy-id
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |1614, 1669, 1822, 1823,
|...
2002 Dec 06
3
ts startdate
...4) performing
n-steps-ahead (6) forecasts and using a fixed window size (36). At the
end of calculations I have a list that contains 69 forecasts.
I have no problems in fixing the window size by parametrization, e.g.
k<- control variable in a for loop
my.length<-36
past<-window(X,start=c(1980,k - my.length + 1),end=c(1980,k))
The integer defining the month number can be arbitrary set to: 6,16,46
etc and it always works. This, however, does not work when I try to
parameterise the start date of the result list
my.forecasts<-unlist(my.result.list)
my.forecast.results<-ts(my.foreca...
2017 May 18
0
can't do dhcp + samba + bind work together
...0 member1 dhcpd: execute_statement argv[1] = add
May 18 06:33:40 member1 dhcpd: execute_statement argv[2] = 192.168.0.164
May 18 06:33:40 member1 dhcpd: execute_statement argv[3] = 1:1c:65:9d:9d:e6:94
May 18 06:33:40 member1 dhcpd: execute_statement argv[4] = EAPDEV-PC
May 18 06:33:40 member1 named[1980]: samba_dlz: starting transaction on zone samdom.example.com
May 18 06:33:40 member1 named[1980]: samba_dlz: allowing update of signer=dhcpduser\@SAMDOM.EXAMPLE.COM name=EAPDEV-PC.samdom.example.com tcpaddr=127.0.0.1 type=A key=3578045150.sig-member1.samdom.example.com/160/0
May 18 06:33:40 member1...
2004 Mar 08
1
drawing filled countries according to data using map('world')? - follow up
...1936
4 lac NA ABW Aruba 1976 NA NA Aruba 1936
5 lac NA ABW Aruba 1977 NA NA Aruba 1936
6 lac NA ABW Aruba 1978 NA NA Aruba 1936
7 lac NA ABW Aruba 1979 NA NA Aruba 1936
8 lac NA ABW Aruba 1980 NA NA Aruba 1936
9 lac NA ABW Aruba 1981 NA NA Aruba 1936
10 lac NA ABW Aruba 1982 NA NA Aruba 1936
Now I would like to translate the country names in the 'world' database to
the country names in my dataset (following Becker and Wilk...
2011 Nov 19
3
reshape data.frame
A late friday afternoon coding question. I'm having a hard time thinking
of the correct search terms for what I want to do.
If I have a df like this:
a <-
data.frame(name=c(rep('a',10),rep('b',15)),year=c(1971:1980,1971:1985),amount=1:25)
name year amount
1 a 1971 1
2 a 1972 2
3 a 1973 3
4 a 1974 4
5 a 1975 5
6 a 1976 6
7 a 1977 7
8 a 1978 8
9 a 1979 9
10 a 1980 10
11 b 1971 11
12 b 1972 12
13 b 1973...
2011 Sep 19
0
file.info(path) "inconsistent" with file.exists(path) when path == "C:/"
...shell('dir "C:/"', intern=TRUE)
> str(x)
chr [1:57] " Volume in drive C is Windows7_OS" ...
# C:/. => OK
> file.exists("C:/.")
[1] TRUE
> file.info("C:/.")
size isdir mode mtime ctime atime exe
C:/. 0 TRUE 777 1980-01-01 1980-01-01 1980-01-01 no
> x <- list.files("C:/.")
> str(x)
chr [1:62] "$Recycle.Bin" "Boot" "bootmgr" "BOOTSECT.BAK" ...
> x <- shell('dir "C:/."', intern=TRUE)
> str(x)
chr [1:57] " Volume in drive...
2004 Feb 24
1
bug in ifelse (PR#6611)
> version
_
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 8.1
year 2003
month 11
day 21
language R
> aa <- as.POSIXct(c('1/1/1980','1/2/1980',''))
> ifelse(is.na(aa),as.POSIXct('1/3/1980'),aa)
Error in rep.int(unclass(x), times) : Argument "times" is missing, with
no default
>
submitted by Frank E Harrel Jr
--
Svetlana Eden Biostatistician II School of Medicine...
2010 Aug 14
1
Simple problem with lm/predict
Hi all,
I've got an xts time series with monthly OHLC Dow Jones industrial index
data from 1980 to present, the data is in stored in x.
I've done an OLS fit on the data in 1982::1994 and stored it in extrapolate1
(x[,4] contains the closing value for the index).
> t3 <- seq(1980,1994,length = length(x["1980::1994",4]))
> t4<-t3^2
> extrapolate1 <- lines(lm(x[...
2012 Feb 21
1
Questions on Data reading using zoo package
...M05 NA NA 1.18 1.33
18 1979M06 NA NA 1.13 1.20
19 1979M07 NA NA 1.54 1.38
20 1979M08 NA NA 1.54 1.19
21 1979M09 NA NA 1.41 1.17
22 1979M10 NA NA 1.17 1.08
23 1979M11 NA NA 1.20 1.19
24 1979M12 NA NA 1.23 1.32
25 1980M01 NA NA 0.95 1.02
26 1980M02 NA NA 1.10 1.18
27 1980M03 NA NA 1.06 1.20
28 1980M04 NA NA 0.93 1.24
29 1980M05 NA NA 1.19 1.38
30 1980M06 NA NA 1.30 1.36
31 1980M07 NA NA 1.52 1.35
32 1980M08 NA NA 1.62 1.26
&g...
2012 Feb 12
4
[Bug 1980] New: use updated ssh-copy-id
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
Bug #: 1980
Summary: use updated ssh-copy-id
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2...
2013 Jan 02
12
[Bug 1980] use updated ssh-copy-id
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
dajoker at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dajoker at gmail.com
--- Comment #6 from dajoker at gmail.com ---
The ' openssh-u...