Extract_assign.stanedit.Rd
Extracts a subset of lines from the model and assigns new character strings.
# S3 method for class 'stanedit'
x[i, ...] <- value
the updated stanedit
object
model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- stanedit(filename = model_file_name)
#> Warning: file("") only supports open = "w+" and open = "w+b": using the former
PZ[3:4] <- c("const e = 0.4", "const m_l = 0.05")