Thanks to both of you. Problem's solved. Greatly appreciated. :]
Chris
Chris Li wrote:
>
> 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 class
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 fol
9 at 8:36 AM, Peter Ehlers wrote:
>> Chris,
>>
>> What is your definition of the minimum of a *character* vector?
>>
>> -Peter Ehlers
>>
>> Chris Li wrote:
>>>
>>> Hi all,
>>>
>>> I want to calculate the mini
Hi all,
I want to calculate the minimum of a column which contains blanks.
R returns "" as the minimum, which is not I want.
Is there a way to overcome it?
Thanks in advance.
Chris
--
View this message in context:
http://www.nabble.com/Minimum-and-blanks-tp25692189p25692189.html
Sent from th
Hi all,
I have got two datasets, one of them is rainfall data and the other one is
groundwater level data.
I would like to see whether there is a correlation between these two
datasets and if there is, to what extent they are correlated.
My stats background is limited, therefore any advice on w
Hello,
Say I have a dataset as followed:
Category Value
b1
b2
a7
a1
Then, if I:
levels(Category)
It will return:
[a], [b]
But I want to keep the original order, i.e.:
[b], [a]
Is it possible to do it in R?
Thanks in advanc
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(datas
Hi all,
I want to round my values to the nearest 5.
For example, if I have a value of 11, I want R to round it to 10.
I have been searching for this command on the web and in the help file, but
I couldn't find anything useful.
Any help would be greatly appreciated.
Many thanks,
Chris
--
View
ct.org
>> [mailto:r-help-boun...@r-project.org] On Behalf Of Chris Li
>> Sent: Tuesday, 15 September 2009 3:22 p.m.
>> To: r-help@r-project.org
>> Subject: [R] X-axis range
>>
>>
>> Hi all,
>>
>> I would like to change the x-axis of m
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.t
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 ap
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
/MAR3 MAR3
Once again, thank you for your help, greatly appreciated!!
Chris
Chris Li wrote:
>
> 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://
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 lin
14 matches
Mail list logo