[R] function to solve equations

2009-09-10 Thread Yash Gandhi
t im not sure if its correct. calc <- function(prob){ prob <- exp(-3.33+0.0102*x)/(1+exp(-3.33 + 0.0102*x)) solve(prob) x } Thanks Yash Gandhi __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] different names for new files in a for loop

2009-07-28 Thread Yash Gandhi
columns 1, 2, 4 with a different name and so on till i get to the 8th new file with columns 1, 2, 10? Thank you Yash Gandhi __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R