Hi,
I have Forecast Class and Observed Class in a data matrix as below.
Sample1
FCT OBS
1 1 5
2 2 4
3 3- 3+
4 3 3
5 3+ 3-
6 4 2
7 5 1
I want to find the difference between Observed and Forecast Classes.
How can I get this done?
I tried to following to convert the 1
Hi David,
Thank you for your help. It worked!
Daniel Chan
-Original Message-
From: David Barron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 9:29 PM
To: Dan Chan; r-help
Subject: Re: [R] Converting text to numbers
Then, I tried to convert them to numbers using
Hi,
I have a dataframe(FireDanger) that contains weather data (T, RH, WS,
etc) measured at 27 stations. I want to do a quantile summary for each
variable at each station.
quantile(FireDanger$RH, probs=seq(0,1,0.1), na.rm=T)
summary(FireDanger) are close, but not quite.
Is there a single
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
head(DailyCounty)
Date County GFCPer GFCEquip Acre nFires
Date2
1 2001-01-04
Hi,
I am playing with
clogit(case~spontaneous+induced+strata(stratum),data=infert)
from clogit help file.
This line works.
1. But, why strata(stratum) doesn't have a coefficient like spontaneous
and induced?
2. When I remove strata(stratum) from the command, this function seems
to keep
Hi,
I have a dataframe with many columns, including date and I want to keep
only a few of the columns including date column.
I used the following command:
with(FireDataAppling, cbind(STARTDATE, County, TOTAL, CAUSE)
It works, but the date becomes days from Jan 1, 2001.
Chan
-Original Message-
From: Marc Schwartz (via MN) [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 9:22 PM
To: Dan Chan
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Date in dataframe manipulation
On Fri, 2006-03-24 at 15:29 -0500, Dan Chan wrote:
Hi,
I have a dataframe
Hi,
I have a data frame with many fields and there are many records.
One of the fields is county names in Georgia.
I want to select all the records for 3 of the counties.
How can I do that?
DailyCounty is the dataframe that holds the data. One of the fields is
County. The following
Hi,
I have a dataframe Wash2005, which has daily weather data. I am doing a
regression by month as follows:
# FM10 Regression by Month
# Plot 12 Month of OFM10, FFM10
for(i in 1:12) {
Temp - subset (Wash2005, MM == i)
assign( paste('Wash2005FM10', strtrim(month.name[i],3),
Hi,
I plotted 12 graphs on a page and output to a png file. I wanted to
have an overall title for all 12 graphs. What command can I use to do
this? Below is the code that plotted the 12 graphs in one page.
# FM10 by Month/ Export the plot to Wash2005FM10.png
Hi all,
I have a file with a dozen weather stations with a dozen weather
variables. I am trying to get a percentile of each variable for each
station. I imported the file into a data frame Data.
To get the percentile for Temperature for Baxley weather station, I used
the following 2
11 matches
Mail list logo