Thank you Petr, Gustaf and Gabor. Your help is much appreciated.
I have tried:
dataset[!duplicated(dataset[,-2]),]
and it solves my problem.
Thanks,
Chris
--
View this message in context:
http://r.789695.n4.nabble.com/Remove-duplicated-rows-tp2023065p2065997.html
Sent from the R help mailing
Thank you very much Dieter and Don. This solves my problem. :)
--
View this message in context:
http://r.789695.n4.nabble.com/User-inputs-tp2018251p2023067.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing l
Hi all,
I have a dataset similar to the following
NameDateValue
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
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,
Problem solved. Yes, I found that the text is overlaid several times!
Thank you very much for your help, greatly appreciated. :)
--
View this message in context:
http://n4.nabble.com/Words-appear-to-be-bolded-in-the-PDF-output-tp2016971p2018219.html
Sent from the R help mailing list archive at N
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.
Problem solved. I combined file.exists and while loop to create version
number. Thank you very much for your help.
--
View this message in context:
http://n4.nabble.com/Exporting-PDF-tp2015263p2015366.html
Sent from the R help mailing list archive at Nabble.com.
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 wa
nd follow the rest
> of the procedure described in 1).
>
> Hope this helps.
>
> Murray M Cooper, Ph.D.
> Richland Statistics
> 9800 N 24th St
> Richland, MI, USA 49083
> Mail: richs...@earthlink.net
>
> - Original Message -
> From: "chrisli1223&q
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
m(y~poly(x,4,raw=TRUE) and then
> summary(model)
> The raw=TRUE causes poly to use 1,x,x^2,x^3,... instead of orthogonal
> polynomials (which are "better" numerically but may be not what you need).
>
> Regards,
> Moshe.
>
> --- On Fri, 8/1/10, chrisli1223 wrot
Hi all,
I have got a dataset. In Excel, I can fit a polynomial trend line
beautifully. However, the equation that Excel calculates appear to be
incorrect. So I am thinking about using R.
My questions are:
(1) How do I fit a polynomial trendline to a graph?
(2) How do I calculate and display the
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
13 matches
Mail list logo