简体   繁体   English

R中的幂律函数

[英]power law function in R

Can I please confirm that I am typing the equations correctly into R?我能否确认我在 R 中正确输入了方程式?

In a journal article it says:在一篇期刊文章中它说:

在此处输入图片说明

In the article it says: For a particle of radius 1 mm, a typical sinking velocity of 100 md−1在文章中它说:对于半径为 1 mm 的粒子,典型的下沉速度为 100 md−1

They gave the two values for Cw and n他们给出了 Cw 和 n 的两个值

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

I am trying to understand how they got 100m d-1我试图了解他们是如何获得 100m d-1 的

In RI did在 RI 中

 wsink <- ((4.23^(1-1.17))*86400) * (1^1.17) # I multiplied by 86400 because in Cw it says its in s-1 and their final value is 100 m d-1. 

I end up with 67613.88我最终得到 67613.88

Am I writing the equations incorrectly in R?我在 R 中写错了方程式吗?

1 mm should be written as 1e-3 m in the formula, such that 1 mm在公式中应写为1e-3 m ,使得

> 4.23*(1e-3)**1.17*86400
[1] 112.9416

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM