Result of P-value like a photo below is 2.129e-05, but I want it display with decimal number instead, it will easy to read with everyone.
Please help me to solve this problem, thank you so much.
interactive printing is controlled by 'scientific penalty' option like so.
(myvalue <- 2.129*10^-5)
#[1] 2.129e-05
options(scipen=999)
(myvalue <- 2.129*10^-5)
#[1] 0.00002129
options(scipen=1)
(myvalue <- 2.129*10^-5)
#[1] 0.00002129
the higher the penalty value the less likely scientific notation is to be used
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.