import_slim_model: Import a SLiM model from an Eidos script.

View source: R/slimmr_user_import_slim_model.R

import_slim_modelR Documentation

Import a SLiM model from an Eidos script.

Description

This function import a .slim script file and converts it to a slimmr EidosModel object. This object can be manipulated and run with the various functions of slimmr.

Usage

import_slim_model(script_path, name = script_path)

Arguments

script_path

Path to .slim script.

name

A name for the model (defaults to script_path)

Value

An EidosModel object.


ErikSRoeed/slimmr documentation built on Nov. 9, 2024, 7 a.m.