Commit 191fce85 authored by Simon Pintarelli's avatar Simon Pintarelli

if not defined: assume 0 Points -> Grade 1

parent e551284c
......@@ -40,10 +40,15 @@ int_points <- c(0, 21, 35, maxpoints)
int_grades <- c(1, 4, 6, 6)
@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ================= END USER SETTINGS =================== %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<<<check_user_settings>>=
<<<check_user_settings, echo=FALSE>>=
if(min(int_grades) > 1){
int_grades <- c(1, int_grades)
int_points <- c(0, int_points)
}
@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment