R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > par4 = '0,35' > par3 = '13' > par2 = '13,0209' > par1 = '98' > par4 <- '0,35' > par3 <- '13' > par2 <- '13,0209' > par1 <- '98' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > par1<-as.numeric(par1) > par2<-as.numeric(par2) Warning message: NAs introduced by coercion > par3<-as.numeric(par3) > par4<-as.numeric(par4) Warning message: NAs introduced by coercion > df <- par1 - 1 > if (par2 > par3) + { + myc <- par3 / df * qchisq(1-par4,df) + } else { + myc <- par3 / df * qchisq(par4,df) + } Error in if (par2 > par3) { : missing value where TRUE/FALSE needed Execution halted