Skip to content

Tukey Test, lme, error: less than two groups

2 messages · Steven McKinney, Lilith

#
Just to close this thread, Lilith provided the data which was in a .csv text file
and had multiple lines of blank data at the end

species;code;treatment;pretreatment;provenance;greenhouse;individual;leaf;Date;DataPAM
Ae;c-ae-1-1-3;C;C;1;1;3;1;25.05.10 14:00; 0.665
.
.
.
Ae;w-ae-6-3-4;C;W;6;3;4;3;23.06.10 12:30; 0.622
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;
;;;;;;;;;

Removing the blank (NA) rows of data and keeping all variables in the dataframe resolves the issue.

(Free floating variables yield this error
Error in `[.data.frame`(mf, nhypo[checknm]) : undefined columns selected)


Steven McKinney
2 days later