[R] Re: longer object length, is not a multiple of shorter object length in: kappa * gcounts

Hui Han huihan at yahoo-inc.com
Tue Apr 19 01:19:04 CEST 2005


Hi,

Another phenomenon is that if I don't sort the data vector x3, I get the 
same error  regardless of the bandwidth value:
"longer object length,  is not a multiple of shorter object length in: 
kappa * gcounts ".

Thanks in advance for any help you can give me!

Hui

Hui Han wrote:

> Hi,
>
> I was using a density estimation function as follows:
> > est <- KernSmooth::bkde(x3, bandwidth=10)
> When setting bandwidth less than 5, I got the error "longer object 
> length,  is not a multiple of shorter object length in: kappa * 
> gcounts ".
>
> I wonder if there is anybody who can explain the error for me?
>
> Thanks!
> Hui
>
>




More information about the R-help mailing list