题目
A.Z <- c(rep(1, 2), rep(3, 4))
B.Z <- c(rep(1, 3), rep(2, 4))
C.Z <- c(rep(1, 4), rep(2, 3))
D.Z <- c(rep(2, 3), rep(1, 4))
第2题
A.X<-seq[1:10]
B.X<-seq(1, by = 1, length.out = 1)
C.X<-seq(1, by = 10, length.out = 1)
D.X<-seq(1, by = 1, length.out = 10)
第3题
A.Y <- gl(3, 2, 6, labels = c(1, 2,3))
B.Y <- gl(3, 2, 6, labels = (1, 2,3))
C.Y <- gl(3, 2, 6, label = c(1, 2,3))
D.Y <- gl(1, 2, 3, labels = c(1, 2,3))
第4题
A.A cfs <- 100 * (rep(couponRate/frequency, n) + c(rep(0, n ),1))
B.B cfs <- 100 * (rep(couponRate/frequency, n-1) + c(rep(0, n - 1),1))
C.C cfs <- 100 * (rep(couponRate/frequency, n) + c(rep(0, n - 1))
D.D cfs <- 100 * (rep(couponRate/frequency, n) + c(rep(0, n - 1),1))
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!