Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

summarySE returning error messages #41

Open
mprimbs opened this issue Aug 21, 2020 · 0 comments
Open

summarySE returning error messages #41

mprimbs opened this issue Aug 21, 2020 · 0 comments

Comments

@mprimbs
Copy link

mprimbs commented Aug 21, 2020

Dear Team,

I tried to use your package on my own data, however summarySE returns the following error:
summarySE(data = df, measurevar = df$latency, groupvars = df$Group) #code I used

Error in .subset2(x, i, exact = exact) : #the error
recursive indexing failed at level 2

$latency is a numeric variable with no missing values, $group is a factor with three levels.

Do you have any ideas where that error could come from?

Best,

Max

Please find a datasample below:
> dput(df[1:200,]) structure(list(X = 1:200, participant = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), latency = c(0.960098696, 6.334351009, 1.39179536, 0.841673142, 1.675061081, 1.658431585, 1.458457329, 2.241911558, 1.191686556, 2.591982676, 1.791839304, 0.924987911, 3.058850325, 1.1583546, 0.891616007, 0.875000659, 1.191856615, 0.824967354, 1.42510429, 0.691574893, 1.102011336, 2.725306059, 0.691741069, 0.891612955, 1.825160717, 1.101928387, 1.141847169, 1.491739071, 1.102039356, 0.924991795, 1.508425717, 1.591802351, 0.891627936, 0.825082484, 1.102043517, 1.925172119, 1.101997465, 1.141728155, 0.841649561, 0.858320949, 0.641626202, 0.958340951, 1.125011825, 0.975032313, 1.475141478, 1.441746271, 2.541970178, 2.69199602, 2.591993218, 3.492112759, 0.891657066, 1.101985258, 1.102108434, 1.558537809, 0.808316496, 1.875169054, 0.841759975, 1.508476763, 1.541738808, 0.841595741, 1.101998297, 1.274994389, 0.941690925, 1.491867518, 0.858292652, 2.241910171, 1.141680438, 1.375083747, 1.101917013, 0.641546027, 1.102061827, 0.858312626, 1.208560738, 2.10867917, 3.542164096, 1.15837291, 1.608381357, 1.325054049, 1.225171925, 1.208426744, 2.275233527, 1.241708486, 1.102107879, 2.458607969, 1.691886438, 3.767281924, 1.102027426, 1.541785692, 1.101944477, 4.550688436, 1.158386781, 2.075218213, 1.325091501, 1.625211708, 0.841656774, 0.958333183, 1.102049343, 0.825117994, 1.758627195, 0.975114152, 0.941756119, 0.858252148, 1.101996633, 1.791817942, 1.10198831, 0.741762167, 0.92505477, 1.791876201, 3.058693859, 1.102018549, 1.458378819, 1.54186337, 1.208413982, 1.641769629, 1.441878601, 3.558831322, 1.291858862, 1.141766717, 1.241858016, 1.725183161, 3.208751882, 1.341684933, 1.125178556, 0.791644276, 3.308781316, 1.275049596, 2.008731575, 3.850513744, 3.742129473, 4.134036357, 1.101963065, 3.458804384, 3.833833756, 1.775142394, 1.708453515, 0.624983389, 0.858307078, 0.791663696, 1.441735729, 3.358787988, 1.102092066, 1.341742914, 1.708633284, 1.808515962, 0.841654832, 1.991867934, 1.225080376, 1.475076284, 0.858309852, 0.858388085, 1.175052065, 0.79166869, 1.308392648, 1.102056833, 3.342111885, 2.225207158, 1.608472352, 1.191848015, 1.101982484, 1.108453071, 0.958475223, 1.101981929, 1.841847363, 1.808465472, 2.375262129, 0.741687263, 0.925176836, 1.125000451, 1.275069016, 1.491777633, 1.191844686, 2.642029019, 0.641583479, 0.675082165, 0.958481049, 1.35924490217, 1.90861336524, 1.17521269238, 1.20838180124, 1.10202714906, 1.17521130527, 1.94200163734, 0.924972375722, 1.9252212231, 1.20841592412, 1.10192145134, 1.17519743418, 1.12500267019, 1.10198941969, 1.80849376869, 2.47527020193, 1.6085228425, 2.57527799748, 0.875075285349, 1.10193670954, 1.49179261387, 0.89179660874, 1.47520639491, 1.72512906357, 2.37526712254), Group = structure(c(3L, 1L, 1L, 2L, 2L, 3L, 3L, 1L, 1L, 1L, 2L, 3L, 2L, 3L, 3L, 2L, 2L, 1L, 2L, 3L, 1L, 1L, 1L, 2L, 3L, 1L, 2L, 2L, 1L, 2L, 1L, 1L, 1L, 2L, 3L, 3L, 3L, 2L, 2L, 1L, 3L, 2L, 3L, 1L, 2L, 2L, 3L, 2L, 2L, 3L, 1L, 1L, 2L, 3L, 1L, 1L, 3L, 1L, 1L, 1L, 1L, 1L, 3L, 2L, 1L, 3L, 2L, 1L, 2L, 2L, 1L, 3L, 2L, 3L, 3L, 1L, 1L, 1L, 2L, 2L, 3L, 1L, 3L, 3L, 2L, 3L, 1L, 1L, 3L, 1L, 3L, 2L, 1L, 3L, 2L, 1L, 1L, 1L, 3L, 2L, 2L, 3L, 1L, 2L, 2L, 1L, 2L, 3L, 2L, 1L, 2L, 2L, 2L, 2L, 1L, 3L, 3L, 2L, 2L, 1L, 2L, 2L, 3L, 2L, 3L, 3L, 2L, 3L, 3L, 2L, 2L, 3L, 1L, 1L, 2L, 1L, 2L, 3L, 1L, 2L, 1L, 3L, 3L, 3L, 1L, 1L, 2L, 3L, 3L, 3L, 2L, 3L, 3L, 1L, 1L, 3L, 3L, 1L, 2L, 3L, 2L, 1L, 3L, 2L, 2L, 1L, 1L, 3L, 2L, 3L, 3L, 2L, 1L, 1L, 1L, 1L, 3L, 2L, 2L, 3L, 2L, 1L, 1L, 1L, 3L, 3L, 2L, 1L, 3L, 1L, 1L, 2L, 3L, 1L, 3L, 1L, 1L, 2L, 3L, 3L), .Label = c("1", "2", "3"), class = "factor")), row.names = c(NA, 200L), class = "data.frame")

@mprimbs mprimbs changed the title summarySE returning summarySE returning error messahges Aug 21, 2020
@mprimbs mprimbs changed the title summarySE returning error messahges summarySE returning error messages Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant