search for: dataseries

Displaying 6 results from an estimated 6 matches for "dataseries".

2005 Jan 21
2
axis placement with stacked barplots and the asp=1 parameter
Hi, I'm currently using barplot to generate vertically stacked bar charts. I'd like to be able to use the "asp=1" parameter with barplot(), but doing this causes the y axis to be placed on the far left as shown in the attachment demo.pdf. I could get around this by using the negative values for the line parameter of the axis() function. I'd rather not do this and imagine
2005 Nov 15
1
strsplit
I'm stuck on what I feel should be a minor problem. I have a dataseries obtained from a MS Access database that consists of a series of numbers seperated by carridge returns (\r) Currently this data is in R as mode numeric??? I want to separate this into a vector of the componant numbers. Perhaps a little code will help describe what I've got here!! library(rodbc...
2013 Feb 11
2
How to plot doubles series with different location using plotCI
...ylim=c(0,8)) axis(side=1, at=1:3, labels=names(tmp), cex=0.7)   ##mean and error second data series tmp <- split(tab1$value2,tab1$typo) means <- sapply(tmp, mean) stdev <- sapply(tmp, sd) n <- sapply(tmp,length) ciw <- qt(0.975, n) * stdev / sqrt(n) ##the problem: plotting second dataseries plotCI(x=means, uiw=stdev, col="steelblue", barcol="steelblue", lwd=2, pch=18, cex=2, xaxt="n", yaxt="n", ylab='qualite',xlab='type', yaxs = 'i',add=T)  ##this series of data is now superposed, but would like to put them horizontally...
2010 Jul 04
1
lm( y ~ A/x ) ... how do I extract the coefficients by factor?
When regressing by month, how do I get the coefficients out into a new data set? I'm looking for [ month, a, b, c ] from the Pastor-Stambaugh model I'm using which is: r[i+1] = a + b * r[i] + c * v[i] + e the model I'm using wants to create a new dataseries based on the coefficient in each month. I'm doing a simple linear regression on DataSet, and > DataSet$ByMonth <- format(DataSet$d, "%Y-%m"); > fittedmodel <- lm(r1 ~ ByMonth[2:n-1] / (r + v), x[2:n-1,1:10] ) I've think I've done it, and I think I've got th...
2009 Sep 25
0
differing behaviour between xts (0.6-7) and zoo (1.5-8)
Folks, I have some weekly dataseries that I convert to monthly xts (with yearmon indices), and obtain the two following extracts: > str(sig) An 'xts' object from Apr 1998 to Sep 1998 containing: Data: num [1:6, 1] 0.0083 0.2799 -0.2524 -0.0119 0.18 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...dTime * 1000); @@ -208,7 +249,10 @@ package org.ovirt.charts { dateBar = new HBox(); dateBar.setVisible(true); this.container.addChild(dateBar); + this.container.addChild(chartFrame); + this.container.addChild(XAxisLabelArea); var dataPoints:Array = dataSeries.getDataPoints(); + var maxValue:Number = dataSeries.getMaxValue(); var scale:Number = maxValue; yScale.setMax(maxValue); @@ -264,12 +308,18 @@ package org.ovirt.charts { var value:Number = dataPoint.getValue(); var bar:SingleBar = new SingleBar(dat...