R programming language
A) Create a function that accepts two arguments, an integer and
a vector of integers. It returns the count of the number of
occurrences of the integer in the input vector.
1]Input: num_count <-function ???
2]Input: num_count(2,c(1,1,2,2,3,3))
2] Output: 2
3] Input:
num_count(1,c(1,1,2,2,3,1,4,5,5,2,2,1,3))
3] Output : 4
B) Create a function that accepts 3 integer values and returns
their sum. However, if an integer value is evenly divisible by 3,
then it does not count towards the...