Computer Science, asked by chaudhuriarghya2323, 9 months ago

Which Command Allows You To Get The Median Tree Height Of The R Sample Dataset Trees?

Answers

Answered by dhyan80
1

Answer:

ExAnswer :- Below answer is in the context of 'R' programming.

There are in-built functions in R to do statistical analysis. These are present in  R base package.

Median is calculated in R using median() function.

Syntax of the function is median(x, na.rm = FALSE).

x - Dataset vector

na.rm - This removes missing values in dataset

# Create the vector.

r <- c(1,72,32,44.2,44.1,-5,-231)

# Find the median.

median.result <- median(r)

print(median.result)

plss mark as brainliest

Similar questions