I try to use x <- rep(2,10)
, but I don't know what I should do next. Can anyone give me some advice? Thanks in advance.
↧
Create a vector that contains the first 10 powers of 2, then the first 10 powers of 3 by R language
↧