Useful R commands for statistics