Description Usage Value Examples
Generates random vector for numerical answer (internal)
1 |
A vector with random weights, including value 1 for first element
1 2 3 4 5 | library(pafdR)
my.sol <- 1 #assume solution to exercise is 1
my.answers <- gen.rnd.vec()*my.sol
my.answers
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.