Learn R Programming

pointblank (version 0.5.2)

remove_tbl: Remove a data table associated with an agent

Description

Removing an agent's association to a data table can be done with the remove_tbl() function. This may be preferable when relying on a table-reading function (settable in create_agent()'s read_fn argument or with set_read_fn()) instead of directly using a table. If interrogating again with interrogate() then there must be either an association to a table or a table-reading function available in the agent (set_read_fn() can help in this regard if the the read_fn argument in create_agent() was left as NULL when creating the agent).

Usage

remove_tbl(agent)

Arguments

agent

An agent object of class ptblank_agent that is created with create_agent().