Saturday, 29 September 2018

Array, Strings and Functions in R Languages

Array 
  • Used to store ordered list of values of same type.
We will see how to:
  • Create Array
  • Access Array
  • Modify Array





Functions :-
  •  Function is a set of statements combined together perform a specific Task.
  • Syntax:
                 functionName <- function(Arguments_optional)
                   {
                       //Statemnts.
                      }
  • We will see how to:
                 - Create a Function
                 - Call a Function




String :-  
  •  Values written inside single or double quotes are called strings. E.g. "Hello" , 'hello'
  • Quotes can't be mixed, if a string has double quote in beginning ending quotes should be same as well.
  • Example of  Valid strings and invalid strings.
  • "Hey", 'Hey', "Teacher's", 'Name" is' are valid strings.
  • 'Hey", "Hello" there", 'hey"there', are invalid strings.
  • We will see how to:
             - Create and manipulate strings using predefined functions.

0 Comments:

Post a Comment

Popular Posts

Categories

Android (21) AngularJS (1) Books (3) C (75) C++ (81) Data Strucures (4) Engineering (13) FPL (17) HTML&CSS (38) IS (25) Java (85) PHP (20) Python (85) R (69) Selenium Webdriver (2) Software (13) SQL (27)