Speed improvement [R for BE/BA]

posted by ElMaestro  – Denmark, 2020-08-08 12:25 (485 d 04:23 ago) – Posting: # 21839
Views: 9,983

I am seeing about a 30% speed improvement on my machine when using arrays of matrices. Am using lists for that purpose, that's the only way I can think of.
Further improvement may be possible, because I may only need to store principally three different matrices in these arrays (per array) an keep track of which subjects use which matrices (that would be defined by their sequences), but this, I think, for now is not a priority for me to do.

A further option is to only use one kind of matrix and then reorder all periods in the global data list, so that all subjects have e.g. R-T-R, then we'd need to work with only a single matrix type in the profiles; this may improve speed further. Will think about it...

30%...It ain't much but it's honest work. :-)

Pass or fail!
ElMaestro

Complete thread:

Activity
 Admin contact
21,788 posts in 4,557 threads, 1,548 registered users;
online 7 (1 registered, 6 guests [including 6 identified bots]).
Forum time: Monday 15:48 CET (Europe/Vienna)

The history of statistics is like a telephone directory:
the plot is boring, full of numbers and the cast is endless.    Stephen Senn

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