Let summary function works on obs without providing sim argument (and opposite)

Aperta
#9 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@vrahier ci sta già lavorando.

Dal 3/12/2026.

  • #183 di @vrahier — aperta
  • #184 di @vrahier — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
r
Ambito
data

Direzione di ricerca

The errors name is.factor(object) and statistics_situations requiring both obs and sim. Locate the summary method for the package objects and make obs and sim optional so each path can emit basic counts and means when the other argument is missing. Confirm with whatever tests already cover summary or situations; there is no linked PR and the issue is years old with no comments.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

summary(obs=obs)
gives
"Error in is.factor(object) : l'argument "object" est manquant, avec aucune valeur par défaut"

summary(sim)
gives
"Error in statistics_situations(..., obs = obs, stat = stat, all_situations = all_situations, : l'argument "obs" est manquant, avec aucune valeur par défaut"

This would be useful to have basic stats on obs or sim (e.g. number of observations in total or per situation, mean values).

Lingua principale
R
Stelle
1
Fork
3
Merge medio
9h 41m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SticsRPacks/CroPlotR

Tutte le issue di SticsRPacks/CroPlotR

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.