Homework help starts here! title: "HW1" author: "TESHWANI GOGINENI" date: "2023-09-20" output: html_document: df_print: paged pdf_document: default word_document: default {r setup, include-FALSE} knitr::opts_chunk$set(echo = TRUE) (r) PartI # # 1.1 Vector # 1. Create 2 vector, each containing 10 random numbers. # First vector vector1 <- sample(1:50, 10, replace = F) # Second vector vector2 <- sample (51:100, 10, replace = F) # Printing the vectors print (vector1) print (vector2) {r} # 2. Append the second vector to the first one. vector_12 <-c(vector1, vector2) print (vector_12) (r) # 3. Calculate the mean of the new combined vector. vector_mean <- mean (vector_12) RUE'S TEIX 27 ROGRAERUGBOGBO GROLOGROGROG SECO BERO GROGRGUR NOGNDGRE UGNEGRU ERUGR ROGEOLO
Homework help starts here! title: "HW1" author: "TESHWANI GOGINENI" date: "2023-09-20" output: html_document: df_print: paged pdf_document: default word_document: default {r setup, include-FALSE} knitr::opts_chunk$set(echo = TRUE) (r) PartI # # 1.1 Vector # 1. Create 2 vector, each containing 10 random numbers. # First vector vector1 <- sample(1:50, 10, replace = F) # Second vector vector2 <- sample (51:100, 10, replace = F) # Printing the vectors print (vector1) print (vector2) {r} # 2. Append the second vector to the first one. vector_12 <-c(vector1, vector2) print (vector_12) (r) # 3. Calculate the mean of the new combined vector. vector_mean <- mean (vector_12) RUE'S TEIX 27 ROGRAERUGBOGBO GROLOGROGROG SECO BERO GROGRGUR NOGNDGRE UGNEGRU ERUGR ROGEOLO
Chapter7: Payroll
Section: Chapter Questions
Problem 1.13C
Related questions
Question
![Homework help starts here!
title: "HW1"
author: "TESHWANI GOGINENI"
date: "2023-09-20"
output:
html_document:
df_print: paged
pdf_document: default
word_document: default
{r setup, include-FALSE}
knitr::opts_chunk$set(echo = TRUE)
(r)
PartI
#
# 1.1 Vector
# 1. Create 2 vector, each containing 10 random numbers.
# First vector
vector1 <- sample(1:50, 10, replace = F)
# Second vector
vector2 <- sample (51:100, 10, replace = F)
# Printing the vectors
print (vector1)
print (vector2)
{r}
# 2. Append the second vector to the first one.
vector_12 <-c(vector1, vector2)
print (vector_12)
(r)
# 3. Calculate the mean of the new combined vector.
vector_mean <- mean (vector_12)
RUE'S TEIX
27
ROGRAERUGBOGBO
GROLOGROGROG
SECO
BERO GROGRGUR
NOGNDGRE
UGNEGRU
ERUGR
ROGEOLO](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ffa3a3f7d-b9b4-4da1-be68-1a513b875edd%2F850507ca-4d4a-43c9-b300-9d08d7aabae7%2Feum6u_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Homework help starts here!
title: "HW1"
author: "TESHWANI GOGINENI"
date: "2023-09-20"
output:
html_document:
df_print: paged
pdf_document: default
word_document: default
{r setup, include-FALSE}
knitr::opts_chunk$set(echo = TRUE)
(r)
PartI
#
# 1.1 Vector
# 1. Create 2 vector, each containing 10 random numbers.
# First vector
vector1 <- sample(1:50, 10, replace = F)
# Second vector
vector2 <- sample (51:100, 10, replace = F)
# Printing the vectors
print (vector1)
print (vector2)
{r}
# 2. Append the second vector to the first one.
vector_12 <-c(vector1, vector2)
print (vector_12)
(r)
# 3. Calculate the mean of the new combined vector.
vector_mean <- mean (vector_12)
RUE'S TEIX
27
ROGRAERUGBOGBO
GROLOGROGROG
SECO
BERO GROGRGUR
NOGNDGRE
UGNEGRU
ERUGR
ROGEOLO
AI-Generated Solution
Unlock instant AI solutions
Tap the button
to generate a solution
Recommended textbooks for you