PSTAT 10 FINAL EXAM WITH CORRECT ACTUAL
QUESTIONS AND CORRECTLY WELL DEFINED
ANSWERS LATEST ALREADY GRADED A+
Save
Practice questions for this set
Learn 1 /7 Study with Learn
they take vectors as inputs
created using array() function
Choose an answer
1 Arrays cont 2 x<-7:10
3 5 basic object classes in R 4 x<-c(3,7,9)
Don't know?
Terms in this set (112)
, x<-7:10 creates a vector 7 through
7 8 9 10
2^(0:10) 2 to the power of all values in a vector from 0 to
10
rm(x) removes object x
q() quit Rstudio
x<-c(3,7,9) c is combine function
379
1) x<-c("hello","world") 1) "hello" "world"
2) paste("hello", "world") 2 " hello world"
date() gives today's time and date
?paste help function
help(paste)
getwd() get work directory
setwd() set working directory
QUESTIONS AND CORRECTLY WELL DEFINED
ANSWERS LATEST ALREADY GRADED A+
Save
Practice questions for this set
Learn 1 /7 Study with Learn
they take vectors as inputs
created using array() function
Choose an answer
1 Arrays cont 2 x<-7:10
3 5 basic object classes in R 4 x<-c(3,7,9)
Don't know?
Terms in this set (112)
, x<-7:10 creates a vector 7 through
7 8 9 10
2^(0:10) 2 to the power of all values in a vector from 0 to
10
rm(x) removes object x
q() quit Rstudio
x<-c(3,7,9) c is combine function
379
1) x<-c("hello","world") 1) "hello" "world"
2) paste("hello", "world") 2 " hello world"
date() gives today's time and date
?paste help function
help(paste)
getwd() get work directory
setwd() set working directory