data.frame中的错误(smoothness_mean = rep(seq(from = 0.05,to = 0.15)),:参数暗示行数不同:1,0

时间:2019-05-09 05:30:12

标签: r

  

data.frame中的错误(smoothness_mean = rep(seq(from = 0.05,to = 0.15)),:     参数暗示不同的行数:1、0

以上评论意味着什么?

cancer1 <-data.frame(smoothness_mean = rep(seq(from = 0.05, 
                                               to = 0.15),
                                       length.out=100,4),
                 radius_mean = mean(cancer$radius_mean),
                 texture_mean = mean(cancer$texture_mean),
                 concave.points_mean = rep(c(0.02,0.04,0.06,0.08),0.10))

0 个答案:

没有答案