Scoring: A function to trim and score responses.

Description Usage Arguments Value Examples

View source: R/scoring_function.R

Description

A function to score the responses, compute percentage correct, and classify based on it. Reading is always analyzed before Listening.

Usage

1
2
3
Scoring(MainPath, Language, TestName, AdminDate, ProfScale, ProfVersion_l,
  ProfVersion_r, n_demo = 6, PL_file = F, keychange_r = NULL,
  keychange_l = NULL)

Arguments

MainPath

The folder where the response files are stored in

Language

Testing language

TestName

Name of the test

AdminDate

Date of test administration

ProfScale

Proficiency scale, "ACTFL" or "ILR"

ProfVersion_l

The version of the proficiency level file downloaded from ACTesting for listening

ProfVersion_r

The version of the proficiency level file downloaded from ACTesting for reading

n_demo

number of demographic variables, usually it's 6.

PL_file

logical. The default is FALSE, PL file is generated from Proficiency file downloaded from ACTesting. If TRUE, additional PL file is provided, usually after IDR. After IDR, just change the last column of PL file, including changing proficiency level and changing to DNS.

keychange_r

The default is NULL. If the reading key is changed from IDR, a list of item index and new keys should be here. The first element is item index, the rest are the keys. Each item with key change is an object in the list.

keychange_l

The default is NULL. If the listening key is changed from IDR, a list of item index and new keys should be here.

Value

All the files are stored in the determined folders. The excel file is also generated.

Examples

1
2
Scoring(MainPath, Language, TestName, AdminDate, ProfScale, ProfVersion_l, ProfVerson_r, n_demo, PL_file=F,
keychange_r=list(c(1,1,2), c(13,1,4)), keychange_l=NULL)

wzhranran/ACReporting documentation built on May 14, 2019, 8:37 a.m.