[R] Question about error of "non-numeric argument to binary operator"

David Winsemius dwinsemius at comcast.net
Fri Nov 22 18:59:31 CET 2013


On Nov 22, 2013, at 1:28 AM, Noor Aziani Bt Harun wrote:

> Hi,
> 
> I'm going to run my thesis that use R language for Lee-Carter method but
> some error occur when I'm running this code.
> 
> Please guide me Sir.
> 
> 
> 
>> male.lca<-lca(malaysia.male)
> 
> Error in pop * mx : non-numeric argument to binary operator

You have provided very little information. Missing are any description of the dataset and no information about where you are getting the lca function. Why should we be guessing about these bits?

> 	[[alternative HTML version deleted]]
> 
The Posting Guide requests that you not format your postings in HTML.

> ______________________________________________
> R-help at r-project.org mailing list
> 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.


-- 
David Winsemius
Alameda, CA, USA



More information about the R-help mailing list