[R] arguments imply differing number of rows
bgunter.4567 at gmail.com
Wed Sep 20 17:11:12 CEST 2017
What do you think
Perhaps you need to spend time with an R tutorial or two and stop searching
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Sep 20, 2017 at 8:07 AM, Shivi Bhatia <shivipmp82 at gmail.com> wrote:
> 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,
> Tried searching google but could not understand & find the solution.
> Thanks, Shivi
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help