soluzione: Costructor for solution objects

Description Usage Arguments Value Methods (by generic) Examples

Description

Costructor for solution objects

Usage

1
2
3
4
5
6
7
8
9
soluzione(candidato = list(nome = getOption("rexam_nome_candidato"),
  cognome = getOption("rexam_cognome_candidato"), mat =
  getOption("rexam_matricola_candidato")),
  corso = getOption("rexam_corso"), anno = getOption("rexam_anno"),
  appello = getOption("rexam_appello"),
  tema = getOption("rexam_id_tema"))

## S3 method for class 'rexam'
print(x, ...)

Arguments

candidato

named list contenente il nome, cognome e mat del candidato

corso

chr sigle del corso

anno

int anno del corso

appello

int numero appello

tema

chr id del tema d'esame

x

a rexam object

...

further option for the function print

Value

an object of class "<corso><anno><appello>_<tema>"

invisibly x

Methods (by generic)

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
class(esame_corrado)

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