> npy <- length(events1[, "obs"])/(diff(range(ardieres[, "time"],
+ na.rm = TRUE)) - diff(ardieres[c(20945, 20947), "time"])) This line is from the mannual "A user's Guide to POT Approach". I am just trying to ask why the values 20945, 20947 are used?? Regards On Fri, Oct 21, 2011 at 4:19 PM, R. Michael Weylandt < michael.weyla...@gmail.com> wrote: > Perhaps you could tell us what function you are talking about.... npy > is not part of the POT package in the version on my machine and those > letters don't seem to show up anywhere consecutively at all on my > system, according to ??npy. Similarly, this trick produces no results: > > sapply(ls("package:POT"), function(f) sum(grepl("20945",deparse(get(f))))) > > Michael > > On Fri, Oct 21, 2011 at 3:35 AM, Amina Shahzadi <aminashahz...@gmail.com> > wrote: > > Hi Sir > > > > It is requested to please tell the reason why the range of c(20945, > 209547) > > is used in this function > > > >> npy <- length(events1[, "obs"])/(diff(range(ardieres[, "time"], > > > > + na.rm = TRUE)) - diff(ardieres[c(20945, 20947), "time"])) > > Please tell logic. > > > > Looking for quick response. > > > > Regards > > > > > > -- > > *Amina Shahzadi* > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@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. > > > -- *Amina Shahzadi* [[alternative HTML version deleted]] ______________________________________________ R-help@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.