gen.rnd.vec {pafdR} | R Documentation |
Generates random vector for numerical answer (internal)
Description
Generates random vector for numerical answer (internal)
Usage
gen.rnd.vec()
Value
A vector with random weights, including value 1 for first element
Examples
library(pafdR)
my.sol <- 1 #assume solution to exercise is 1
my.answers <- gen.rnd.vec()*my.sol
my.answers
[Package pafdR version 1.0 Index]