Question: GIVE THE OUTPUT IN R LANGUAGE 5. Write a function that takes two strings as input and returns the number of times the second string

 GIVE THE OUTPUT IN R LANGUAGE 5. Write a function that

GIVE THE OUTPUT IN R LANGUAGE

5. Write a function that takes two strings as input and returns the number of times the second string appears in the first. 6. Write a function that calculates the sum of squares of the first ' n ' natural numbers. 7. Write a function to sort a matrix by the values in a specific column. 8. Write a function to find the average of the numbers in a specific column of a matrix. 9. Write a function to convert a character string to title case (i.e. the first letter of each word is capitalized). 10. Write a function that takes two matrices as input and returns their element-wise product (i.e. Hadamard product)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!