Displaying 20 results from an estimated 812 matches for "1995".
Did you mean:
1992
2013 Jul 12
4
simplify a dataframe
...nce", "Congo", "Congo", "Congo", "Congo", "Congo",
"Congo", "Gabon", "Gabon", "Gabon", "Gabon", "Gabon", "Gabon",
"Congo", "Congo"), Debut = c("24/01/1995", "01/05/1997", "31/12/1997",
"02/02/1995", "28/02/1995", "01/03/1995", "13/03/1995", "01/01/1996",
"31/01/1996", "24/01/1995", "01/07/1995", "01/09/1995", "01/07/1997",
&quo...
2007 Jul 10
1
exces return by mktcap decile for each year
I have a data frame, lets call it dat,
with 3 columns ( mc, yr, ret) which represent market
cap, year, and return. mc is a factor, mc, and ret are
real numbers.
I want to add a column to the data calculated as
follows.
For each year, I want to split the data by mc decile,
then calculate the mean ret within that mc decile, and
finally subtract that year's decile mean from the raw
return. Then
2008 Jan 14
2
plot POSIXct format data
Hi, everyone
I've been trying to make a scatter plot of POSIXct format data to see
the difference between two start time.
Like X:
[1] "1995-05-26 19:00:00" "1995-05-27 01:00:00" "1995-05-27 07:00:00"
[4] "1995-06-29 01:00:00" "1995-06-29 07:00:00" "1995-06-30 13:00:00"
[7] "1995-06-30 19:00:00" "1995-07-01 01:00:00" "1995-07-01 07:00:00"
......
Y:
[1]...
2002 Dec 08
1
Sudden Bug
...I'm using samba in my private network since 1 year. Since yesterday I fi
nd the mesg in the appendix when I trie to print. File transfer works
fine, you find all printers but its not possible to print anything.
Where to search ?
Thanks a lot
Bernd
-------------- next part --------------
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbut...
2013 Apr 19
5
how to subtotal by rows
Dear R-users,
I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid.
fid year rice wheat maize
------------------------------------------------
1 1995 5 NA NA
1 1995 NA 3 NA
1 1995 NA NA 2
1 1996 4 NA NA
1 1996 NA 2 NA
1 1996 NA NA 6
2 1995 3 NA NA
2 ...
2006 Nov 23
1
how to loop this?
...1994-10-10", "1994-10-17",
"1994-10-27", "1994-10-30", "1994-11-05", "1994-11-13", "1994-11-23",
"1994-11-28", "1994-12-07", "1994-12-10", "1994-12-21", "1994-12-29",
"1995-01-02", "1995-01-11", "1995-01-14", "1995-01-17", "1995-01-20",
"1995-01-26", "1995-01-30", "1995-02-03", "1995-02-08", "1995-02-14",
"1995-02-19", "1995-02-23", "1995-02-...
2011 Jun 02
2
Counting occurrences in a moving window
Hi list, based on the following data.frame I would like to create a variable
that indicates the number of occurrences of A in the 3 years prior to the
current year:
DF = data.frame(read.table(textConnection(" A B
8025 1995
8026 1995
8029 1995
8026 1996
8025 1997
8026 1997
8025 1997
8027 1997
8026 1999
8027 1999
8028 1995
8029 1998
8025 1997
8027 1997
8026 1999
8027 1999
8028 1995
8029 1998"),head=TRUE,stringsAsFactors=FALSE))
becomes:
A B C
8025 1995 0
8026 1995 0
8029 1...
2008 Feb 22
3
projection.matrix() {popbio} for more than one matrix
...to use the projection.matrix( ) function and am following the
example given. I have my data formatted very similar to the test.census
example.
> str(AsMi05mat)
`data.frame': 1854 obs. of 6 variables:
$ Tag : num 501 502 503 504 505 506 507 508 509 510 ...
$ Year : int 1995 1995 1995 1995 1995 1995 1995 1995 1995 1995 ...
$ Length : num 34 37 11 24 7 44 4 7 12 20 ...
$ Flowering: int 1 1 0 1 0 1 0 0 0 1 ...
$ Fruits : int 22 22 0 89 0 15 0 0 0 0 ...
$ Stage : Factor w/ 5 levels "","Dead","Dormant",..: 4 4 5 4 5 4 5 5 5 4...
2006 Nov 22
3
dataframe manipulation
...uot;, "1994-10-10",
"1994-10-17", "1994-10-27", "1994-10-30", "1994-11-05", "1994-11-13",
"1994-11-23", "1994-11-28", "1994-12-07", "1994-12-10", "1994-12-21",
"1994-12-29", "1995-01-02", "1995-01-11", "1995-01-14", "1995-01-17",
"1995-01-20", "1995-01-26", "1995-01-30", "1995-02-03", "1995-02-08",
"1995-02-14", "1995-02-19", "1995-02-23", "1995-02-25"...
2009 Feb 10
3
ISOdatetime gives NA for a specific date
Hi all,
I am using ISOdatetime, and I just found out that when I do
ISOdatetime(1995,03,26,2,10,0) (or any other value under minutes or seconds)
I get NA
This does not happen with the same time in other dates, nor with different
hours in the same date.
Any hint why this happens?
Using R 2.8.1 under ESS/GnuEmacs under Windows XP
Pedro
--
View this message in context: http://www....
2008 Aug 27
3
Calculating total observations based on combinations of variable values
...sia Central (Province) Kandy
1994 2 28 Sri Lanka South Asia Eastern (Province) Wakianeri
1994 6 28 Sri Lanka South Asia Eastern (Province) Valachenai
1994 6 31 Sri Lanka South Asia Central (Province) Kandy
1995 3 1 Sri Lanka South Asia North (Province) Kilinochchi
1995 3 6 Sri Lanka South Asia Western (Province) Colombo
1995 7 15 Sri Lanka South Asia Northern (Province) Mankulam
1995 7 23 Sri Lanka South Asia Northe...
2008 Jul 25
1
Matrix from List
Hello, I have a list in which each element is a list. I want to
create a matrix indexed by the two indices of the list. I have been
using do.call, but I am not getting what I want. Let me show you:
> l.intercepts #the list that nests another list
$`1995`
$`1995`$`31`
(Intercept)
25.37164
$`1995`$`33`
(Intercept)
26.66755
$`2006`
$`2006`$`31`
(Intercept)
25.86621
$`2006`$`33`
(Intercept)
26.44245
I want a matrix like
1995 31 25.37164
1995 33 26.66755
2006 31 25.86621
2006 33 26.44245
I notice that if I do:
> l.intercepts_1 &l...
2011 Mar 10
1
Timezone issue with strftime/strptime and %z and %Z
...;t see. I did not have this
problem in Linux, and I searched r-help and Google but did not find a
solution, but of course I am grateful for and resources I might not
have found our not understood yet.
I try to parse a time stamp with time zone. I essentially just want to
parse the time stamp "1995-05-25T15:30:00+10:00" and output it exactly
like it is, using the POSIX classes (or is that impossible?).
Please find the script and output/comments below.
Regards,
Daniel
> sessionInfo()
R version 2.12.1 (2010-12-16)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Germ...
2004 Dec 17
1
reshape and split
Dear R-users,
I am trying to reshape the DF "dat2" in the "long" format,
but can't figure out how to use the "split"-option:
> dat2
a.1995.z b.1995.z a.1996.z var
1 100.00000 100.00000 100.00000 Neue Anlagen insgesamt
2 40.09904 23.60890 40.88960 Neue Ausr??stungen
3 59.90096 76.39110 59.11040 Neue Bauten
This should be the result:
region time wz value var
a 1995 z 100 Neue Anlagen insgesam...
2004 Jul 26
5
aggregate function
Hi all,
I have the folowing frame(there are more columns than shown),
1 2 3 4 5
Year Total Tus Whi Norw
1994 1.00 1830 0 355
1995 1.00 0 0 0
1995 1.00 0 0 0
1995 1.00 4910 4280 695
1997 1.00 0 0 110
1997 0.58 0 0 0
1997 1.00 0 0 0
1994 1.00 0...
2005 Oct 11
6
adding 1 month to a date
Within an R dataset, I have a date field called “date_”. (The dates are in the format “YYYY-MM-DD”, e.g. “1995-12-01”.)
How can I add or subtract “1 month” from this date, to get “1996-01-01” or “ “1995-11-01”.
---------------------------------
[[alternative HTML version deleted]]
2007 Oct 25
1
subsetting
Dear all,
I have received some data on birds that looks sth like this:
# a unique id for each individual
id <- c(1,1,1,2,2,2,3,3,3,4,4,5,6)
# the year the bird was measured
year <- c(1995, 1996, 1997, 1995, 1996, 1997, 1996, 1997, 1998, 1996, 1997, 1997, 1998)
# the year the bird was hatched
year.hatch <- c(1995, 1995, 1995, 1995, 1995, 1995, 1996, 1996, 1996, 1996, 1996, 1997, 1998)
# the year when the bird reproduced the first time (for simplicity in the dummy data, all birds...
2002 Jul 23
3
Aggregate: assembling the "by" part on the fly
Dear R users,
I'm having trouble using aggregate() and would
greatly appreciate your advice. I am using R 1.5.1
on Windows 2000.
I want to call my function in the following way
extract.data(x=dat[, "Age", "Year"])
where extract.data() uses aggregate() to count the number
of cases for each combination of "Age" and "Year".
I've defined
2008 May 09
2
Tabulation of aggregated data.frame
...te() tabulated.
For example, I run the following command to aggregate re with respect
to group1 and group2.
> (aggr <- with(final, aggregate(re, group1, group2, mean)))
Group.1 Group.2 x
1 1992 15 0.16392
2 1993 15 0.15467
3 1994 15 0.15456
4 1995 15 0.15391
5 1996 15 0.16511
6 1997 15 0.17368
7 1998 15 0.17955
8 1999 15 0.19805
9 2000 15 0.20546
10 1992 16 0.16237
11 1993 16 0.18359
12 1994 16 0.13811
13 1995 16 0.13988
14 1996 16 0.15604
15...
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
...0 0.072 -0.046
4/30/1994 -0.025 0.013 -0.084
5/31/1994 -0.010 0.023 -0.007
6/30/1994 0.002 0.064 0.005
7/31/1994 0.001 -0.012 0.058
8/31/1994 0.000 -0.057 0.164
9/30/1994 -0.012 0.016 0.052
10/31/1994 -0.014 -0.004 -0.035
11/30/1994 -0.002 0.030 -0.014
12/31/1994 -0.019 -0.002 -0.042
1/31/1995 -0.006 0.013 -0.100
2/28/1995 0.012 -0.022 -0.079
3/31/1995 0.013 0.004 -0.055
4/30/1995 0.023 -0.004 0.073
5/31/1995 0.017 -0.013 0.013
6/30/1995 0.019 -0.069 0.008
7/31/1995 0.009 -0.059 0.022
8/31/1995 0.008 0.008 0.010
9/30/1995 0.011 -0.029 0.019
10/31/1995 0.013 0.064 -0.057
11/30/1...