Abstract
We assume a working knowledge of either Matlab or R. For either language, there are many books that describe the basics for beginners. However, a brief comparison of the two languages might help someone familiar with one language read code written in the other.
Matlab and R have many features in common. Some of the differences are trivial while others can be troublesome. Where differences are minor, we offer code in only one language, which will be often R.
We will use typewriter font for any text meant to be interpreted as Matlab or R code, such as plot(heightfd).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2009 Springer-Verlag New York
About this chapter
Cite this chapter
Ramsay, J., Hooker, G., Graves, S. (2009). Essential Comparisons of the Matlab and R Languages. In: Functional Data Analysis with R and MATLAB. Use R. Springer, New York, NY. https://doi.org/10.1007/978-0-387-98185-7_2
Download citation
DOI: https://doi.org/10.1007/978-0-387-98185-7_2
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-98184-0
Online ISBN: 978-0-387-98185-7
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)