Skip to content

Error in if (zero_count > zeroTolerance) { : missing value where TRUE/FALSE needed #1

@CristianoCoelhoSilva

Description

@CristianoCoelhoSilva

Hi guys, first I'd like to thank you for the amazing work on this implementation of pattern causality. I've been researching this topic at my university and am currently experimenting with this approach.

I would like to report an error I am encountering when executing a function from the package when the variable is set to E >= 3.

Image

Image

When the comparison is X (Matrix or data frame of time series for the cause) and Y (Matrix or data frame of time series for the effect), the error does not occur.

Image

I ran a test where I imported the entire package to my machine and executed the functions directly, and the error did not occur.

Image

Here are some examples of the data. It is important to highlight that the data was processed using dataset$ultimo <- c(NA, diff(log(dataset$ultimo))), possibly because there are negative values in the predictionY function.

Image

I am available for any questions.

Regards,
Cristiano C. da Silva
Researcher at FGV University.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions