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

posted by Helmut Homepage – Vienna, Austria, 2021-12-02 17:30 (175 d 22:34 ago) – Posting: # 22686
Views: 1,649

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
22,108 posts in 4,630 threads, 1,567 registered users;
online 6 (0 registered, 6 guests [including 6 identified bots]).
Forum time: Friday 17:04 CEST (Europe/Vienna)

We absolutely must leave room for doubt
or there is no progress and no learning.
There is no learning without having to pose a question.
And a question requires doubt.
People search for certainty.
But there is no certainty.    Richard Feynman

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