search for: ratevalu

Displaying 1 result from an estimated 1 matches for "ratevalu".

Did you mean: ratevalue
2010 Apr 17
2
Question regarding R plot
...am new to R, and have a quick question regarding an R script that I received from a kind colleague. I am trying to determine the "peak" (maximum value) of the graph that is plotted when executing the following. There is an input file called "rates_values.txt" which begins as: rateValue 0.375693 0 1.71274 0 0 1.02832 0 0.16343 1.02349 0 0 1.47258 0.703522 0.390541 1.83415 The script, below, must run with the rates_values.txt in the same dir. #------- rates<-read.table("rates_values.txt",header=T) attach(rates) scores<-function(x){ l<-length(rateValue) t...