R-Code for Power in 2×2 Cross-over [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2021-12-02 18:30 (1103 d 08:40 ago) – Posting: # 22686
Views: 8,599

Hi ElMaestro,

  y[i]= sampleN.TOST(CV=CV, targetpower=tpow, theta0=x[i], print=FALSE)[1,7]


A suggestion.

❝ PS: Correct, I am not entirely comfy with the tapply, sapply, apply family of functions.


You are not alone. To complicate things, in PowerTOST many functions are not or only partly vectorized. See the script in this article for a remedy (click on Code to show it).

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,335 posts in 4,901 threads, 1,665 registered users;
32 visitors (0 registered, 32 guests [including 9 identified bots]).
Forum time: 03:10 CET (Europe/Vienna)

Every man is fully satisfied that there is such a thing as truth,
or he would not ask any question.    Charles Sanders Peirce

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5