similar to: Plot two graphs with different ranges in one

Displaying 20 results from an estimated 5000 matches similar to: "Plot two graphs with different ranges in one"

2005 Apr 28
4
wine-20050419 - where to set audio driver type?
Hi, In a completely clean account that's never run Wine before I run wine --version. Wine installs a new .wine directory but this Wine directory has no config file. I looked in the 3 obvious files but none of them seem to have an option for changing between OSS, Alsa and JAck. where do I make this setting change now? Thanks, Mark
2009 Jul 02
2
Need to study and learn about better plots
Hi, So far my plotting needs have been sort of ignored as I got acquainted with R this week, but now that I have the basics in place for the program I wanted to write it's time for me to start learning about how to make output that better suits my needs. I think I have two sort of charts I need to concentrate on learning how to produce: 1) Probably a trivial request - a single chart that
2005 Oct 23
1
Re: winebuild problems - wine-20050930 [SOLVED]
Sorry for the noise. On 10/23/05, Mark Knecht <markknecht@gmail.com> wrote: > On 10/23/05, Mark Knecht <markknecht@gmail.com> wrote: > > Hi, > > Does anyone know what happened to the --debug option in winebuild? > > It seems to have disappeared in more recent versions of Wine. > > > > I am attempting to build a program that uses winebuild with
2009 Jul 22
5
Multi-line comments?
Hi, I looked in the language definition and was surprised. Is there really no multi-line/block comment defined in R? I wanted to comment out 20 lines that I'm moving to a function but didn't want to delete them. Is there no defined way to get around using a # on each of the 20 lines? Thanks, Mark
2011 Feb 22
5
"aggregate" in R
Hi, R users, I'm wondering how I can aggregate data in R with different functions for different columns. For example: x<-rep(1:5,3) y<-cbind(x,a=1:15,b=21:35) y<-data.frame(y) I want to aggregate "a" and "b" in y by "x". With "a", I want to use function "mean"; with "b", I want to use function "sum". I tried:
2009 Nov 27
2
set condition in R
Hi, R users, I'm using while() in R to set a condition. My condition is: i<523 or i>535. How should I write this in R? I try "while (i<523 or i>535)" and it does not work. Thanks. Garry On Tue, Nov 10, 2009 at 11:26 AM, Hongwei Dong <pdxdong@gmail.com> wrote: > Exactly! Thanks, Duncan. > > Let me re-phrase me question like this: > > 1) X_i values
2009 Jul 10
2
ReShape/cast question - sum of value in table
Hi, I've tried to capture the basics of this problem I'm having. Been working on this for a couple of days and just cannot get past it. As a test of this list software I've attached is a small text file zipped up. I hope it gets through but if it doesn't I'll post the actual text which is only 26 lines. Put it somewhere sensible and change the first line in the code to point
2009 Jul 23
3
how to predict dynamic model in R
I have a dynamic time series model like this: dyn$lm( y ~ lag(y,-1) + x + lag(x,-1)+lag(x,-2) ) I need to do an out of sample forecast with this model. Is there any way I can do this with R? It would be greatly appreciated if some one can give me an example. Thanks. Harry [[alternative HTML version deleted]]
2009 Jul 09
3
'scan' in a script?
When I use the scan function in the Rgui console it works as expected. However it seems that when I put the same command in a script file it doesn't wait for input. Is there an option to scan to make it wait for input when used in a script? Or is there possibly a different function that will do in a script the same sort of thing as scan does in the console? Thanks, Mark
2009 Jul 03
5
What command lists everything in a package?
Hi, Two easy questions I'm sure. 1) As an example if I use the code require(zoo) then once it's loaded is there a command that lists everything that zoo provides so that I can study the package? Certainly help(zoo) gives me some clues about what zoo does but I'd like a list. Maybe there's a way to query something but in Rgui under Win Vista ls() returns nothing after zoo
2009 Jul 26
2
More complicated multi-plot layouts?
Hi, I made the attached picture by mocking up three separate plots sort of like how I'd like to make a new plot. Hopefully it will get through to the list. Is there a way to do this directly using par somehow? Or one of the other plotting packages? Basically, multiple larger plot above multiple groups of smaller plots? The smaller plots are just par(mrow=c(2,3)) things, and I can
2009 Jun 29
2
How to use "subset" in lm function
Hi, I'm using R to do a time series analysis. In the model, I use the lags of some variables. such the lags of the variables have different length, I just can't use them directly in the lm function. Intuitively, I feel that "subset" might be useful, but I do not know how to use it. Anyone can give me an example syntax? Thanks. Harry [[alternative HTML version deleted]]
2010 Oct 16
3
reduce the size of points in plot???
Hi, R users, Can anyone tell me how I can change the size of points in my plot? For example: x <- c(1,3,6,9,12) y <- c(1.5,2,7,8,15) plot(x,y,pch=20) How do I reduce the size of those points? Thanks. Gary [[alternative HTML version deleted]]
2011 Feb 22
4
identify an element in a column
Hi, R users, I'm wondering if I can identify an element in a column by an element in another column. For example: x<-1:10 y<-11:20 z<-cbind(x,y) z x y [1,] 1 11 [2,] 2 12 [3,] 3 13 [4,] 4 14 [5,] 5 15 [6,] 6 16 [7,] 7 17 [8,] 8 18 [9,] 9 19 [10,] 10 20 What I want to do is: when x=5, y=y-1 Anyone can tell me how to do this? Thanks. Gary [[alternative
2009 Sep 09
3
lag a data.frame column?
Sometimes it's the simple things... Why doesn't this lag X$x by 3 and place it in X$x1? (i.e. - Na's in the first 3 rows and then values showing up...) The help page does talk about time series. If lag doesn't work on data.frame columns then what would be the right function to use to lag by a variable amount? Thanks, Mark X=data.frame(x=seq(1:10)) X$x1=lag(X$x, 3) X
2009 Jul 06
2
ReShape chicks example - line plots
Hi, In the examples from the ReShape package there is a simple example of using melt followed by cast that produces a smallish amount of output about the chicks database. Here's the code: library(reshape) names(ChickWeight) <- tolower(names(ChickWeight)) chick_m <- melt(ChickWeight, id=2:4, na.rm=TRUE) DietResults <- cast(chick_m, diet + chick ~ time) DietResults My challenge
2009 Sep 20
2
Date/Time to date & time
Hi, Can strptime (or some other function) help me turn the following column of a data.frame into two new columns, one as date and the other as time, preserving the AM/PM value? Thanks, Mark > B ENTRY DATE 1 3/23/2009 6:30:00 AM 2 3/23/2009 6:30:00 AM 3 3/23/2009 6:39:00 AM 4 3/23/2009 6:39:00 AM 5 3/23/2009 6:48:00 AM 6 3/23/2009 6:48:00 AM 7 3/23/2009 7:00:00 AM
2006 May 06
2
Winetools - Java?
Hi, I wonder if I'm just missing it. Does Winetools have any built in support for installing Java to run under Wine? I want to use a web site (Streetsmart.com) that is restricted to using IE. I've got IE running under Wine but now need Java support to continue forward. Thanks, Mark
2009 Jul 07
4
Test for X=1 fails, test for >0 works, data in text file is 1
Hi, I am apparently not understanding some nuance about either the use of subset or more likely my ability to test for a numerical match using '='. Which is it? Thanks in advance. I've read a data file, reshaped it and then created MyResults by keeping only lines where the value column is greater than 0. So far so good. The data in MyResults looks good to me by eye. The
2008 Apr 04
3
After years - goodbye to Wine-Users
After being on this list for years, mostly as a lurker and sometime participant, I find that due specifically to the new changes in list membership via the forums that it's time for me to unsubscribe. While I think it's a very healthy in the long run to have more folks participating in Wine's growth I also find the quality of the emails coming across my desk to be significantly less