Displaying 20 results from an estimated 150 matches for "unevenly".
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 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"
2010 Nov 19
1
Using image/contour with unevenly spaced data...
Is it possible to plot unevenly spaced data with image/contour function?
Below is an example of the type uneven data that I'm trying to plot with
image/contour functions. For example, I would like to have the x-distance on
the x-axis and y-distance on the y-axis and then the temperature values
determine the color used....
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
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 Jun 18
3
String manipulation, insert delim
Hello All,
I've been using R for two years now and I am happy to say this is the
first time I could not find the answer to my problem in the R-help
archives. Here is the pending problem:
I want to be able to insert delimiters, say commas, into a string of
characters at uneven intervals such that:
foo<-c("haveaniceday")#my string of character
bar<-c(4,1,4,3) # my vector of
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 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
>
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
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
2010 Jan 28
1
hist - unevenly spaced bars
I am sure this is trivial, but I cannot solve it.
I make a histogram. There are 5 categories "1",...,"5" and 80 values and
the histogram does not evenly space the bars.
Bars "1" and "2" have no space between them and the rest are evenly spaced.
How can I get all bars evenly spaced?
The code:
> Q5
[1] "4" "4" "4"
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 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
I upgraded Puppet master from 2.7.6 to 2.7.20 on CentOS5.8_x86_64.
But when I tried to launch ''puppet agent -t'' on one of staging servers, the
puppet daemon did not work and got heaps errors.
I have no idea what made it wrong and how to fix it.
Retrieving plugin [0m
Failed to generate additional resources using ''eval_generate: Error 500 on
SERVER: <!DOCTYPE HTML
2009 Oct 02
2
how to fill out the empty spots when using rbind or cbind?
I have uneven vectors I want to use cbind or rbind to combine them into a matrix. Is there a way to make it so that R would not return error msg saying they're uneven?
Thanks.
Edward Chen
Email: tkedch@msn.com
Cell Phone: 510-371-4717
[[alternative HTML version deleted]]
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.
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
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
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"