View source: R/api-export-bundles.R
| normalize_conquest_overlap_tables | R Documentation |
mfrmr review contractNormalize extracted ConQuest overlap tables to the mfrmr review contract
normalize_conquest_overlap_tables(
conquest_population,
conquest_item_estimates,
conquest_case_eap,
conquest_population_term = "auto",
conquest_population_estimate = "auto",
conquest_item_id = "auto",
conquest_item_estimate = "auto",
conquest_case_person = "auto",
conquest_case_estimate = "auto",
keep_extra_columns = TRUE
)
conquest_population |
Extracted ConQuest population-parameter table as a data.frame. |
conquest_item_estimates |
Extracted ConQuest item-estimate table as a data.frame. |
conquest_case_eap |
Extracted ConQuest case-level EAP table as a data.frame. |
conquest_population_term |
Column in |
conquest_population_estimate |
Column in |
conquest_item_id |
Column in |
conquest_item_estimate |
Column in |
conquest_case_person |
Column in |
conquest_case_estimate |
Column in |
keep_extra_columns |
If |
This helper does not parse raw ConQuest text output. It standardizes already
extracted tables to the contract used by review_conquest_overlap():
population parameters become columns Parameter, Estimate, and
EstimateNonNumeric;
item estimates become columns ItemID, Estimate, and
EstimateNonNumeric;
case summaries become columns Person, Estimate, and
EstimateNonNumeric.
The resulting object is intentionally conservative. It does not infer
whether item IDs correspond to exported response variables or original item
levels; that matching step remains part of review_conquest_overlap(), where
the standardized ConQuest tables are compared against a concrete overlap
bundle.
A named list with class mfrm_conquest_overlap_tables.
The returned object has class mfrm_conquest_overlap_tables and includes:
summary: one-row normalization summary
conquest_population: standardized population table
conquest_item_estimates: standardized item table
conquest_case_eap: standardized case table
settings: source-column metadata
notes: interpretation notes
Read summary(normalized)$normalization_scope before review to confirm
that the object contains extracted tabular inputs, not parsed raw ConQuest
report text, and to check duplicate-ID / non-numeric-estimate pre-review
flags.
build_conquest_overlap_bundle(), review_conquest_overlap()
normalized <- normalize_conquest_overlap_tables(
conquest_population = data.frame(
Term = c("(Intercept)", "GroupB", "sigma2"),
Est = c(0, 0.2, 1)
),
conquest_item_estimates = data.frame(
Item = c("I1", "I2"),
Est = c(-0.2, 0.2)
),
conquest_case_eap = data.frame(
PID = c("P001", "P002"),
EAP = c(-0.1, 0.1)
),
conquest_population_term = "Term",
conquest_population_estimate = "Est",
conquest_item_id = "Item",
conquest_item_estimate = "Est",
conquest_case_person = "PID",
conquest_case_estimate = "EAP"
)
summary(normalized)$normalization_scope
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.