getSpec-methods: Method getSpec

Description Usage Arguments Value Examples

Description

Get model specifications of HMB-class object

Usage

1
2
3
4
getSpec(obj)

## S4 method for signature 'HMB'
getSpec(obj)

Arguments

obj

Object of class HMB

Value

A list containing the estimated parameters, together with model arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pop_U  = sample(nrow(HMB_data), 20000)
pop_Sa = sample(pop_U, 5000)
pop_S  = sample(pop_U, 300)

y_S    = HMB_data[pop_S, "GSV"]
X_S    = HMB_data[pop_S, c("hMAX", "h80", "CRR", "pVeg")]
X_Sa   = HMB_data[pop_Sa, c("hMAX", "h80", "CRR", "pVeg")]
Z_Sa   = HMB_data[pop_Sa, c("B20", "B30", "B50")]
Z_U    = HMB_data[pop_U, c("B20", "B30", "B50")]

hmb_model = hmb(y_S, X_S, X_Sa, Z_Sa, Z_U)
getSpec(hmb_model)

HMB documentation built on July 8, 2020, 7:34 p.m.

Related to getSpec-methods in HMB...