search for: 1988

Displaying 20 results from an estimated 641 matches for "1988".

Did you mean: 198
2006 Oct 28
2
subsetting, aggregating and zoo
Hi, Having an zoo object I can subset it to obtain the days where I have the values within some range: is.zoo(z) TRUE subset(z[,1], z[,1]>=5 & z[,1]<= 10) #Yields: Year(day) 1988(13) 1988(14) 1988(16) 1988(20) 1988(21) 1988(22) 1988(25) 1988(26) 7.973946 9.933518 7.978227 7.512960 6.641862 5.667780 5.721358 6.863729 1988(27) 1988(28) 1988(29) 1988(30) 1988(32) 1988(33) 1988(34) 1988(35) 9.600000 9.049846 9.213438 6.412746 5.543606 7.881596 6.3...
2006 Nov 22
1
how to merge these dataframes
...o I've tried: merge(j1,j2,j3,by="Var1") merge(j,j1,j2,by=names("Var1")) But always got the same message: Erro en fix.by(by.x, x) : 'by' must specify column(s) as numbers, names or logical What I'm doing wrong? Thanks, Antonio j1 Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30 1 6 1988-02-01 5 7 1988-02-08 4 8 1988-02-14 1 9 1988-02-16 1 10 1988-02-18 4 j2 Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30...
2010 Mar 31
2
Summing data based on certain conditions
Dear all, I have a dataset of 1073 rows, the first 15 which look as follows: > data[1:15,] ??????? date year month day rammday thmmday 1?? 3/8/1988 1988???? 3?? 8??? 1.43??? 0.94 2? 3/15/1988 1988???? 3? 15??? 2.86??? 0.66 3? 3/22/1988 1988???? 3? 22??? 5.06??? 3.43 4? 3/29/1988 1988???? 3? 29?? 18.76?? 10.93 5?? 4/5/1988 1988???? 4?? 5??? 4.49??? 2.70 6? 4/12/1988 1988???? 4? 12??? 8.57??? 4.59 7? 4/16/1988 1988???? 4? 16?? 31.18?? 22.18 8? 4...
2010 Jun 01
1
arrange data
...ing format: year, month, day, rain.  I also would like the data to be arranged so that it will be continues for example year 1939 it will go from january 1 to december 31 and continue with year 1940 from january 1st to 31st December and so on.  What I have now is all january for all the years (1939-1988) and it continue february 1939 to all february 1988 and so on.         day month year rain 1675   1     1 1939  0.0 1676   2     1 1939  0.0 1677   3     1 1939  0.0 1678   4     1 1939  5.8 1679   5     1 1939  0.0 ... 41294  29    12 1987  0.0 41295  30    12 1987  0.0 41296  31    12 1987  0.0 4...
2006 Nov 23
1
how to loop this?
Hi, I have the next procedure: t1<-data.frame(table(substr(names(subset(lasker[[1]], lasker[[1]] >= 4)), 1, 7))) t1[1:5,] Var1 Freq 1 1988-02 3 2 1988-03 1 3 1988-04 1 4 1988-05 2 5 1988-06 3 How to make a new list?, dataframe? having 189 elements in the 'lasker' list: > str(lasker[[1]]) 'table' int [, 1:1274] 1 1 3 2 1 5 4 1 1 4 ... - attr(*, "dimnames")=List of 1 ..$ : chr [1:1274]...
2009 Jun 03
1
insert and count missing data
...9 100.0 1410 1986    10 166.0 1411 1986    12  68.1 1412 1987     2  46.0 1413 1987     3  35.0 1414 1987     4  75.0 1415 1987     5  90.8 1416 1987     6 189.0 1417 1987     7 110.6 1418 1987     8  87.2 1419 1987     9  50.0 1420 1987    10  41.8 1421 1987    11  64.0 1422 1987    12  75..6 1423 1988     1  34.6 1424 1988     2  36.0 1425 1988     3  65..6 1426 1988     4  40.0 1427 1988     5 239.8 1428 1988     6 150.8 1429 1988     7 125.8 1430 1988     8  64.4 1431 1988     9  86.0 1432 1988    10  54.0 1433 1988    11 153.4 1434 1988    12 212.0 1435 1989     1  19.6 1436 1989     2  17.4...
2006 Nov 22
3
dataframe manipulation
Hi, Having a dataframe 'l1' (dput output is below): >dim(l1) 1274 2 >l1[1:12,] Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30 1 6 1988-02-01 5 7 1988-02-08 4 8 1988-02-14 1 9 1988-02-16 1 10 1988-02-18 4 11 1988-02-24 2 12 1988-03-04 1 I want to extract the times "1988-01", "1988-02",...,&quo...
2010 Jul 26
3
Cluster analysis
Hi all, I have no idea if this question is to easy to be answered, but I?m starting with R. So, here we go. I have a large dataset with a lot of steps a judicial case. A sample is attached. I?d like to do a cluster analysis to try to understand with one is the most usual path followed by this legal cases. After that, I?d like to plot a cluster tree. In the attached sample, the column: -
2012 Feb 14
1
cumsum function to determine plankton phenology
...thly depending on the year. The goal is to identify the dates in an annual cycle in which the cumulative abundance of a species reaches some threshold. Here's an example of the data for 1 species over an annual period: "mc_pheno" is the object created from this data: zoo_date sp 1/8/1988 13.2 1/20/1988 11.6 2/3/1988 8.7 2/17/1988 10.7 3/3/1988 2.5 3/21/1988 2.2 4/12/1988 0.6 5/2/1988 0.3 5/10/1988 0.6 5/25/1988 0.8 6/8/1988 0.8 6/28/1988 3.8 7/5/1988 11.2 7/20/1988 9.3 8/3/1988 31.1 8/17/1988 50.9 9/6/1988 225 9/15/1988 172.6 10/18/1988 752.1 11/3/1988 28 11/15/1988 32.8 11/30/1988...
2006 Nov 26
1
adding elemens to a list
Hi, I have a list of 20 elements, each of them of variable length and with a structure like this: lasker[[1]][1:10,] Var1 Freq 1 1988-02 3 2 1988-03 1 3 1988-04 1 4 1988-05 2 5 1988-06 3 6 1988-07 1 7 1988-08 1 8 1988-09 1 9 1989-03 1 10 1989-04 1 How do I can insert in this list: 1988-01 0 1988-10 0 1988-11 0 1988-12 0 1989-01 0 1989-02 0 It's to say, the appropiate missin...
2010 Jun 30
6
Multiline and grouping in R
Hi All, this is my first mail here. I'm trying to plot a multiline chart grouping values with no success. I have read a lot in the official Wiki and also searched via Google, but I did not find anything. I'm importing some data from a cvs file. Here is a sample: YEAR,AREA,CASES 1988,CONTRACTS,286 1988,INTERNATIONAL,189 1988,FAMILY,385 1988,TAXATION,177 1989,CONTRACTS,233 1989,INTERNATIONAL,431 1989,FAMILY,425 1989,TAXATION,201 1990,CONTRACTS,190 1990,INTERNATIONAL,302 1990,FAMILY,303 1990,TAXATION,209 ... "t <- read.csv("file.csv", header=TRUE)" So far...
2004 Mar 18
2
Install R on Mac OS.X
I am running R 1.8.1 flawlessly on my mac with OS.X.3 My friend is running 1.6.1 but it is impossible for him to make 1.8.1 work. I do not understand why it should work better in my computer. I do, however, have X.11 installed, he doesnt, could that be an issue and if it is, does it suffice to install X.11 after RAqua has been installed? Tor A Strand, MD PhD Centre for International Health
2011 Aug 26
3
elegant way to check if 2 values are in 3 columns?
Dear all, I'm trying to rerun some data linkage exercises in R (they are designed to be done in SPSS, SAS or STATA) The exercise in question is to relabel the column "treat" to "1", if "yearsep" is smaller than 1988 and columns "proc1"-"proc3" contain the values 56.36 or 59.81. My pathetic solution to do this in R currently looks like this: vaslinks4$treat <- 0 vaslinks4$treat[vaslinks4$yearsep < 1988 && (vaslinks4$proc1 %in% c(56.36,59.81) || vaslinks4$proc2...
2012 Aug 09
4
indexing in data frames
...; is a LIST of numeric values. What I want to be able to do is perform an operation on each element in "c" by the single element in "b". So, for example, if I wanted to subtract each element in "c" from the scalar in "b". For example, if i had > a$b [1] 1988 [2] 1989 ? & > a$c [[1]] [1] 1985 1982 1984 [[2]] [1] 1988 1980 ? I'm looking for a result of: a$new [[1]] [1] 3 6 4 [[2]] [1] 1 9 ? I've tried a few different things, none of which have the desired result. Any help appreciated. thanks! jimi adams Assistant Professor Department o...
2010 Mar 18
1
probable timezone confusion with as.yearmon
It looks like a timezone issue, and it's causing confusion to me at least. My original data: gmt <- c("19880101 0000", "19880101 0100", "19880101 0300", "19880101 0400", "19880101 0500", "19880101 0600") These were converted to local dates/times with akst<-strptime(gmt,format="%Y%m%d %H%M")-(3600*9) # because I want local standard, not...
2001 May 18
1
NAs in chron objects
Dear All: I am having some trouble with date variables when NAs are present. The following example illustrates (see below for output of version): > library(chron) > minor.test <- c( "NA", "NA", "1988-02-08", + "1988-02-08", "NA", "1987-11-23", "1988-09-03", "1991-10-15", + "1992-01-14", "1992-02-18") > # data in yyyy-mm-dd format > minor.test[1:10] [1] "NA" "N...
2012 Mar 02
5
[Bug 1988] New: ControlPersist causes stderr to be left open until the master connection times out
https://bugzilla.mindrot.org/show_bug.cgi?id=1988 Bug #: 1988 Summary: ControlPersist causes stderr to be left open until the master connection times out Classification: Unclassified Product: Portable OpenSSH Version: 5.8p2 Platform: All OS/Version: All...
2013 Jun 06
2
[Bug 1988] ControlPersist causes stderr to be left open until the master connection times out
https://bugzilla.mindrot.org/show_bug.cgi?id=1988 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at zip.com.au Blocks|...
2014 Mar 07
2
Identificar pares de valores en distintas filas
Hola Francisco y Carlos, Quizas lo siguiente funcione para 2, 3 o mas IDs con FECHA y VALOR comun (aqui el maximo es 3): d <- data.frame(ID = 1:8, FECHA = c("01/04/1965", "01/09/1988", "01/04/2004", "01/04/1965", "01/05/1992", "01/04/1965", "01/09/1988", "01/09/1988"), VALOR = c(25578, 23456, 76578, 25578, 33724, 65789, 23456, 23456)) d$comb <- with(d, paste0(FECHA, "_", VALOR)) s <- with(d, spli...
2009 Mar 07
2
piecewise linear regression
Hi - I'd like to construct and plot the percents by year in a small data set (d) that has values between 1988 and 2007. I'd like to have a breakpoint (buy no discontinuity) at 1996. Is there a better way to do this than in the code below? > d year percent se 1 1988 30.6 0.32 2 1989 31.5 0.31 3 1990 30.9 0.30 4 1991 30.6 0.28 5 1992 29.3 0.25 6 1994 30.3 0.26 7 1996...