What are the different data structures in r? Briefly explain about them.
Answer / Manindra Nath Singh
"R has several types of data structures, including:nn1. Vector: A collection of elements of the same type (numeric, character, logical).n2. Factor: Categorical variables represented as integers.n3. Matrix: A two-dimensional array with rows and columns of equal length.n4. Data Frame: A collection of vectors or factors, where each vector or factor represents a column and shares the same row indexes.n5. List: A generic data structure that can contain elements of any type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain r graphics devices?
How will you combine multiple different string like “data”, “science”, “in” ,“r”, “programming” as a single string “data_science_in_r_programmming” ?
What is a random walk model and how can you simulate it using r?
Define Cluster.stats() ?
Explain how you can create a table in r without external file?
Explain statistical functions performed by R?
What is tcp/ip variable smc-r storage allocations?
What is sapply() in r?
Explain advantages of R data Visualization?
What is the difference between a bar-chart and a histogram? Where would you use a bar-chart and where would you use a histogram?
What is the function used for adding datasets in R?
What is the usage of the lattice package in R?