Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 02-intro2R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ y+2 #scalar addition
2*y #scalar multiplication
y^2 #raise each component to the second power
2^y #raise 2 to the first through fifth power
y #y itself has not been unchanged
y #y itself is unchanged
y<-y*2
y #it is now changed
r1<-rep(1,3) # create a vector of 1s, length 3
Expand Down