Displaying 4 results from an estimated 4 matches for "newrate".
Did you mean:
newdate
2009 Dec 26
1
Reading Input file
...es rate1.csv, rate2.csv, rate3.csv, rate4.csv in my WORK directory.
# If I individually define
PPP = read.csv(‘rate[1]’)
PPP # When I run PPP in R, it gives contents of the file rate1.csv i.e. I am able to read the required rate1 file. But if I run following commands, I get errors.
newrate = NULL
for (i in 1:n)
{
newrate[i] = read.csv(rates[i])
}
I need to read all these four files for my further analysis. Please guide.
Regards
Maithili
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
[[alternative HTML version delete...
2005 Mar 21
1
ASTCC: perl / mysql or me???
...t; print STDERR "2.d quiet = $quiet\n";
vpbx:/var/lib/asterisk/agi-bin #
What happens is, when I use the $TARIFF=routes (what was the original
name) it works! If I use the new table name I had added to the database,
than it does not work!
The database has both tables routes and newrates.
With "routes" I get: You have so much money, .... your call cost ....
With "newrates" I get: You have so much money left, I am sorry that is
not a recognized number
I created the newrates table via mysqldump, changed table name
everywhere and changed the rate, inserted the...
2009 Dec 28
2
Modified R Code
...input like I had defined above.
So with the guidance of R - help, I had rerwitten the input code as given below.
# NEW CODE
n = 2 # It gives me no of rates
X = paste('rate', 1:n, '.csv', sep = ' ' )
# the output is "rate1.csv" " rate2.csv"
newrate = lapply(X, read.csv)
# the output is as given below
newrate
[ [1] ]
min1 max1 min2 max2 min3 max3
1 1.05 1.30 1.30 1.65 1.65 1.99
[ [2] ]
min1 max1 min2 max2 min3 max3
1...
2002 Feb 08
3
Plotting multiple columns on same graph
I'd like to produce a series of simple line graphs for my methods class
that show the three questions used on a repeated survey to make up a
particular index. The data frame is:
> efficacy.df
year complicated havesay dontcare
1 1952 71 68 63
2 1954 NA NA NA
3 1956 64 71 71
4 1958 NA NA NA
5 1960