[R] Null
Clint Bowman
clint at ecy.wa.gov
Thu May 5 18:43:55 CEST 2011
with(fcv,shapiro.test(case))
--
Clint Bowman INTERNET: clint at ecy.wa.gov
Air Quality Modeler INTERNET: clint at math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600 FAX: (360) 407-7534
Olympia, WA 98504-7600
USPS: PO Box 47600, Olympia, WA 98504-7600
Parcels: 300 Desmond Drive, Lacey, WA 98503-1274
On Thu, 5 May 2011, Thomas Levine wrote:
> 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.
>
More information about the R-help
mailing list