as.matrix_or_vec: convert one column data frame to a vector

Description Usage Arguments Details Value

View source: R/utils.R

Description

convert one column data frame to a vector

Usage

1

Arguments

x

an one-column data.frame

Details

WinBUGS/JAGS cannot accept a dataframe with one column; This function converts it to a vector, which WinBUGS/JAGS will allow.

Value

a vector


oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.