Skip to content

Readme Example error #1

@adriencrtr

Description

@adriencrtr

Hello,

Thank you for paper and your package. I think there is a little mistake in the Example.

The current code for the example is :

n <- 500 X <- cbind(rnorm(n),rnorm(n)) X.NA <- X X.NA[,1] <- ifelse(stats::runif(n)<=0.2, NA, X[,1]) pval <- PKLMtest(X)

I suggest replacing with :

n <- 500 X <- cbind(rnorm(n),rnorm(n)) X.NA <- X X.NA[,1] <- ifelse(stats::runif(n)<=0.2, NA, X[,1]) pval <- PKLMtest(X.NA)

Regards,
Adrien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions