Learn R Programming

psychtm (version 2021.1.0)

Logistic-class: S4 class for a logistic regression model that inherits from '>Model

Description

S4 class for a logistic regression model that inherits from '>Model

Helper function (constructor) for Logistic class

Usage

# S4 method for Logistic
proposal_sd(x)

# S4 method for Logistic proposal_sd(x) <- value

Logistic(proposal_sd = NaN, ...)

Arguments

x

An Logistic object.

value

A value to assign to a slot for x

proposal_sd

A vector of p + 1 proposal scales/standard deviations for sampling of p + 1 regression coefficients by Metropolis-Hastings.

...

additional arguments to be passed to the low level regression fitting functions (see below).

Value

A '>Logistic object.

Slots

proposal_sd

A vector of p + 1 proposal scales/standard deviations for sampling of p + 1 regression coefficients by Metropolis-Hastings.

Examples

Run this code
# NOT RUN {
m1 <- Logistic(ndocs = 1)
print(m1)

# }

Run the code above in your browser using DataLab