Displaying 4 results from an estimated 4 matches for "plotable".
Did you mean:
plottable
2010 Sep 16
1
How do I create a plotable zoo object based on weekly data?
Dear readers,
The problem is simple: I have weekly time series data with a maximum
week number of (52,53,52,52) in (2008,2009,2010,2011) respectively. That
means I have a dataset looking like this:
2008-01 value
2008-02 value
.
.
2011-52 value
And I would like to turn that data into a plotable zoo object. Now a
simple example containing 4 data points, each being on the December
28th, would be:
x <- zoo(rnorm(4), as.Date("2008-12-28")+0:3*365)
plot(x)
This works fine, but
y <- zoo(rnorm(4), format(as.Date("2008-12-28")+0:3*365, "%Y-%U"))
plot(y)
g...
2004 Oct 28
1
changing coordinate systems
...y coordinates on a 640x480 coordinate
system. Ideally, what I'd like to do is plot my R graph (e.g.,
plot(1:10)), and then change the complete coordinate system of the
whole device to be 640x480. commands like plot.window() don't work
because that just changes the coordinate system of the plotable area,
not the whole device or viewable image (ie, the x labels aren't
right).
Any ideas?
thanks!
greg
2010 Oct 10
1
Create single vector after looping through multiple data frames with GREP
...ucible code below creates a list containing 19 data frames, one each for the "Most Important Problem" survey data for Canada.
What I'd like at this stage is a loop where I can search through all the data frames for rows containing the search term and then bind the rows together in a plotable (sp?) format.
At the bottom of the code below, you'll find my first attempt to make use of a search string and to put it into a plotable format. It only partially works. I can only get the numbers for one year, where I'd like to be able to get a string of numbers for several years.But, o...
2007 Apr 21
3
Using R to create pdf's from each file in a directory
The Platform I am using R on is RHEL3. I run a bash script that collects
data into many CSV files and have been processing them one at a time on my
local machine with an excel macro. I would like to use R to take data
points from each of the CSV files and create line graphs in PDF format
because it will save me ALOT of time. I am able to successfully do this
when I call the file name