[R] Suppressing warning messages

From: Tolga Uzuner <tolga_at_coubros.com>
Date: Mon 16 May 2005 - 00:25:45 EST

How do I suppress the following ?

Warning messages:
1: the condition has length > 1 and only the first element will be used in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon) else {
2: the condition has length > 1 and only the first element will be used in: if (x(z) == 0) 1 else z/x(z)



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon May 16 00:32:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:46 EST