This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig807B2312A20EAF60129FDDFA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, I am writing this email, because I am not sure if the issue I have discovered is a bug or not. For a few days I have been fiddling around with a small program that calculates the reflectance of multilayer dielectric mirrors (eg. bragg mirrors). It does not really matter what I did, what matters is that I could not do that using R. I had some sample data which I used to test if my R program works correctly (if it fits the data it works). This sample data was for two different incident angles with respect to the normal of the hypothetical bragg mirror (0=B0 and 70=B0). The plots for 0=B0 matched perfectly but t= hose for 70=B0 were quite a bit off. After trying out all sorts of things for several days, I tried the same algorithm in octave (matlab clone, but open source). There, I got a perfect match for both 0=B0 and 70=B0. I alm= ost could not believe it, R must have calculated wrong. The R version I use at home at the moment is 2.2.1 on gentoo linux. I also tried version 2.1.0 at my university (debian stable), both had the same result. I uploaded everything to reproduce this to http://n.ethz.ch/student/homartin/r-vs-octave/ There, you can also find the .pdf file of the comparison of the reference, the R output and the one from octave. The calculations are quite complex, nevertheless, I would be very happy to read your reply concerning this problem. Thanks in advance, best Regards, Martin --=20 Better to use medicines at the outset than at the last moment. --------------enig807B2312A20EAF60129FDDFA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEj2Yw899ysxFmsp8RArgrAJwLYHCy0vf5m6/iAQwtt+/+pOFPWACg/Q13 6xkVN0cpZjeKAeGWj7qKdOM= =hv4P -----END PGP SIGNATURE----- --------------enig807B2312A20EAF60129FDDFA-- ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel