# Design-based t-test

### Description

One-sample or two-sample t-test. This function is a wrapper for
`svymean`

in the one-sample case and for
`svyglm`

in the two-sample case. Degrees of freedom are
`degf(design)`

for the one-sample test and `degf(design)-1`

for the two-sample case.

### Usage

1 |

### Arguments

`formula` |
Formula, |

`design` |
survey design object |

`...` |
for methods |

### Value

Object of class `htest`

### See Also

`t.test`

### Examples

1 2 3 4 5 |