[Rd] kernel {ts}, kernel.dirichlet calling with one arg (PR#501)

santini@dsi.unimi.it santini@dsi.unimi.it
Fri, 24 Mar 2000 11:12:52 +0100 (MET)


Full_Name: Massimo Santini
Version: 1.0.0
OS: Linux
Submission from: (NULL) (159.149.147.89)


At line 1269 of .../R/library/ts/R/ts there is the following call

	dirichlet = dirichlet.kernel(m), 

but since dirichlet.kernel is declared somewhre above to take two arguments, 
I suspect that that line should read as

	dirichlet = dirichlet.kernel(m, r), 

Without this correction the call
	
	kernel("dirichlet",m=10,r=1);
	
always returns the following error

	Error in dirichlet.kernel(m) : Argument "r" is missing, with no default

while after the proposed patch if correctly outputs the desider kernel.

I hope this helps,

			best regards, Massimo

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._