Learn R Programming

htetree (version 0.1.20)

formatg: Intermediate function for causalTree

Description

Intermediate function for causalTree

Usage

formatg(x, digits = getOption("digits"), format = paste0("%.", digits, "g"))

Value

No return value, called for formatting the exported estimates

Arguments

x

input training data

digits

number of digits to be kept

format

format of exported vector