Comparison of different methods of obtaining the rapid shallow breathing index.