Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between the data frame and a matrix in R?



What is the difference between the data frame and a matrix in R?..

Answer / Rakesh Kumar Lohani

A matrix in R is a two-dimensional array with both rows and columns of equal length, while a data frame is a collection of related variables organized into named columns. Data frames are more flexible than matrices as they can contain factors (categorical variables) and missing values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

How would you extract one particular word from a string?

1 Answers  


What is with () and by () function in r is used for?

1 Answers  


How can you load a .csv file in r?

1 Answers  


What are r data types?

1 Answers  


What are statistical software and data analysis in r?

1 Answers  


How to use R from python?

1 Answers  


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”?

1 Answers  


Explain how R commands are written?

1 Answers  


What is length function in r?

1 Answers  


How to create the s3 class?

1 Answers  


What is s3 in r?

1 Answers  


Explain disadvantages of density-based clustering in R?

1 Answers  


Categories