Displaying 1 result from an estimated 1 matches for "rateprobth".
Did you mean:
rateprob1
2010 Feb 19
1
How to use same function for diffrent input values
Dear R helpers
I have written some function (the actual code I have pasted at the end of mail) like say
indiv_rate = function(n, rate_name, rate, rate_rf1, rate_rf2, rate_rf3, rateprob1, rateprob2, rateprob3)
{
........some R commands
return(data.frame(rate_name, rates = round(rate_data, digits = 4)))
}
## INPUT
rates = indiv_rate(n = read.csv('number.csv')$n, rate_name =