[R] Isotonic Regression

Jim Lemon drjimlemon at gmail.com
Sun Nov 29 04:42:27 CET 2015


Hi Hamed,
I guess the first thing to do is to find out what "test.df" is:

is.data.frame(test.df)
dim(test.df)

If these come up FALSE or NULL respectively, you are not passing the
correct data argument to the boot function.

Jim


On Sun, Nov 29, 2015 at 5:04 AM, Hamed Nofal <hamednofal85 at gmail.com> wrote:

> Dear Sir
> I am new to R.statistics. I am an Anaesthetist using the version Ri 386
> 3.2.2
> I have tested the patients' response sequence for a dose sequence, and I
> need to calculate an estimate of the minimum dose that gives a certain
> effect on a certain percentage of the patients' number.
>  I am using the Canty Bootstrap package and the  functions:
> preparePava.R  (last updated 16-Dec.2012)
> bootIsotonicResample.R (last updated 17-Dec.2012)
> bootIsotonicReggresion.R (last updated 17-Dec.2012)
> bootBC.ci.R                   (last updated 28-Dec.2011)
>
> Unfortunately, I always get the error messages
> Error in is.data.frame(x) : argument "x" is missing, with no default
> Error: object 'test.boot' not found
>
> after using the boot package:
>
> test.boot <- boot(data=test.df,statistic=bootIsotonicRegression,
> R=9999,sim='parametric',ran.gen=bootIsotonicResample,
> mle = list(baselinePava=testPava.df,firstDose=10,PROBABILITY.GAMMA=0.5),
> baselinePava=testPava.df,PROBABILITY.GAMMA=0.5)
>
> Searching all the program for "is.data.frame(x)", returns with nothing
>
> May you kindly help me
> thank you and best regards
>
> Hamed
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list