Re: [R] Null

From: Thomas Levine <thomas.levine_at_gmail.com>
Date: Thu, 05 May 2011 12:32:42 -0400

Maybe you were doing something like

fcv <- read.csv('fcv.csv')

instead of

fcv <- read.csv('fcv.csv')[1]

(I haven't tested this.)

Tom

On Thu, May 5, 2011 at 8:48 AM, pcc <polly__c_at_hotmail.com> wrote:
>
> This is probably a very simple question but I am completely stumped!I am
> trying to do shapiro.wilk(x) test on a relatively small dataset(75) and each
> time my variable and keeps coming out as 'NULL', and
>
> > shapiro.test(fcv)
> Error in complete.cases(x) : no input has determined the number of cases
>
> my text file looks like this:
>
> case
> 1.600972896
> 1.534026106
> 1.633468456
> 1.69019608
> 1.686636269
> 1.713490543
> 1.460897843
> 1.604226053
> 1.547774705
> 1.575187845
> 1.50242712
> 1.489958479
> 1.555094449
> 1.56937391
> 1.46686762
> 1.583198774
> 1.59439255
> 1.627365857
> 1.596597096
> 1.598790507
> 1.596597096
> 1.613841822
> 1.607455023
> 1.586587305
> 1.72427587
> 1.668385917
> 1.743509765
> 1.5774918
> 1.709269961
> 1.507855872
> 1.650307523
> 1.670245853
> 1.721810615
> 1.613841822
> 1.586587305
> 1.658011397
> 1.595496222
> 1.662757832
> 1.521138084
> 1.564666064
> 1.515873844
> 1.596597096
> 1.617000341
> 1.621176282
> 1.598790507
> 1.73479983
> 1.498310554
> 1.571708832
> 1.426511261
> 1.698970004
> 1.534026106
> 1.5774918
> 1.682145076
> 1.689308859
> 1.654176542
> 1.526339277
> 1.545307116
> 1.658964843
> 1.638489257
> 1.557507202
> 1.604226053
> 1.627365857
> 1.651278014
> 1.627365857
> 1.559906625
> 1.720159303
> 1.64738297
> 1.62324929
> 1.698970004
> 1.704150517
> 1.57863921
> 1.558708571
> 1.681241237
> 1.539076099
> 1.5132176
>
> Any ideas?
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Null-tp3498261p3498261.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_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.



R-help_at_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. Received on Thu 05 May 2011 - 16:35:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 17:00:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive