################################################################################
#### Module 3, Lesson about Vectors, Basic Functions, Data Frames, and Help ####
################################################################################
# Lesson 5, part 1: Some useful functions


################################### 
##### SUMMARY FUNCTIONS 
# Basic essential functions to apply to vectors that you will be using a lot
# mean, max, min, length, unique, table, summary

# Define a vector to work with:
vect1 <- c(4,64,4,68,43,18,6,2,2,2,21,68,7,21,33,1,74)


vect2 <- c("A","A","C","T","A","C","G")


###################################
##### SAMPLING FUNCTIONS
# Sometimes we need to pick random values from a vector 
# sample, rnorm, runif





###################################
##### SORTING FUNCTIONS
# Functions for sorting and finding the order of vectors:
# sort, order





###################################
##### SUMMARY
# - functions for summarizing vectors
# - functions for sampling vectors
# - functions for sorting vectors

