Skip to content

radiatR 0.1.1

Choose a tag to compare

@JohnKirwan JohnKirwan released this 15 Jul 20:54
· 81 commits to master since this release
a921ea5

New features

  • New test_gof() tests whether a sample of headings fits a wrapped Cauchy
    distribution (Watson's U^2 on the probability-integral transform, with a
    parametric-bootstrap p-value), closing the wrapped-Cauchy half of the
    non-von-Mises goodness-of-fit gap. Jones-Pewsey GOF remains deferred.
  • test_uniformity() gains test = "pycke", the Pycke (2010) omnibus
    uniformity test — like Hermans-Rasson, powerful against multimodal and
    asymmetric departures from uniformity, with a Monte-Carlo p-value.

Bug fixes

  • radiate() no longer labels every trajectory by its id when a plot has many
    tracks. The automatic fallback to the id/group column now applies only when
    that column has at most 12 distinct values, so many-track plots (e.g. the
    235-trial cpunctatus) render cleanly instead of being buried under
    overlapping trial-id labels. Pass label_col explicitly to force labelling
    regardless of track count.
  • radiate(clip_tracks = TRUE) (the default) now also clips beyond-circumference
    overshoot in the absolute frame (coords = "absolute"), not just the
    relative frame. The relative frame is a rotation of the absolute one, so
    rho is identical in both; the previous relative-only restriction let
    coords = "absolute" plots (e.g. in the package vignette) draw tracks
    visibly outside the unit circle.
  • get_all_object_pos() now reports out-of-bounds track points (radius > 1)
    with a single aggregated message across the whole manifest, instead of one
    message per file.

App

  • Summary & stats now has a "Group comparison" card: test_mean_directions,
    test_concentration, and test_distributions run automatically across the
    selected Group-by column, showing whether groups differ in mean direction,
    concentration, or overall distribution (not just whether each is
    individually non-uniform).