alissonrp / chenreg Goto Github PK
View Code? Open in Web Editor NEWPackage in R to regression modeling the quantile of variables that have Chen distribution
License: Other
Package in R to regression modeling the quantile of variables that have Chen distribution
License: Other
construir o control
de todos os métodos
Retornar um objeto da classe `chenreg``
Instanciar as funções para a classe chenreg
O Seguinte erro está surgindo no ajuste e portando está gerando NA no cálculo dos p-valores
Warning message:
In chen_reg(df, Y ~ ., quantile = quantile) :
It was not possible to obtain the estimated standard error
Colocar mais um argumento na função summary para retornar a tabela final simplificada
The stats
function resid()
or residuals()
is used to extract residuals from objects like glm
,lm
or even coxph(Surv())
.
Reproducible example:
df = survival::leukemia
lm(data = df, time ~ status) |> resid() |> class()
# [1] "numeric"
glm(data = df, time ~ status) |> resid() |> class()
# [1] "numeric"
survival::coxph(survival::Surv(df$time, df$status)~1) |> resid() |> class()
# [1] "numeric"
chenReg::chen_reg(df, time ~ status) |> resid() |> class()
# [1] "NULL"
As you can see all others function implemented have options to adapt at the resid
function.
Note: wrong number of arguments to 'sqrt'
chen_reg
tau
argument to quantile
NA
hereFirst release:
usethis::use_cran_comments()
Title:
and Description:
@return
and @examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
git pull
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
git push
Submit to CRAN:
usethis::use_version('major')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
usethis::use_news_md()
git push
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.