bvp: Read a Rmodel query

bvpR Documentation

Read a Rmodel query

Description

read vectors to calculate bivariate poisson possibility and returns a vector.

Usage

bvp(x, y = NULL, lambda = c(1, 1, 1), log = FALSE)

Arguments

filename

Relative filepath to the current working directory. This must be (*.zip) or it will throw an error.

Details

This function read 1 to 2 vectors and then calculate bivariate poisson possibility and returns a vector.

Value

A tibble from the inputted *.RData file.

See Also

https://www.github.com/englianhu/Rmodel for calculate the possibility of bivariate poisson model.

Other Rmodel functions: compileIndex2(), compileIndex()

Examples

# this will stop
## Not run:  bvp(FTHG~1, FTAG~1, lambda = c(lmb1, lmb2, lmb3)) 
#returns data as vector
 #setwd(system.file("data", package = "Rmodel"))
 #getwd()
 ## Not run:  bvp(FTHG~1, FTAG~1, lambda = c(lmb1, lmb2, lmb3)) 

englianhu/Rmodel documentation built on March 20, 2024, 4:40 p.m.