Skip to content

Disparity between 'compute_Sk' help file instruction/example and usage #1

@chengisk

Description

@chengisk

compute_Sk does not work as mentioned in the man file:

data(pigeons)
spacings = compute_Sk(pigeons$control, pigeons$experimental)
Error in compute_Sk(pigeons$control, pigeons$experimental) :
argument "circle" is missing, with no default

It requires, circle=TRUE or circle=FALSE as an argument.

spacings = compute_Sk(pigeons$control, pigeons$experimental, circle=TRUE)
compute_Sk(pigeons$control, pigeons$experimental, circle=TRUE)
$Sk
[1] 9 0 0 0 0 1 0 0 0
$n
[1] 10
$m
[1] 9

The man file needs revision to explicitly state that circle needs T/F instruction.

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