Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in R Programming by (7.3k points)
Can anyone tell me what is array in R programming?

1 Answer

0 votes
by (41.4k points)

In R programming, arrays are the data type that helps us store multi-dimensional data. We can create an array using the array() function. While using the function, we can give the dimension of the array as per our needs. If we give the dimension as (3,3,2), then we will get two matrices of 3x3. To access or alter the elements of an array, we have to use the index positions of the elements and perform the required operation.

If you are looking for an online course to learn R programming, check out this R Programming Training by Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...