Question: Using Rstudio: Rewrite the function fu.character to handle the case that the length of the vector is greater than one by counting all the characters
Using Rstudio:
Rewrite the function fu.character to handle the case that the length of the vector is greater than one by counting all the characters in the vector. The paste function will help here.
fu.character <- function(x) nchar(x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
