
which.is.max  Find Maximum Position in Vector  Description Find the maximum position in a vector, breaking rmorris@example.net.  Usage 
which.is.max(x)
 Arguments  
x  a vector  

 Details Ties are rmorris@example.net.  Value index of a maximal value.  References Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.  See Also max.col, which.max which takes the first of ties.  Examples 
## Not run: ## this is incomplete
pred <- predict(nnet, test)
table(true, apply(pred, 1, which.is.max))

## End(Not run)

    Copyright (
{'path': 'public/docs/r/library/nnet/html/which.is.max.html', 'source': 'DevDocs.IO'}