Displaying 20 results from an estimated 600 matches similar to: "time series, uneven length"
2005 Apr 08
2
DLL Memory Problem
Hello,
I have created a .dll file using G77 and MinGW on my PC (Windows
2000). After using dyn.load to bring it into R2.0.1, I then call the .dll
through the function ccprox shown below. It returns the correct
values. If I run it a second time though it returns different values, so
it seems something is being placed oddly in memory.
If I unload and reload the .dll it works again the first
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
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
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"
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
2003 Jun 19
1
Import time series data with uneven dates
I am trying to import a file of daily index closing prices in business time
which excludes weekends and holidays so deltat is not constant. My file
looks like the following:
date close
2003.0055 47.05
2003.0082 45.71
2003.0164 43.45
2003.0192 42.96
2003.0219 44.56
2003.0247 42.99
2003.0274 42.28
2003.0356 41.74
etc.
>From what I saw in the EuStockMarkets file, it appears
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 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
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 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]]
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"
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.
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
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
2005 Jul 12
3
using its to import time series data with uneven dates
Good day:
I am trying to use
readcsvIts("nwr_data_qc.txt",informat=its.format("%Y%m%d%h%M
%Y"),header=TRUE,sep="",skip=0,row.names=NULL,as.is=TRUE,dec=".")
to read in a file (nwr_data_qc.txt) that looks like this:
Time Y M D H Min CO2
2000.18790 2000. 3. 9. 18. 30. 373.60
2000.20156 2000. 3. 14. 18. 30. 373.34
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",
2020 Mar 24
3
[GlobalISel] Narrowing uneven/non-pow-2 types
Hi all,
recently when working with GlobalISel we have often encountered cases in
the legalizer where instructions could not be narrowed because the
narrowing code relies on G_UNMERGE_VALUES and therefore requires the
source type to be a multiple of the narrow type. Often times these
instructions can be widened without any problem to a fitting type.
This has us writing legalization rules like