Sunday, June 23, 2019
Describe the differences between the R list and vector Essay
Describe the differences between the R attend and sender - Essay ExampleVisualising data as graphs ,maps and boxplots is another important requirement . R comes with strong graphical and mapping facilities.R is an integrated suite of software facilities for data manipulation. R is very frequently a vehicle for newly developing methods of interactive data analysis. Many consider R as a statistical system. It is an environment in which nigh of classical and modern statistical techniques have been implemented.(Venables et al 2009) .Every thing is an object in R. All Objects are built of a elemental set of built-in objects. The type of an object define how it is stored in R. Objects in R also are members of a class. .Classes define what information objects contain and how these objects whitethorn be used .(Adler Joseph 2009)All kinds of vectors raft be created using the c(.) function where c stands for combine or concatenate . Numeric vectors containing a sequence of determine can be created using the sequence function seq( ) or using the operator . Vectors can also be created by repetition of elements using rep( ) function(Alder Joseph 2009)Vectors can be used in arithmetic expressions ,in which case the operations are performed element by element. The elementary arithmetic operators are +,-,*,/ and (Venable etal 2010).Vectors need not be of the same lengthA lot of built in mathematical functions are available in R which can take a vector as an argument and return another vector as a result .Such functions are called vectorised functions .Such functions make calculating and plotting mathematical functions easy.Lists are created using the list function .Objects in the list can also be named . Components in the list can accessed by the double subscript i where i is the strength in the list. If the objects in the list are named ,the components can be accessed using
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.