Explain different types of atomic vectors in R?
Answer / Deepanshi Chauhan
Atomic vectors in R are the simplest type of vector and can only contain elements of a single mode (numeric, character, logical, complex). The three main types of atomic vectors are: numeric vector (e.g., c(1,2,3)), character vector (e.g., c('a', 'b', 'c')), and logical vector (e.g., c(TRUE, FALSE, TRUE)).
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you join multiple strings together?
What will be the output of log (-5.8) when executed on r console?
What are features of r functions?
Can we update and delete any of the elements in a list?
I have a string “contact@dataflair.com”. Which string function can be used to split the string into two different strings “contact@dataflair” and “com”?
What is a class in r?
What is the use of stringr package.
What is sapply() in r?
Describe grep() in r string manipulation?
Define Cluster.stats() ?
How can you merge two data frames in R language?
Tell me something about shinyr.