Displaying 20 results from an estimated 10000 matches similar to: "User inputs"
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.
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 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
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
2010 Jan 11
0
Exponential regression
There are a couple of points to keep in mind when doing a log-transform of an exponential model, such as --
y = a*exp(b*x)
1. The implicit statistical model is multiplicative in the error. The implied
statistical model of the log transform is --
log(y) = log(a) + b*x + u
which implies --
y = a*exp(b*x)*exp(u)
A linear regression in the log
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.
2002 Jul 12
2
Another question about getting command history
Hello everyone,
Thanks to the people who so kindly responded to my earlier query about how
to get R to retrieve my previous command when I hit the up-arrow
key. Several people pointed out to me that in order to enable this feature
I need to re-install R with the GNU readline library. My question now
is: how do I accomplish this? Can anyone tell me what changes I need to
make to the
2005 Jan 04
2
x11 is not available
Dear list,
I have problems installing R-2.0.1 on SUSE Linux 9.2. I used the
following commands in order install R in
/usr/local
./configure --with x11 --with-readline
make
make install
When starting R and trying to display a plot on the X-window system
output is written to a postscript file. When I try to run x11 with
>x11()
Error in X11(): X11 is not available.
I do have a running
2002 May 24
3
command line edit
Does anybody know a way to edit your command line arguments on the command line,
other than deleting everything and re-typing? My user just want to be able to
use emacs like commands - like you can do in a shell, and s-plus from what he
says. I attempted to set up the emacs add-on, without much success, on a Solaris
7 box, but he doesn't really want that, he just wants the command line
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:
2003 Jun 16
1
R version on gifi
Pretty soon, hopefully, the RAqua version will make the Darwin/X11
version unnecessary. In the meantime, for convergence, I'll modify the
Gifi
version in various ways.
-- It's 1.7.1
-- It no longer supports gnome
-- It still uses Tcl/Tk for X11 (using 8.5 from CVS)
!! It no longer uses anything from fink (readline and dlcompat
as on Stefano's site, jpeg and png and teTeX from
2004 Jul 15
5
Newbie
Hi,
I wish build a R-script (or a R-function) that read a number from the keyboard and then process it.
For example: from R I load the function X, that ask me the level of confidence "\alpha", by keyboard I write 5 and the function go on.
Thanks in advance
Paolo
[[alternative HTML version deleted]]
2006 Mar 30
2
'loop FOR' for make plots
Hello
How to create plots dynamically with results of several analysis ?
I got many outputs from lm fuction like:
mp1.lm mp2.lm mp3.lm mp4.lm mp5.lm ...
I'd like to make experimental versus predicted response plots of all
analysis
in a 'for loop':
for( i in 1:10){
x11()
plot( mp*i*$experimental_response, fitted( mp*i* ) ); abline(0,1)
}
I tried: paste( 'mp', i,
2012 Sep 06
3
Help! Weird behavioral difference between R interactive and command-line?
Help! Weird behavioral difference between R interactive and command-line?
Hi all,
This weird problem has been bugging me for a while.
If I run the R program in an interactive session, it worked;
But if I run the R program on command-line, it stopped with no reason: with
"Execution halted" message and without any specific error messages.
What could be the problem?
Thanks a lot!
2009 Nov 13
4
Change working directory
Hello, I am using setwd() to change the working directory but I have to enter
it everytime I open R, is there a way to set this permanently as a working
directory? Thanx =^D
--
View this message in context: http://old.nabble.com/Change-working-directory-tp26337486p26337486.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 29
1
Package with function for plots with embedded hyperlinks?
Some years ago, if I recall correctly, I learned of a package that
included a function that would write a plot to a file so that one
could associate hyperlinks with elements of the plot, such as points.
Then, when the plot was displayed in a browser, one could click on
(for example) a point, and jump to wherever the hypelink pointed.
I don't remember then name of the package or function,
2018 Jun 01
2
Time-series moving average question
You are right that there are no NAs in the practice data. But there are NAs in the moving average data.
To see this, break your work into two separate steps, like this:
tnr.ma <- ma(dat3[1:28], order=3)
TNR_moving_average <- forecast(tnr.ma, h=8)
I think you will find that the warning comes from the second step.
Print tnr.ma and you will see some NAs.
-Don
--
Don MacQueen
Lawrence
2013 Sep 09
1
windowing
Is there a package or a command that does window aggregation like
select
sum(col1) over
(partition by col2, col3 order by col4
rows between unbounded preceding and current row) as sum1
from table1 ;
the above is Netezza syntax, but Postgre has same capability.
Stephen B
[[alternative HTML version deleted]]
2002 May 08
3
Inputting Co-ordinates
Hello
I am trying to input some co-ordinate sets into R of the form x,y by using
lists. The command I am using is:
p1 <- list(x=c(3445,563,646), y=c(234,567,456))
However the actual co-ordinate sets that I am trying to input have 305
points each and I think that the program will not accept a command that is
as long as necessary. Is this so? If this is the case can you tell me how
to read