To convert strings to integers in R, use the strtoi() function. The strtoi() is a built-in function that converts strings to integers.
確定! 回上一頁