BDEsize package

Hi. I am new to R, switching from Stata, please understand if I ask a dumb question.
I am trying to calculate sample size for a full factorial experimental design. I have used the following command after having installed and library-ed BDEsize package. But it does not return anything. I mean I was expecting it return an info on the suggested sample size...

A<-Size.Full(factor=2, factor.lev=c(2,3),order=2,
delta_type=1, delta=c(1,0,1), alpha=0.05, beta=0.2)

Thanks a million in advance for your help.

a clarification: the command runs without an error, but it does not return a result. Is there perhaps anything I have to add following this commant? Thank you

1 Like

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.

Bingo! You've described the reason that you aren't seeing anything, so a reprex and data aren't needed.

A <- head(mtcars,1)
# NOTHING TO SEE

A
#>           mpg cyl disp  hp drat   wt  qsec vs am gear carb
#> Mazda RX4  21   6  160 110  3.9 2.62 16.46  0  1    4    4
# VISIBILITY
# ANOTHER WAY

(A <- head(mtcars,1))
#>           mpg cyl disp  hp drat   wt  qsec vs am gear carb
#> Mazda RX4  21   6  160 110  3.9 2.62 16.46  0  1    4    4

Created on 2020-04-04 by the reprex package (v0.3.0)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.