modelsZoo: Run models for each parameter

Description Usage Arguments Value Examples

View source: R/modelsZoo.R

Description

Run models for each parameter

Usage

1
2
3
4
5
6
7
8
modelsZoo(
  data,
  precision = 2,
  VARnames,
  effects,
  treatment = "behandeling1",
  group1 = NULL
)

Arguments

data

data.table

precision

numeric number of digits after the decimal

VARnames

character vector of variables to use from data

effects

formula for starting model

treatment

character name of treatment variable

group1

character name of second grouping variable, typically faseW

Value

table of means and sd with significance codes

Examples

1
2
groeidataLong <- makeLong(groeidata,2)
tabel <- modelsZoo(groeidataLong,VARnames = c("geinde","dgtot"),effects = "behandeling1+gbegin+(1|compartiment/ronde)")

DataZhukov/animalTrial documentation built on Dec. 17, 2021, 4:08 p.m.