Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docstring for surv syntax #62

Open
jburos opened this issue Feb 28, 2017 · 0 comments
Open

add docstring for surv syntax #62

jburos opened this issue Feb 28, 2017 · 0 comments

Comments

@jburos
Copy link
Member

jburos commented Feb 28, 2017

This is related to PR #60 , which implements surv() syntax to be used in the LHS of the patsy formula for a survival model.

Currently the surv function is a stateful transform generated by patsy.stateful_transform().

It would be nice to add a docstring to this function so that a user can type ?survivalstan.formulas.surv to be reminded of the syntax.

Hopefully this can be done by setting surv.__doc__, but I don't know if this will be supported.

@jburos jburos self-assigned this Feb 28, 2017
@jburos jburos modified the milestone: v0.1.3 release Mar 9, 2017
@jburos jburos removed their assignment Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant