calculate_section_score: Calculate the score for a section

View source: R/score.R

calculate_section_scoreR Documentation

Calculate the score for a section

Description

Given data for a single section of a submission, calculate that section's score based on multiplication of the clinical vs. preclinical factor, within- vs. across-species factor, section factor, partial beta weight, and score given by the reviewer (or average score across multiple reviewers).

Usage

calculate_section_score(data, lookup, score = 1, species = 1, clinical = 1)

Arguments

data

Data frame containing the section data. Should have columns 'section', 'variable', and 'response' at a minimum.

lookup

Lookup table that contains the partial beta weights for applicable variables.

score

Average score given by reviewers.

species

Within-species (usually 0.67) or across-species (usually 0.33) multiplication factor. Not used for sections 'basic', 'pk_in_silico' or 'pk_in_vivo'.

clinical

Clinical (usually 0.67) or preclinical (usually 0.33) multiplication factor. Not used for sections 'naming', 'basic', 'pk_in_silico' or 'pk_in_vivo'.

Value

A numeric value indicating the score for the section


Sage-Bionetworks/stopadforms documentation built on Aug. 31, 2024, 11:53 p.m.