Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All of the questions must be answered by R language. givenarray

All of the questions must be answered by R language.

givenarray <- c(34,87,56,97,23,65,76,35,21,79,88,99,54)

1.

Try to create a function which calculates the mod of a given array

to find mod without built-in function(mod())

use unique(), tabulate() functions

2.

Calculate the standard deviation of given array

without using sd() function.

use sqrt() function

3. Create a barplot with given array and label the x axis with the letters given below

x, y, z, a, b, c, d, p, o, c, e, m, n

4. outliers can be found by (min - (1.5*IQR)) or (max + (1.5*IQR)) Now add two outlier values to given array and re-draw the boxplot

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

All of the questions must be answered by R language. givenarray

Answered: 1 week ago