R version 2.11.1 (2010-05-31) Copyright (C) 2010 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. > y <- c() > x <- c(4.8,5.4,6,6,4,6,4.2,4.2,4.2,4,4.6,5.666666667,3.8,4.8,4.2,4,5.4,4.6,4,4.4,5,5.4,5.2,4.4,4,3.4,4.4,4,4.4,4.4,4,4.8,4,4,5,4,3.4,4,5.4,4.2,4,5.6,4.8,4.4,4.6,4,5.2,4.8,4.6,4,4.2,4.6,4.4,5,5,4,3.8,5.2,4.2,4.4,4.2,6,4.8,4,4.4,4,4.8,4.8,5.6,6,4,4.2,5,4.4,4.2,4.6,4.4,4,4,4,4.2,4,5,4.2,5.4,4,6,3.8,5,4.4,5,4.4,5,4.2,4.6,5) > par2 = 'less' > par1 = 'pearson' > ylab = 'specmemmean' > xlab = 'compmemomean' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, 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: > #Technical description: > postscript(file="/var/www/rcomp/tmp/1g0aa1288543943.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x,y, xlab=xlab, ylab=ylab) > abline(coef=(lm(y ~ x))$coeff, col='red') Error in model.frame.default(formula = y ~ x, drop.unused.levels = TRUE) : invalid type (NULL) for variable 'y' Calls: abline ... lm -> eval -> eval -> model.frame -> model.frame.default Execution halted