psychTestR logic for finishing the current test and giving the participant a randomly generated code that can then be used for organising payment (e.g. for Amazon Mechanical Turk).

finish_test_and_give_code(researcher_email)

Arguments

researcher_email

The researcher's email address (given in case the participant has any further questions).