xt<-function(n, nmin=4){ #error handling if(class(n)!="numeric"){stop("Must be numeric.")} if(floor(n)!=n){stop("Must be whole number.")} if(n