[R] Little problem with robustbase::covOKG() [?]
R. Michael Weylandt <michael.weylandt@gmail.com>
michael.weylandt at gmail.com
Thu Aug 18 13:22:42 CEST 2011
I have no idea what covOGK is or does, but quickly skimming the code, one can see there is no beta parameter anywhere in it. (In fact, only two lines have a "b" at all; both in substitute().) The error message should have made this clear to you.
Try args(covOGK) to see what parameters you are allowed to change. Maybe one of them is equivalent to beta after some transformation.
Hope this helps,
Michael Weylandt
On Aug 18, 2011, at 5:34 AM, kv <kaveh.vakili at ulb.ac.be> wrote:
> dear all,
>
> assume you type:
>
> covOGK(x,sigmamu=s_Qn,beta=h)
>
> you get:
> Error in Qn(x, ...) : unused argument(s) (beta = 0.552325581395349)
>
> i wanted to set the \beta in OGK to a different value--
>
> Is it normal?
>
> Best,
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Little-problem-with-robustbase-covOKG-tp3752169p3752169.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
More information about the R-help
mailing list