At 09:04 PM 1/1/2004 +0100, Fredrik Lundgren wrote:
Hello,
A small problem I can't solve

 > p <- 0.0001
> p
[1] 1e-04

How can I force the printout of p to 0.0001?
I have tried 'format', 'round', 'signif', 'print' in different combinations without success.



If the issue is general, try the scipen option:


> options(scipen=10)
> p <- 0.0001
> p
[1] 0.0001

I hope that this helps,
 John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: [EMAIL PROTECTED]
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to