I am getting the mean, max and min of a column a by factors b
tapply(df$a,df$b,summary)
However, I want to have the numbers in Scientific format. e.g. 4.42e+03
How can I do it?
format(tapply(mtcars$mpg,mtcars$cyl,summary),scientific=TRUE)
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加