similar to: Import time series data with uneven dates

Displaying 20 results from an estimated 100 matches similar to: "Import time series data with uneven dates"

2012 Jul 27
2
How can I use IPF function correctly?
Hi All, I am trying to creat a simple example byusing ipf function in R, but i could not get it succefully...I am very new to R, does anyone could help, to instruct me about this ipf fucntion? Actually, this is what I mean 50 | 50 ---------------------- 33.4| 28.57 | 14.29 33.3| 23.81 | 4.762 33.3| 9.523 | 19.05
2008 Sep 01
3
how to read multiple lines per case
How can I read a space-delimited file, where the data values for each case are folded before column 80, and so appear on two lines for each case? The first few cases look like this loc type bio H2S sal Eh7 pH buf P K Ca Mg Na Mn Zn Cu NH4 OI DVEG 676 -610 33 -290 5.00 2.34 20.238 1441.67 2150.00 5169.05 35184.5 14.2857 16.4524 5.02381 59.524 OI DVEG 516 -570 35 -268 4.75 2.66 15.591 1299.19
2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
I have a new device that takes measurements anywhere from every second, to every 15 minutes (depending on changes). The matrix has a date, time and Y column (Y is the measurement). For three days it is 25,000 rows. How do I average the measurements by every 30 minutes so my matrix is 48 rows per day? I have been working on this and cannot figure out a simple method. Any ideas? Thank you. ----- In
2004 Mar 02
1
possible bug in aov?
Hi, I'm interested in doing a repeated measures anova using aov. The procedure is nicely described in section 6.7.1, pp. 24-27 of Baron and Li's "Notes on the use of R for psychology experiments and questionnaires," and I've reproduced their example exactly. My own problem is almost identical to theirs: rawdat<-c(1.6530074e+001, 1.2124254e+001, 1.0040371e+001,
2008 Jan 24
5
Mirrrors with Uneven Drives!?
I didn''t think this was possible, but apparently it is. How does this work? How do you mirror data on a 3 disk set? This message posted from opensolaris.org
2017 Jun 04
0
Warning from reshape2 when melting a data frame with uneven number of columns.
I am not really sure what the warning means but I think your underlying problem is that all your variables are factors. Did you intend the values in each variable to be character? data.frame':??? 3 obs. of? 5 variables: ?$ V1: Factor w/ 3 levels "Name1","Name2",..: 1 2 3 ?$ V2: Factor w/ 3 levels "nam1","name-1",..: 1 3 2 ?$ V3: Factor w/ 3 levels
2005 May 02
1
Reading in a dataset with uneven variable lengths
Suppose I have a text file that I want to read into R like the following: X Y 649 699 657 891 714 632 849 727 721 597 791 868 874 652 405 978 733 549 790 This is a simple example -- I could have a huge file with many columns of unequal lengths. What is the best way to do it? I can't see how a data frame can be used. I checked the FAQ and did a web search on the topic but I came up
2006 Apr 05
1
Uneven y-axis scale
Dear R-gurus! Is it possible within boxplot to break the y-scale into two (or anything)? I'd like to have a normal linear y-range from 0-10 and the next tick mark starting at, say 60 and continue to 90. The reason is for better visualising the outliers. All the best, Kare [[alternative HTML version deleted]]
2007 Apr 19
1
Histogram with uneven bins
Hi R-helpers I would like to produce a histogram with uneven bins (e.g., 0, 1-2, 3-5, 6-10, 10-20, >20) but I would like the resulting bars to be the same width ( i.e., a bar's width would not be proportional to its corresponding bin size). Also, the x and y axes of my histograms frequently (almost always, actually) extend beyond the axis labels (i.e., there are unlabeled bars). I would
2012 Mar 15
2
how to bind uneven column (not equal length) into matrix without recycling values
i have > x [1] 1 2 3 4 5 6 > y [1] 34 5 6 > z<-cbind(x,y) > z x y [1,] 1 34 [2,] 2 5 [3,] 3 6 [4,] 4 34 [5,] 5 5 [6,] 6 6 i don't want recycling, instead can we put NA /0 like below> z x y [1,] 1 34 [2,] 2 5 [3,] 3 6 [4,] 4 NA [5,] 5 NA [6,] 6 NA & want distance matrix -- View this message in context:
2012 Aug 08
1
time series, uneven length
I have 4 univariate time series that I believe have correlation between them, I want to create a VAR model between them all. However I have an issue as 3 of them are the same length, however the 4th is smaller. meaning that i cannot use the 4th variable , is there anyway R can get round this issue? > length(tstemp) [1] 746 > length(tspres) [1] 746 > length(tswind) [1] 746 >
2017 Jun 04
0
Warning from reshape2 when melting a data frame with uneven number of columns.
Is this the solution? > d1<- as.data.frame(lapply(data,as.character),stringsAsFactors=FALSE) > str(d1) 'data.frame': 3 obs. of 5 variables: $ V1: chr "Name1" "Name2" "Name3" $ V2: chr "nam1" "name_12" "name-1" $ V3: chr "nam2" "nam_34" "name-2" $ V4: chr "nam3"
2011 Mar 03
2
plot, y-axis, uneven scale???
Hello, I have a question about the y-axis of plots. Actually I had about 60 values. About 80 percent of these values are less than 0.2, then the other 20 percent values are more than 4,max is 10. So when I plot these values together, the y-axis's range will go 0 to 10, and my major values (80% values <0.2) will be pressed around 0 on the bottom, while other several dots will scatter in
2007 Aug 24
1
uneven list to matrix
Hello, I am sure I am not the only person with this problem. I have a list with n elements, each consisting of a single column matrix with different row lengths. Each row has a name ranging from A to E. Here is an example: alph[[1]] A 1 B 2 C 3 D 4 alph[[2]] A 1 C 3 D 4 alph[[3]] A 1 D 4 E 5 I would like to create a matrix from the elements in the list with n columns such that the row names
2008 May 29
1
Joining uneven datasets
Hello, I have quite a simple problem that I believe can be solved quite easily. I have a dataframe as such: Symbol Date Time Exchange TickType ReferenceNumber Price Size 1 3:YMZ7.EC 12/03/2007 08:30:00 EC B 83916044 13387 9 2 3:YMZ7.EC 12/03/2007 08:30:00 EC A 83916045 13388 1 3 3:YMZ7.EC 12/03/2007 08:30:00 EC B 83916054
2012 Sep 25
3
error on uneven recycling?
Is there some reason why > (1:2)+(1:3) [1] 2 4 4 Warning message: In (1:2) + (1:3) : longer object length is not a multiple of shorter object length can't be made into an error? I realise it was there in S-PLUS, but since it produces a warning there can't be many examples on CRAN or Bioconductor using it, and I can't think of any situation where it would be used deliberately.
2007 May 03
2
Parsing data with an uneven number of delimiters
I have a list of data that is delimited by a / and, as long as there is an equal number of delimiters, I can parse the data and put it into a data frame: > t1<-c("a/a/a","b/bb/bbb","ccc/cc/c") > t2<-strsplit(t1,"/") > t3<-data.frame(t2) > t3 c..a....a....a.. c..b....bb....bbb.. c..ccc....cc....c.. 1 a
2011 Mar 16
4
fetch uneven
Hi I have a vector m: m [1] "ABC transporters" [2] "2" [3] "Acetyl-CoA" [4] "1" [5] "Energie" [6] "1" [7] "FAD Biosynthese"
2017 Jun 04
2
Warning from reshape2 when melting a data frame with uneven number of columns.
Here is a small reproducible example: data <- structure(list(V1 = structure(1:3, .Label = c("Name1", "Name2", "Name3"), class = "factor"), V2 = structure(c(1L, 3L, 2L), .Label = c("nam1", "name-1", "name_12"), class = "factor"), V3 = structure(1:3, .Label = c("nam2", "nam_34",
2012 May 02
5
uneven vector length issue with read.zoo?
I truncated and simplified my code and the read in data that I'm working with to isolate the issue. Here is the read in data and R script respectively: http://r.789695.n4.nabble.com/file/n4604287/test.csv test.csv http://pastebin.com/rCdaDqPm Here is the terminal/R shell output that I hope the above replicates on your screen: > source("elecLoad.r", echo = TRUE) > #Load