Page 218 - Data Science class 11
P. 218

The following result is produced:

















             5.   >=  The greater than or equal to operator checks if each element of the first vector is greater than or
                 equal to the corresponding element of the second vector.

        Example
        Enter the following code snippet:

             first <- c( 3,7.5,12)
             second  <- c(7, 7.5, 5)
             print(first>=second)
        The following result is produced:

















             6.   !=   The Unequal Operator  checks  if  each  element  of  the  first  vector  is  unequal  to  the  corresponding
                 element of the second vector.

        Example
        Enter the following code snippet:

             first <- c( 3,7.5,12)
             second  <- c(7, 7.5, 5)
             print(first!=second)
        The following result is produced:





















          216   Touchpad Data Science-XI
   213   214   215   216   217   218   219   220   221   222   223