[Genabel-commits] r2000 - pkg/GenABEL/R

Yurii Aulchenko yurii.aulchenko at gmail.com
Wed Jul 8 17:50:35 CEST 2015


Hi nd_0001! (Yakov?)

“no/one measurement” as diagnostic comment may be confusing for the user; and then you say “number of points is too small”, apparently also relating to the npt

Looking in the documentation, I assume that npt is length of 

data: Input vector of Chi square statistic

so why not calling it the way people know form the doc? e.g.

“input vector ‘data’ has zero-length” and so on?

Yurii

> On 08 Jul 2015, at 17:44, noreply at r-forge.r-project.org wrote:
> 
> Author: nd_0001
> Date: 2015-07-08 17:44:48 +0200 (Wed, 08 Jul 2015)
> New Revision: 2000
> 
> Modified:
>   pkg/GenABEL/R/VIFGC_ovdom.R
> Log:
> Minor changes in GC functions, need to rewrite. Also catched 2000th revision=)
> 
> Modified: pkg/GenABEL/R/VIFGC_ovdom.R
> ===================================================================
> --- pkg/GenABEL/R/VIFGC_ovdom.R	2015-07-08 07:36:58 UTC (rev 1999)
> +++ pkg/GenABEL/R/VIFGC_ovdom.R	2015-07-08 15:44:48 UTC (rev 2000)
> @@ -136,8 +136,9 @@
>     if (ntp < 1) 
>         stop("no valid measurments")
>     if (ntp == 1) {
> -        warning(paste("One measurment, Lambda = 1 returned"))
> -        return(list(estimate = 1, se = 999.99))
> +        stop("Only one measurment. Stoped.")
> +        #warning(paste("One measurment, Lambda = 1 returned"))
> +        #return(list(estimate = 1, se = 999.99))
>     }
>     if (ntp < 10) 
>         warning(paste("number of points is too small:", ntp))
> 
> _______________________________________________
> Genabel-commits mailing list
> Genabel-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-commits



More information about the Genabel-commits mailing list