The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Provides Some Useful Functions for Making Statistical Tables
What is’ scitb ’?
The scitb package is currently under development. It aims to make generating statistical tables simpler for users.
The scitb package follows the GPL-3 protocol. You can freely use and modify it.
But if you use it for commercial purposes, you need the developer’s consent and authorization.
install.packages("scitb")
This is a basic example which shows you how to solve a common problem:
library(scitb)
## basic example code
## Import data
<-prematurity
bc## Hierarchical variables converted to factors.
$race<-as.factor(bc$race)
bc###Define all variables, categorical and stratified.
<-c("age", "lwt", "smoke", "ptl", "ht", "ui", "ftv", "bwt")
allVars <-c("smoke","ht","ui")
fvars<-"race"
strata<-scitb1(vars=allVars,fvars=fvars,strata=strata,data=bc)
out###Stratified variables are continuous variables.
<-c("race", "lwt", "smoke", "ptl", "ht", "ui", "ftv", "bwt")
allVars <-c("smoke","ht","ui","race")
fvars<-"age"
strata<-scitb1(vars=allVars,fvars=fvars,strata=strata,data=bc) out
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.