search for: uneven

Displaying 20 results from an estimated 150 matches for "uneven".

2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
...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 theory, practice and theory are the same. In practice, they are not - Albert Einstein -- View this message in context: http://r.789695.n4.nabble.com/Averaging-uneven-measurements-by-time-with-uneven-numbers-of-measurements-tp3499337p3499337.html Sent from the R help mailing list archive at Nabble.com.
2011 Mar 16
4
fetch uneven
...[8] "1" [9] "Glyoxylate and dicarboxylate metabolism" [10] "1" [11] "Transport" [12] "1" and i want to do take the even or uneven numbers out of them you can do it lik this: a<-m[c(1,3,5,7,9,11)] but i want to do this automatic and i never now how long the vector is. Can someone help me? -- View this message in context: http://r.789695.n4.nabble.com/fetch-uneven-tp3381949p3381949.html Sent from the R help mailing list...
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 use...
2012 May 02
5
uneven vector length issue with read.zoo?
...o > #and ?read.table .... [TRUNCATED] Error in read.zoo("http://dl.dropbox.com/u/41922443/test.csv", skip = 1, : index has bad entries at data rows: 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 I was hoping that the "NULL" in colClasses() would've taken care of this uneven vector length issue, however, that was not the case. Any ideas? Thanks in advance. Sorry if my post didn't follow the forum rules exactly. I tried to make small scale reproducible code and what not. I'm still a bit of a noob here and there. -- View this message in context: http://r.78969...
2011 Mar 03
2
plot, y-axis, uneven scale???
...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 the major part of the plot area. Does anyone know how to assign the y-axis with uneven (jumping) ticks with same width, like 0, 0.1, 1, 10,100 with the same width between? Thanks a lot! Yan [[alternative HTML version deleted]]
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 uneven intervals my.fun(foo,bar) # some function that places delimiters appropriately have,a,nice,day # what the function would ideally return I've tried multiple for-loops usin...
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...
2012 Aug 08
1
time series, uneven length
...nd this issue? > length(tstemp) [1] 746 > length(tspres) [1] 746 > length(tswind) [1] 746 > length(tsozon) [1] 658 > ccf(tstemp,tsozon) Error in ccf(tstemp, tsozon) : univariate time series only thanks -- View this message in context: http://r.789695.n4.nabble.com/time-series-uneven-length-tp4639582.html Sent from the R help mailing list archive at Nabble.com.
2007 Aug 24
1
uneven list to matrix
...s. 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 are preserved and NAs are inserted into the cells where the uneven lists do not match up based on their row names. Here is an example of the desired output: newmatrix [,1] [,2] [,3] A 1 1 1 B 2 NA NA C 3 3 NA D 4 4 4 E NA NA 5 Any suggestions? I have tried do.call("cbind",list) I also thought I was on the r...
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
...[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: http://r.789695.n4.nabble.com/how-to-bind-uneven-column-not-equal-length-into-matrix-without-recycling-values-tp4474304p4474304.html Sent from the R help mailing list archive at Nabble.com.
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
...;/th> <th>File</th> <th>Line</th> <th>Location</th> </tr> <tr class="backtrace_line framework uneven"> <td class="index">0</td> <td class="filename">/usr/lib/ ruby/site_ruby/1.8/rubygems/custom_require.rb</td> <td class=&quot...
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"