diefk2 {dief} R Documentation

## Compute dief@k at a portion of the answer

### Description

This function computes the dief@k metric at a given kp (portion of answers).

### Usage

diefk2(inputtrace, inputtest, kp = -1)


### Arguments

 inputtrace dataframe with the answer trace. Attributes of the dataframe: test, approach, answer, time. inputtest string that specifies the specific test to analyze from the answer trace. kp portion of answers to compute diefk (between 0.0 and 1.0). By default and when kp=1.0, this function behaves the same as diefk. It computes the kp portion of of minimum of of number of answers produced by the approaches.

### Author(s)

Maribel Acosta

# Compute dief@k when the approaches produced 25% of the answers w.r.t.