qp: Keeps track of question points

qpR Documentation

Keeps track of question points

Description

I use this for homeworks because I can assign points and it will print a formatted number of points as well as keep track of a running total.

Methods

Public methods


Method new()

Usage
qp$new(points = NA)

Method question()

Usage
qp$question(p)

Method print()

Usage
qp$print(...)

Method clone()

The objects of this class are cloneable with this method.

Usage
qp$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


andrew-griffen/griffen documentation built on June 3, 2024, 12:34 p.m.