Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个关于数据转换的问题。我想在 R中转换一个名为zincusing transformation 的变量log10
zinc
log10
有谁知道我该怎么做?
只需使用
log10(zinc)
并将其分配给适当的对象(例如包含锌的数据框)。
如果锌中的任何值为零,您可能需要执行 log10(zinc + 1),因为 log10(0) 未定义。
我发现这个 youtube 视频对解释 R 中的 log10 很有用。