ez icon indicating copy to clipboard operation
ez copied to clipboard

New warning message in ezANOVA in R 3.1

Open mike-lawrence opened this issue 10 years ago • 1 comments

exp12_means9Sbj <- structure(list(PPT = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 
2L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 
6L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L, 9L, 9L, 9L, 9L, 1L, 1L, 1L, 
1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 
4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L, 6L, 
6L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L, 8L, 8L, 9L, 9L, 9L, 
9L, 9L, 9L), .Label = c("AA", "AH", "CC", "DL", "EA", "JH", "LS", 
"MG", "RM"), class = "factor"), CoilPosition = structure(c(1L, 
1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 
1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L, 
1L, 2L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 
2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 
2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 
2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L), .Label = c("Contra", "Ipsi"
), class = "factor"), Orientation = structure(c(1L, 2L, 1L, 2L, 
1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 
1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 
3L, 3L, 4L, 4L, 5L, 5L, 3L, 3L, 4L, 4L, 5L, 5L, 3L, 3L, 4L, 4L, 
5L, 5L, 3L, 3L, 4L, 4L, 5L, 5L, 3L, 3L, 4L, 4L, 5L, 5L, 3L, 3L, 
4L, 4L, 5L, 5L, 3L, 3L, 4L, 4L, 5L, 5L, 3L, 3L, 4L, 4L, 5L, 5L, 
3L, 3L, 4L, 4L, 5L, 5L), .Label = c("45deg@80", "45deg@90", "10deg", 
"20deg", "4deg"), class = "factor"), Th = c(0.123837849451641, 
0.0951711383238817, 0.141390830854178, 0.135251623554681, 0.0462693932542765, 
0.0498402060794507, 0.0525232391501225, 0.0501597146188896, 0.055918251281425, 
0.0488576042880301, 0.0551864090590603, 0.0567089651409474, 0.0425250420368534, 
0.0501895029801727, 0.050620250989904, 0.048987450019193, 0.056870092598489, 
0.0464429886956405, 0.0552429262080179, 0.0589397349058926, 0.0576979024060243, 
0.0566149862257601, 0.0618751125500604, 0.0652989328624252, 0.0458430768018492, 
0.0456318181255898, 0.052772299712625, 0.0547076275576318, 0.0543367977622174, 
0.0538553278673687, 0.0603156295734879, 0.0526658016722579, 0.0375279829606442, 
0.0403053964451006, 0.0413896556655909, 0.0413192112778256, 0.131955273447652, 
0.128203441950999, 0.0747756629094796, 0.0752535070990051, 0.426116415147227, 
0.337675791896707, 0.13978680705424, 0.0727943154131308, 0.0744839692953581, 
0.0729228507476564, 0.241957661932028, 0.171861901961381, 0.0594282228112654, 
0.0726164351317216, 0.061654757597131, 0.066374084662454, 0.105105627135838, 
0.127527557519883, 0.0488243355145935, 0.0515126302009079, 0.0431525762934079, 
0.0489173746741249, 0.0712289109993099, 0.0778742326618987, 0.070128080511931, 
0.0702060255383199, 0.0621157058404012, 0.0499642543449344, 0.141136681892538, 
0.114137308250635, 0.0727899618351275, 0.0731244227096811, 0.0610730599915372, 
0.0725619707044547, 0.126321983841299, 0.115043155423401, 0.192745337821685, 
0.138210596571399, 0.0673508627126794, 0.0810683421395521, 0.48372739496579, 
0.437930099003862, 0.0645827874129644, 0.0626528656023024, 0.0549152614477922, 
0.0542647879650595, 0.0945668211456229, 0.17300328889684, 0.0444407412065497, 
0.0548378608494374, 0.0421903317528282, 0.0461435891494082, 0.0912491885119999, 
0.222691437093041), Sensitivity = c(8.2917076242616, 10.6140879912101, 
7.83193237947166, 8.27985152377049, 21.7795614026447, 20.2402839354837, 
19.36311663575, 19.9907775067487, 18.6213693983862, 21.0987786999981, 
18.7030337761016, 18.231957860639, 23.6429339822887, 20.51508338559, 
20.6394879845846, 20.5998603701177, 18.0630379978461, 21.7777282053676, 
18.1955996273589, 17.0243138991316, 17.3543390304356, 17.7268632786033, 
16.2026399791604, 15.444191315768, 21.9027764169755, 22.0525105865289, 
19.087650170067, 18.6352266038108, 19.0181273502265, 19.159675898747, 
17.1748805567181, 19.1805096591277, 27.0451847473154, 24.8818745299386, 
24.733549808784, 24.4176286780866, 7.80075014852043, 8.02936597911789, 
13.9315213828734, 13.4180239066613, 2.66835512292233, 4.24993495898722, 
7.28652308699983, 13.9448123675189, 13.6972864615696, 14.4683085761339, 
4.83881868897072, 6.40854555600022, 17.5416086171802, 15.153264719978, 
17.5877990781296, 17.3956279475329, 9.58653185991942, 8.24700770528016, 
20.7082069711222, 19.5039430505193, 23.8874751176732, 20.4575932799475, 
14.503378758602, 12.9942293077533, 14.7694421895134, 14.3985959860396, 
16.1320566445236, 20.5630440194679, 7.17121511386765, 8.9873914393315, 
14.0147286216132, 13.6892477678723, 16.5400840512016, 14.3703178801556, 
8.07996939540141, 9.01647236598212, 7.05561752234355, 8.16794608007667, 
15.1154801095556, 13.0056621875031, 2.14894549020147, 2.73118307759711, 
15.5619920986595, 16.3804649865867, 18.4243232035216, 18.8160897514874, 
11.2196866169401, 10.2203945363367, 22.7606351709489, 19.1111285276293, 
23.7990136053809, 21.6911974897641, 13.0585614250137, 7.99625001339114
)), .Names = c("PPT", "CoilPosition", "Orientation", "Th", "Sensitivity"
), row.names = c("4", "5", "6", "7", "20", "21", "22", "23", 
"28", "29", "30", "31", "36", "37", "38", "39", "44", "45", "46", 
"47", "52", "53", "54", "55", "60", "61", "62", "63", "68", "69", 
"70", "71", "76", "77", "78", "79", "1", "2", "42", "51", "72", 
"8", "10", "11", "131", "141", "16", "17", "19", "201", "221", 
"231", "25", "26", "281", "291", "311", "32", "34", "35", "371", 
"381", "40", "41", "43", "441", "461", "471", "49", "50", "521", 
"531", "551", "56", "58", "59", "611", "621", "64", "65", "67", 
"681", "701", "711", "73", "74", "761", "771", "791", "80"), class = "data.frame")

ezANOVA(data=exp12_means9Sbj, wid=.(PPT), dv=.(Sensitivity), within=.(Orientation, CoilPosition))

Warning message:
In `$.data.frame`(table2, GG) : Name partially matched in data frame

mike-lawrence avatar May 06 '14 14:05 mike-lawrence

Not sure if additional reports are helpful, since it seems to be a warning generated by a dependency, not a numerical issue, but FYI it happens for me too:

dprimes <- structure(list(cond = structure(c(2L, 3L, 1L, 2L, 3L, 1L, 2L, 
3L, 1L, 2L, 3L, 1L, 2L, 3L, 1L, 2L, 3L, 1L, 2L, 3L, 1L, 2L, 3L, 
1L), .Label = c("hi", "lo", "md"), class = "factor"), subj = structure(c(1L, 
1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L, 4L, 4L, 4L, 5L, 5L, 5L, 6L, 6L, 
6L, 7L, 7L, 7L, 8L, 8L, 8L), .Label = c("A", "B", "C", "D", "E", 
"F", "G", "H"), class = "factor"), value = c(1.36602174628095, 
2.34997358413218, 2.45698863409226, 0.733810722767994, 1.54438642837737, 
2.11137412314972, 1.1740013619546, 2.66605115909498, 2.66605115909498, 
1.92194057438787, 2.05374477973329, 2.52144770974633, 1.35291667646095, 
1.92489697093752, 2.82594212482051, 0.502901958401409, 1.25408436301432, 
2.17726477449832, 0.891774817037648, 1.49278247025636, 2.66605115909498, 
1.06633430333959, 2.0903518799089, 2.96969327943376)), .Names = c("cond", 
"subj", "value"), row.names = c(NA, -24L), class = "data.frame")

library(ez)
ez_rm_subj <- ezANOVA(data=dprimes, dv=value, wid=subj, within=cond)

# Warning message:
# In `$.data.frame`(table2, GG) : Name partially matched in data frame

drammock avatar Jun 05 '14 20:06 drammock