Re: [R] data merging

2016-02-17 Thread Shane Carey
Hi,

I found the error.

Thanks in advance

On Wed, Feb 17, 2016 at 4:01 PM, Shane Carey  wrote:

> Hi,
>
> Im trying to append rows to a data frame using smartbind
>
> I have 3 dataframes:
>
> > dim(DATA_WH)[1] 235  24> dim(DATA_GW)[1] 3037   41> dim(DATA_NFGWS)[1] 2485 
> >   62
>
> B<-smartbind(DATA_NFGWS,DATA_WH)
>
>
> However I get the following error:
>
>  Error in `[.data.frame`(block, , col) : undefined columns selected
>
>
> Any advice on this would be greatly appreciated!! Driving me nuts!!
> Thanks
> --
> Shane
>



-- 
Shane

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] data merging

2016-02-17 Thread Shane Carey
Hi,

Im trying to append rows to a data frame using smartbind

I have 3 dataframes:

> dim(DATA_WH)[1] 235  24> dim(DATA_GW)[1] 3037   41> dim(DATA_NFGWS)[1] 2485   
> 62

B<-smartbind(DATA_NFGWS,DATA_WH)


However I get the following error:

 Error in `[.data.frame`(block, , col) : undefined columns selected


Any advice on this would be greatly appreciated!! Driving me nuts!!
Thanks
-- 
Shane

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.