Checks for correct input
is.numberOfNeurons(x, tol = .Machine$double.eps^0.5)
x
Number of neurons
tol
tolerance
Georg Steinbuss