I need help with replacing NaN with zero (the value '0') in my dataset.
The reason is that I can't get it to graph because of the NaN in the
dataset. I have tried:
data[is.nan(data)] - 0
that others have suggested in the help archives but this does nothing so
I am not sure what I am doing wrong.
Hi R users
Here is an example of my data (only a small part)
Year Season A_Time R_Time O_Time All_Time AandR_Time
A_number R_numberO_numberAandR_numberall_number
1999 Winter 9.590741 35.312963 42.759524 23.228431 18.164815
189
Hi R users
Here is an example of my data (only a small part)
Year Season A_Time R_Time O_Time All_Time AandR_Time
A_number R_numberO_numberAandR_numberall_number
1999 Winter 9.590741 35.312963 42.759524 23.228431 18.164815
18 9
with a legend for it at the side, is this possible?
And my other question is that there seems to be a gap between where the
bars start and the x-axis, it is kinda funny looking so is there anyway
to change this?
Thanks for all the help
On 12/19/07, Spilak,Jacqueline [Edm] [EMAIL PROTECTED] wrote:
Hi
Hi all
I can't find what I am looking for so I am asking here. I have a
dataset that looks something like this.
Year season percent_below
2000 Winter 6.9179870
2000 Spring 1.6829436
2000 Summer 1.8463501
2000 Autumn 3.8184993
2001 Winter 2.8832806
2001
Hi everyone
I need help with subseting a data set. In my dataset there is a
specific row that will either have a value or be blank. I would like to
subset (or split) the dataset into one dataset with the row that has the
value and another dataset that has just the blanks. Now the thing is
that
I would like to know how I can assign a name to a name. I have a
dataset that has different years in it. I am writing scripts using R
and I would like to give a month a generic name and then use the generic
name to do different analysis. The reason for the generic name would be
so that I only
I am using barchart to make charts for some data with a lot more
functions and labels and such in the command.
barchart(Freq ~ factor(HH), data = dataset1, group= year)
So I have my data grouped by year and I get a legend at the top of
graph, which is great cause I need the legend for the
Hi all
I have a multiple datasets that look like this
MM Freq
1 30
2 35
3 54
4 33
5 27
6 13
7 25
8 29
9 40
10 32
11 36
12 23
I am plotting this using barchart (there is probably something better
but it gives me the results I
Hello R users
I have a dataset that has different types of records with different
dates and times pertaining to each. I would like to have a bar graph of
a count of the types(ie. The number of types) of recods by hour grouped
by year. So the count of the types would be the y axis, the hour on
[mailto:[EMAIL PROTECTED]
Sent: May 10, 2007 4:58 PM
To: Spilak,Jacqueline [Edm]
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Barplot by two variables
On 5/10/07, Spilak,Jacqueline [Edm] [EMAIL PROTECTED] wrote:
Hi all
I have a bit of a problem. I want to make a barplot of some data. My
data
,2002,01,01,09,17,A
-Original Message-
From: Deepayan Sarkar [mailto:[EMAIL PROTECTED]
Sent: May 15, 2007 3:46 PM
To: Spilak,Jacqueline [Edm]
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] How to group a count
On 5/15/07, Spilak,Jacqueline [Edm] [EMAIL PROTECTED] wrote:
Hello R users
I have
Hi all
I have a bit of a problem. I want to make a barplot of some data. My
data is of a score that is separated by year and by a limit (above 3 and
below 3 to calculate the score).
YearLimit HSS
1999ALT 0.675
1999VFR 0.521
2000ALT 0.264
2000VFR 0.295
I
I have a data set that I have imported (not sure if that makes a
difference) and I would like to calculate the sum of only specific
columns. I have tried
colSums(dataset, by=list(dataset$col5), dims=1) and I get an error of
unused arguments
I have also tried
aggregate(dataset,
Hi
I am very new to R and have not able to find the answer to my question
in the manual or any other post. I have a dataset that has various
different sites names with data relating to each site. The data is in
one dataset. I want to loop through the different site names and
perform my test on
15 matches
Mail list logo