tab: Bang thong ke bien dinh tinh va dinh luong co phan tang theo...

Description Usage Arguments Author(s) See Also Examples

View source: R/tab.R

Description

tab.formula tab.tab tab.vector tab.data.frame Bang thong ke bien dinh tinh va dinh luong hoac Bang thong ke bien dinh tinh va dinh luong co phan tang theo bien phan loai

Usage

1
2
tab.formula(formula,data=.data,continuous=5,long=T, exclude1=F,
      pctdig=0,digits,overall =NULL,test=NULL)

Arguments

formula

Bien so can thuc hien thong ke mo ta hay mo ta phan tang

data

So lieu can thuc hien thong ke

test

Co thuc hien kiem dinh hay khong, mac dich la F neu thong ke mo ta va T neu thong ke phan tich

overall

Co thuc hien thong ke cua tong so hay khong , mac dich la F neu thong ke mo ta va T neu thong ke phan tich

continuous

Duoc goi la bien lien tuc khi tong so cac gia tri lon hon

long

Co tach roi nhan cua bien so ra khoi gia tri cua bien

exclude1

Neu la bien nhi gia co bo gia tri thu nhat hay khong

pctdig

So so le thap phan cua so phan tram

digits

So chu so co nghia, gia tri mac dinh lay tu getOption("digits")

Author(s)

Do Van Dung <dovandzung@gmail.com>

See Also

Xem them tab1, ~~~

Examples

1
2
3
4
5
6
data(miso)
tab.formula(~nhanhct+tuoi+hemoglobin+kcsinh+tienthai+khamthai+bhss+maumat,data=miso)
tab.formula(nhanhct~tuoi+hemoglobin+kcsinh+tienthai+khamthai+bhss+maumat,data=miso)
tab.formula(nhanhct~tuoi+hemoglobin+kcsinh,data=miso,digits=3)
options(digits=2)
tab.formula(nhanhct~tuoi+hemoglobin+kcsinh,data=miso)

gvdovandzung/thongke documentation built on May 23, 2020, 12:35 a.m.