Skip to content

Repar function #14

Description

@cispy

anyone remember what this function do...I remember using it for something on another function, but I can't seem to find that function anymore.

repar = function(param)
{
p = exp(param[1])/(1+exp(param[1]))
q = (1-p) * exp(param[2])/(1+exp(param[2]))
r = 1 - p - q
c(p,q,r)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions