Message-ID: <CAB=p7Spn4gbO_5U=9iw=POxV5ZravSRUJ9VTnL9LzcQ1Nvfgxw@mail.gmail.com>
Date: 2017-09-20T15:07:20Z
From: Shivi Bhatia
Subject: arguments imply differing number of rows
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]]