Learn R Programming

exams.forge (version 1.0.10)

exercise: Data Exercise Structure

Description

Data structure for exercise data.

Usage

exercise(exer, ...)

# S3 method for default exercise(exer = NULL, ...)

exercise_data(exer, ...)

Value

An exercise object.

Arguments

exer

an exercise object (default: NULL)

...

further parameters

Examples

Run this code
exer <- exercise()           # new exercise
exer <- exercise(exer, x=3)  # add x to the exercise

Run the code above in your browser using DataLab