search for: austwaterenv

Displaying 13 results from an estimated 13 matches for "austwaterenv".

2010 Jan 11
0
Exponential regression
...inear least-squares or maximum likelihood to fit it. Larry Hotchkiss ----------------------------------------------------------------------------------- Date: Sun, 10 Jan 2010 16:44:02 -0500 From: "Murray Cooper" <myrmail at earthlink.net> To: "chrisli1223" <chrisli at austwaterenv.com.au>, <r-help at r-project.org> Subject: Re: [R] R exponential regression Message-ID: <1FA457DC6FE04DE4AB2541D89D2D05C1 at ownerc86c2419d> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Chris, I haven't seen anyone post a reply y...
2010 Jan 07
2
R treating time
Hi all, I have imported a value 3:00 from Excel into R using read.csv. I want R to recognise it as 3:00am (time data). How do I do it? Thanks in advance, Chris -- View this message in context: http://n4.nabble.com/R-treating-time-tp1008608p1008608.html Sent from the R help mailing list archive at Nabble.com.
2009 Sep 14
3
Exporting Numerous Graphs
Hi all, I have got 27 graphs to export (not a lot...I know!). How can I fit all of them into a single file like PNG without adjusting the size of the graphs? What's in my mind is like pasting graphs into Word, in which I can just scroll down to view the graphs. Thanks for your attention. Much appreciated. Chris -- View this message in context:
2010 Apr 23
4
Remove duplicated rows
Hi all, I have a dataset similar to the following Name Date Value A 1/01/2000 4 A 2/01/2000 4 A 3/01/2000 5 A 4/01/2000 4 A 5/01/2000 1 B 6/01/2000 2 B 7/01/2000 1 B 8/01/2000 1 I would like R to remove duplicates based on column 1 and 3 only. In addition, I would like R to remove duplicates based on the underlying and overlying row only. For example, for A, I would like to remove row 2 only
2010 Jan 08
2
R exponential regression
Hi all, I have a dataset which consists of 2 columns. I'd like to plot them on a x-y scatter plot and fit an exponential trendline. I'd like R to determine the equation for the trendline and display it on the graph. Since I am new to R (and statistics), any advice on how to achieve this will be greatly appreciated. Many thanks, Chris -- View this message in context:
2010 Apr 18
3
Exporting PDF
Hi everyone, I have written a script which exports my graphs as a PDF file using the function pdf(). For instance, I run the script and it exports a PDF called "version 1". Then, I have got a new dataset and want to run the script again. What it usually does is overwriting "version 1". But I want it to check if "version 1" already exists. If so, then I want the new
2009 Sep 15
2
How to calculate min of a dataset that contains empty column
Hi all, I have got a dataset like the following: a b c 1 5 2 3 7 I am taking the minimum of each column and use it as the minimum of the y-axis of my graphs. My scripts (simplified version) are like the following: f<-array f[1]=a f[2]=b f[3]=c for i in 1:3 name=f[i] ymin<-min(dataset$f[i]) plot(x,y,ylim=c(ymin,100)) The script stops at b, because the min function returns inf
2010 Apr 20
3
Words appear to be bolded in the PDF output
Hi all, I have written a note near each of my graphs using mtext. mtext(text,side=1,line=4,cex=0.5,adj=0) Then I have exported the graphs as a PDF file. pdf(file=name,paper='a4',width=7.27,height=10.69) The mtext appears OK in R. But it looks like it is bolded in the PDF file. http://n4.nabble.com/file/n2016971/graph.png I am not sure if this is actually my monitor/computer's
2009 Sep 14
3
Question about Factors
Hi all, I am new to R and I have got a question in regards to factors. Say I have a simple dataset like the following: Name Time Value a 1:00 1.25 a 2:00 1.26 b 1:00 1.29 b 2:00 1.28 c 1:00 1.21 c 1:30 1.20 c 2:00 1.23 I want to write a script that automatically plot value against time for a, b and c.
2009 Sep 15
1
X-axis range
Hi all, I would like to change the x-axis of my graphs from year 1998 to 2008 with an interval of 5 (i.e. 1998, 2003, 2008). Any help would be greatly appreciated. http://www.nabble.com/file/p25447219/model_hydrographs.txt model_hydrographs.txt http://www.nabble.com/file/p25447219/bore_sample.txt bore_sample.txt http://www.nabble.com/file/p25447219/46871a%2Bcalibration%2Bscript.R
2009 Nov 20
2
Classification
Hi all, I have got a dataset like the following: 3 5 7 3 9 7 i.e. random numbers with some repeats. I want R to classify them for me. E.g. every row that has a value of 3 will be asigned a value of 1, and every row that has a value will be asigned a value of 2 etc. I want R to return the following, using the example above: 1 2 3 1 4 3 Thanks in advance. Chris -- View this message in
2010 Apr 21
3
User inputs
Hi everyone, I have been searching for answers for the following questions but I don't have much success. The following questions may actually be quite simple. Any help would be greatly appreciated. (1) I have written a script which requires user input. I am using the readline() command.However, everytime when I run the script, R does not wait for the user input and proceed to the next line.
2009 Jul 30
5
Grid lines
Hi everyone. I am new to R. It will be greatly appreciated if someone can help me with the following questions. Here's the graph I have just produced. http://www.nabble.com/file/p24732839/calibration.jpeg (1) How can I put the legend on top of the grid lines? (2) How can I match the grid lines with the x-axis ticks? (3) How can I change the x-axis format from e.g. Mar, Apr...etc to