Re: [R-SIG-Mac] How to add variables to a vector

2020-03-28 Thread Duncan Murdoch
On 28/03/2020 4:17 p.m., David wrote: If I have a vector created like x <- c(5,1,9,3), how can I add values to it later?  That seems simple, but I don't find the answer in either of my Dalgaard or Crawley books, or in the help functions.  Thanks. This question belongs on R-help: nothing to do

Re: [R-SIG-Mac] How to add variables to a vector

2020-03-28 Thread Thomas Hopper
Add elements to the vector x? x <- c(x, 4, 10, 8) Sent from my iPhone > On Mar 28, 2020, at 16:17, David wrote: > > If I have a vector created like x <- c(5,1,9,3), how can I add values to it > later? That seems simple, but I don't find the answer in either of my > Dalgaard or Crawley book