openoffice-basic

two-way ANCOVA: Analysis of Covariance in LibreOffice Calc

旧街凉风 提交于 2021-01-28 22:10:03
问题 Following this feature request, I want to know if/how I can have a macro to provide a simple GUI to do two-way ANCOVA (Analysis of Covariance) in Open/LibreOffice Calc. There is already an ANOVA tool in Calc, which does not comply with my understanding of the method (refrence): categorical dependent variable(s) and quantitative response as it seems to only accept continuous variables! So it is kind of an ANCOVA which only accepts covariants? I'm not really sure (example). Searching the

grouping a column of categorical variable into a set of unique values

一曲冷凌霜 提交于 2020-03-25 19:13:18
问题 Following this question, I want to know how I can specify a column/row of a specific sheet including a categorical variable, in Open/LibreOffice BASIC script/macro and get the unique list (i.e., set) of the values. For example, consider the below dataset: A, B, C 1. gender, age, height 2. man, 34, 180 3. woman, 23, 155 4. man, 54, 165 5. other, 37, 172 6. woman, 19, 169 Now I want to specify the column tag A or header gender in Sheet1 and get the unique values stored in an array woman, man,

How do I check for broken internal links in Star Basic?

穿精又带淫゛_ 提交于 2019-12-10 14:42:52
问题 I am creating a Basic macro for LibreOffice Writer to check for broken internal links. In a nutshell: generate a list of all anchors loop through the document, finding internal hyperlinks if the internal hyperlink is not on the anchor list, open it for editing (and stop) My code has a few unsolved issues: (within fnBuildAnchorList ) How do we get the numbering for each heading? For example, if the first level 1 heading text is “Introduction”, the correct anchor is #1.Introduction|outline and