R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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. > x <- c(1,1,0,0,1,1,1,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1,0,1,1,1,1,0,0,1,1,1,0,0,0,1,1) > par2 = '50' > par1 = '0.95' > #'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# > len <- length#x# > df <- len - 1 Error in len - 1 : non-numeric argument to binary operator Execution halted