Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 939 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 939 Bytes

tobit.mean

R-CMD-check Codecov test coverage CRAN status

The goal of tobit.mean is to calculate descriptive statistics of censored vectors.

Installation

You can install the development version of tobit.mean from GitHub with:

# install.packages("pak")
pak::pak("humanpred/tobit.mean")

Example

This is a basic example which shows you how to solve a common problem:

library(tobit.mean)
tobit.mean::mean_tobit(c(0, 1, 4, 10), lower = 0.5, distribution = "t")