Skip to content

关于图5-2-3代码中的报错 #5

Open

Description

@BioGavin

我在学习过程中遇到以下问题,希望能够得到帮助,谢谢。
当运行下面代码时

# Johnson分布的偏斜度2.2和峰度13
s <- rJohnson(100, findParams(3, 1, 2., 13.1))
# Johnson分布的偏斜度0和峰度20)
k <- rJohnson(100, findParams(3, 1, 2.2, 20))

出现了如下的报错

Error in .C("JohnsonMomentFitR", as.double(mu), as.double(sigma), as.double(skew),  : 
  程序包"SuppDists"里"JohnsonMomentFitR"不适用于.C()

Activity

  1. frances4514 commented on Jul 15, 2023

    @frances4514

    请问你解决了吗?我刚才看这本书运行这段代码也遇到了这个问题

  2. chenwenqi228 commented on Jan 13, 2024

    @chenwenqi228

    我也遇到这个问题。请问有人解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions