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

Quickbooks Online Accounting
3rd Edition
ISBN:9780357391693
Author:Owen
Publisher:Owen
Chapter7: Payroll
Section: Chapter Questions
Problem 1.13C
icon
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
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
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Quickbooks Online Accounting
Quickbooks Online Accounting
Accounting
ISBN:
9780357391693
Author:
Owen
Publisher:
Cengage