[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:21:16 CEST 2005




Hui Han wrote:

> Hi,
>
> Another phenomenon is that if I don't sort the data vector x3, I get 
> the same error  regardless of the bandwidth value:

    Actually for really large bandwidth,e.g. 120, it deosn't report 
errors.  Sorry for the confusing description.

> "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