moodle.table {moodler}R Documentation

moodle.table

Description

This function takes a data frame or vector and generate the html code to display it in a moodel quiz

Usage

moodle.table(x, DoRowNames = FALSE, DoBorder = FALSE, ncols = 10)

Arguments

x

df or vector

ncols

for vectors, how many items per cow?

Examples

moodle.table(round(rnorm(50), 1))
moodle.table(mtcars)

[Package moodler version 0.1.1 Index]