read.gadget.parameters | R Documentation |
read.gadget.parameters
reads a gadget parameter file
This is a convenience function that allows the editing of parameter files by variable (switch) names.
read.gadget.parameters(file = "params.in") write.gadget.parameters(params, file = "params.out") init_guess( dat, pattern = "", value = 0, lower = -999, upper = 999, optimise = 0 ) wide_parameters(dat, value = NULL)
file |
a string naming the file to write to |
params |
params dataframe |
dat |
gadget parameters object |
pattern |
name of parameter, can include grep-able wildcards |
value |
data.frame update to the parameter matrix (assumes same row count) |
lower |
new lower bound |
upper |
new upper bound |
optimise |
should the parameter be optimised |
dataframe
a string containing the text of the params file (if desired)
updated data frame with the new parameter values
gadget parameters object
Bjarki Thor Elvarsson
Bjarki Þór Elvarsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.