Skip to contents

get_estimator() returns the registry entry of one estimator: its function, description and directedness, as build_network() uses them. A name that is not registered raises an error that lists the registered names. Method aliases such as "tna" are not resolved here; give the registered name, as list_estimators() shows it.

Usage

get_estimator(name)

Arguments

name

The registered name of the estimator, a single string.

Value

A list with fn (the estimator function), description (a string) and directed (TRUE or FALSE).

Note

The idiographic package exports a function with the same name. With both packages attached, the one attached last masks the other; write Nestimate::get_estimator() to call this one.

Examples

est <- get_estimator("relative")