[R] arguments imply differing number of rows

Shivi Bhatia shivipmp82 at gmail.com
Wed Sep 20 17:07:20 CEST 2017


Hi Team,

I using the syntax as:

data.df<- data.frame(
  city= c(rep(c("Delhi", "Bangalore","Chandigarh"),each=5)),
  population= c(4000:6000,3500:4300,3000:3200)
)

But i am getting the error as arguments imply differing number of rows: 15,
3003.

Tried searching google but could not understand & find the solution.

Thanks, Shivi

	[[alternative HTML version deleted]]



More information about the R-help mailing list