Displaying 20 results from an estimated 393 matches for "1981".
Did you mean:
191
2006 Jun 04
2
surprising dates
I wonder if this is an intentional feature or an oversight. in some
column summaries or in ifelse operations, apparently I am losing the
date property of my vector.
> a <- c(198012, 198101, 198102)
> b <- a*100+31
> c <- as.Date( as.character(b), "%Y%m%d" )
> summary(c)
Min. 1st Qu. Median Mean 3rd Qu. Max.
"1980-12-31" "1981-01-07" "1981-01-15" "1981-01-15" "1981-01-23&qu...
2005 Jan 12
4
Finding seasonal peaks in a time series....
...54
foo <- sin((2 * pi * 1/24) * 1:nPts)
foo <- foo + rnorm(nPts, 0, 0.05)
bar <- ts(foo, start = c(1980,3), frequency = 24)
plot(bar)
start(bar)
end(bar)
# I want to find the peak value from each year, and then get the mean
of the values on either side.
# So, if the peak value in the year 1981 is
max.in.1981 <- max(window(bar, start = c(1981,1), end = c(1981,24)))
# e.g, cycle 7 or 8
window(bar, start = c(1981,1), end = c(1981,24)) == max.in.1981
# E.g. if the highest value in 1981 is in cycle 8 I want
mean.in.1981 <- mean(window(bar, start = c(1981,5), end = c(1981,11)))
plot(bar)...
2012 Mar 09
6
unir 2 dataframe con con igual caso pero distinto valor en igual variable
...hivo
madre lo relleno con el valor del mismo caso que lo tengo en el
archivo hijos.
El comando merge no me permite hacer lo anterior. ¿Hay alguno más avanzado?
El archivo madre es mas corto que cualquiera de los archivos hijos.
Un extracto del archivo madre:
Dia Mes Año Nombre Apellido Clase
1 1981 Juan Perez A
2 2 1981 Maria Paz B
2 Pedro García B
3 3 1981 José Lugano C
1 1 1982 José Lugano C
Un extracto de un archivo hijo:
Dia Mes Año Nombre Apellido Clase
1 1 1981 Juan Perez A
3 2 1981 Maria Paz B
1 2 1982 Pedro García B
1 1 1983 José Lugano C
1 2 1984 Juan Paz B
2 2 1985 Maria García...
2008 Jun 06
2
write.table() error
...annot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file 'c:/data1.csv': Permission denied
where dataa is a zoo object
> head(dataa)
data11 data22
Nov 1980 988.25 194841
Dec 1980 942.38 205732
Jan 1981 935.90 226501
Feb 1981 968.79 227402
Mar 1981 932.77 233490
Apr 1981 906.18 233447
Can please tell me why this error is coming? I am using Windows vista
[[alternative HTML version deleted]]
2005 Aug 13
1
How to make a lagged variable in panel data?
...ctly 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 -0.49928025
7 1981 2 0.06842660
8 1982 2 0.65677575
9 1983 2 0.15947390
10 1984 2 -0.46585116
11 1980 3 -0.29052635
12 1981 3 -0...
2015 Nov 05
0
CentOS-announce Digest, Vol 129, Issue 2
...p' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."
Today's Topics:
1. CESA-2015:1981 Critical CentOS 7 nspr Security Update
(Johnny Hughes)
2. CESA-2015:1981 Critical CentOS 7 nss-util Security Update
(Johnny Hughes)
3. CESA-2015:1981 Critical CentOS 7 nss Security Update
(Johnny Hughes)
4. CESA-2015:1982 Critical CentOS 7 firefox Security Update
(J...
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
2009 Sep 24
2
Date formats in as.Date
I have trouble with this:
as.Date("Sep-1981", format="%b-%Y")
Returns "NA"
>From documentation for strftime
'%b' Abbreviated month name in the current locale. (Also matches
full name on input.)
'%Y' Year with century.
What am I doing wrong?
cheers
Worik
[[alternative HTML vers...
2012 Feb 17
4
[Bug 1981] New: Trying to use ssh with a missing identity file gives no warnings
https://bugzilla.mindrot.org/show_bug.cgi?id=1981
Bug #: 1981
Summary: Trying to use ssh with a missing identity file gives
no warnings
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.2p1
Platform: All
OS/Version: All
Status: NEW...
2013 Jan 17
3
[Bug 1981] Trying to use ssh with a missing identity file gives no warnings
https://bugzilla.mindrot.org/show_bug.cgi?id=1981
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2136| |ok+
Flags| |
--- Comment...
2012 Feb 17
4
How can I tabulate time series data (in RStudio or any other R editor)?
...a tabular form?
The second question is that if I have another data sequence, how can I
combine the two and see both data in a tabular form?
> a2<-101:116> a2ts<-ts(a2, frequency=4, start=c(1979,1))> a2ts Qtr1 Qtr2 Qtr3 Qtr4
1979 101 102 103 104
1980 105 106 107 108
1981 109 110 111 112
1982 113 114 115 116
>
Thank you,
Miao
[[alternative HTML version deleted]]
2009 Mar 14
3
plotting question
Greetings all,
I have two questions. I have a data set that is arranged in the example
below. I wish to obtain a plot of the performance of each ID over Year
on v1. It's not clear how I set this up?
ID Year V1
1 1980 1
1 1981 2
1 1982 6
1 1983 4
2 1980 5
2 1981 5
2 1982 5
2 1983 6
Also,I would like to transpose the data to have the variable across the
columns such as
ID v1980 v1981 v1982 v1983
1 1 2 6 4
2 5 5 5 6
Is there a straightforward...
2003 Sep 30
1
Generation of labels for 2 factors
Hello,
I have a data set with 10 countries, 10 sectors of public policy and 15 years
like
country sector year
a aa 1980
a aa 1981
...
a bb 1980
a bb 1981
...
b aa 1980
b aa 1981
...
b bb 1980
b bb 1981
....
with 1500 observations.
My cases are the couple country/sector. So, I want to have 100 cases over 15
years. (both country and sector are factors)
I want to assign to each case a label (e.i. country 'a' + sector...
2005 Mar 12
1
Database reorganization
Hi people,
I need reorganization several databases. I would like to know if that is
possible in R. My problem is like that:
original data base:
Age x1980 x1981
1 5 8
3 7 9
5 9 15
7 11 20
future data base
year age x
1980 1 5
1980 3 7
1980 5 9
1980 7 11
1981 1 8
1981 3 9
1981 5 15
1981 7 20
Thanks in advance
Bernardo Rangel Tur...
2017 Jul 05
4
Help with reshape/reshape2 needed
...hape/reshape2 to get from:
1957 0.862500000
1958 0.750000000
1959 0.300000000
1960 0.287500000
1963 0.675000000
1964 0.937500000
1965 0.025000000
1966 0.387500000
1969 0.087500000
1970 0.275000000
1973 0.500000000
1974 0.362500000
1976 0.925000000
1978 0.712500000
1979 0.337500000
1980 0.700000000
1981 0.425000000
1982 0.212500000
1983 0.312500000
1986 0.237500000
1958 0.643564356
1963 0.250000000
1968 0.211538462
1976 0.317307692
1981 0.673076923
1985 0.730769231
1986 0.057692308
1957 0.073394495
1966 0.742574257
1961 0.082568807
1964 0.165137615
1965 0.137614679
1959 0.128712871
1968 0.58715596...
2011 Nov 19
3
reshape data.frame
...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 13
14 b 1974 14
15 b 1975 15
16 b 1976 16
17 b 1977 17
18 b 1978 18
19 b 1979 19
20 b 1980 20
21 b 1981 21
22 b 1982 22
23 b 1983 23
24 b 1984 24
25 b 1985 25
and I'd like to reshape it so it is like this:
X.1971 X.1972 X.1973 X.1974 X.1975 X.1976 X.1977 X.1978 X.1979 X.1980
X.1981
a 1 2 3 4 5 6 7 8 9 10
NA
b...
2015 Nov 04
0
CESA-2015:1981 Critical CentOS 7 nspr Security Update
CentOS Errata and Security Advisory 2015:1981 Critical
Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1981.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
ddc6b8eb467af6527ab38d900b3a42d2818e89c7fb1e12e963d1650fc52931a8 nspr-4.10.8-2.el7_1.i686.rp...
2015 Nov 04
0
CESA-2015:1981 Critical CentOS 7 nss-util Security Update
CentOS Errata and Security Advisory 2015:1981 Critical
Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1981.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
b0fcaaf2573261e960592ca2d2283e944200e9c1c3995340a3794760d53318f5 nss-util-3.19.1-4.el7_1.i68...
2015 Nov 04
0
CESA-2015:1981 Critical CentOS 7 nss Security Update
CentOS Errata and Security Advisory 2015:1981 Critical
Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1981.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
c4090c4b3292ac5abf553f3ce549681f0149d3b710bc003c2c8a2cc6b6610b16 nss-3.19.1-7.el7_1.2.i686.r...
2015 Nov 04
0
CESA-2015:1981 Critical CentOS 6 nss-util Security Update
CentOS Errata and Security Advisory 2015:1981 Critical
Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1981.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
2244ada80af9a50e7159f2b15d583c95d52a8fcf64bf24741a9ef43cae60ba7c nss-util-3.19.1-2.el6_7.i686....