I am having trouble producing a table of bootstrapped regression results with an interaction term; so the model looks like d <-lm(dependent ~ v1*v2, data=x). I get the following error
Error: Assigned data sr2_CI_boot[, c("LL")] must be compatible with existing data.
x Existing data has 2 rows.
x Assigned data has 3 rows.
i Only vectors of size 1 are recycled.
The apa.reg.boot.table works fine with either variable alone in the model, or adding the second variable as an additional coefficient (v1 +v2), but does not permit the above interaction term. I am able to conduct the bootstrap using car package 'Boot' function, but I'd like to use apaTables to report the result.
Hello,
I am having trouble producing a table of bootstrapped regression results with an interaction term; so the model looks like d <-lm(dependent ~ v1*v2, data=x). I get the following error
Error: Assigned data
sr2_CI_boot[, c("LL")]
must be compatible with existing data. x Existing data has 2 rows. x Assigned data has 3 rows. i Only vectors of size 1 are recycled.The apa.reg.boot.table works fine with either variable alone in the model, or adding the second variable as an additional coefficient (v1 +v2), but does not permit the above interaction term. I am able to conduct the bootstrap using car package 'Boot' function, but I'd like to use apaTables to report the result.