aggiungi_risposta: Add answer

Description Usage Arguments Value Examples

Description

Add answer

Usage

1
aggiungi_risposta(a, domanda, risposta)

Arguments

a

solution object

domanda

int the number(s) of the question(s) to answer

risposta

any the object(s) with the answer to the question(s)

Value

a solution object

Examples

1
2
3
4
5
6
7
8
9
esame_corrado <- soluzione(
  candidato = list(nome = "Corrado", cognome = "Lanera", mat = 1234),
  corso     = "tdp",
  anno      = 2018,
  appello   = 2,
  tema      = "a"
)
esame_corrado <- aggiungi_risposta(esame_corrado, 2, TRUE)
esame_corrado

UBESP-DCTV/rexams documentation built on May 16, 2019, 11:04 a.m.