bbolker / bbolker/R2admb

ragged arrays vs matrices in data read

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Smarty
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

it's hard to tell from the format of a data file alone whether an object is supposed to be a ragged array (which _might_ actually be balanced, i.e. "non-ragged", in any particular run) or a matrix. _If_ the data lines are different lengths, then it must be a ragged array, but if they're not then it might be either. One solution would be to use TPL info to resolve the difference ...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the data-reading entry point and reviewing how TPL information is available to it. Determine the intended rule for distinguishing ragged arrays from matrices when all data lines have equal length, then document the decision and add coverage for both ambiguous and unequal-length inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.