knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

causnet

The goal of causnet is to ...

Installation

You can install the development version from GitHub with:

require("devtools")
install_github("USCbiostats/v")

~You can install the released version of causnet from CRAN with:~

install.packages("causnet")

Example

library(CausalNets)

# simulate data
set.seed(1234)
mydata = simdat(300,5,1)
# run Causnet
links.s = sfun(mydata, alpha = 0.5, surdata=NULL, scoreFn = "bic", pheno = FALSE, alpha1 = 0.01, alpha2 = 0.01, pp = NULL)



netplot_jm(links.s)


nandsh11/CausalNets documentation built on March 20, 2022, 5:24 a.m.