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
Essentials Of Investments
11th Edition
ISBN:9781260013924
Author:Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Chapter1: Investments: Background And Issues
Section: Chapter Questions
Problem 1PS
Related questions
Question

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

Essentials Of Investments
Finance
ISBN:
9781260013924
Author:
Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:
Mcgraw-hill Education,



Essentials Of Investments
Finance
ISBN:
9781260013924
Author:
Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:
Mcgraw-hill Education,



Foundations Of Finance
Finance
ISBN:
9780134897264
Author:
KEOWN, Arthur J., Martin, John D., PETTY, J. William
Publisher:
Pearson,

Fundamentals of Financial Management (MindTap Cou…
Finance
ISBN:
9781337395250
Author:
Eugene F. Brigham, Joel F. Houston
Publisher:
Cengage Learning

Corporate Finance (The Mcgraw-hill/Irwin Series i…
Finance
ISBN:
9780077861759
Author:
Stephen A. Ross Franco Modigliani Professor of Financial Economics Professor, Randolph W Westerfield Robert R. Dockson Deans Chair in Bus. Admin., Jeffrey Jaffe, Bradford D Jordan Professor
Publisher:
McGraw-Hill Education