parse.cosmosis.parameters: Extract the parameter names from a CosmoSIS sampler output...

View source: R/data_input.R

parse.cosmosis.parametersR Documentation

Extract the parameter names from a CosmoSIS sampler output file.

Description

The format of the first line of CosmoSIS grid and MCMC sample output carries the names of the parameters that were varied in that run of CosmoSIS. This function parses that line and returns the names of the parameters.

Usage

parse.cosmosis.parameters(txt)

Arguments

txt

The text to be parsed.

Value

A character vector containing the names of the parameters read from the file.


marcpaterno/rcosmosis documentation built on June 5, 2023, 6:43 p.m.