Skip to content

Commit

Permalink
Merge pull request #72 from sfcheung/devel
Browse files Browse the repository at this point in the history
Update @return of `pars_id_to_lorg()`
  • Loading branch information
sfcheung committed Feb 16, 2023
2 parents 3edf3ce + 21ace15 commit 2670ab6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions R/pars_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,14 @@ pars_id_special <- function(pars,
#' based on the ids.
#'
#' @return
#' A data-frame like object of the class `lavaan.data.frame`
#' with four columns: `lhs`, `op`, `rhs`, and `group`.
#' The number of rows is equal to number of parameters
#' selected (usually the number of elements of `pars_id`).
#' The values of the four columns are the values
#' in the parameter table of the source `lavaan` model
#' for each parameter selected by `pars_id`.
#' If `pars_source` is the output of
#' [lavaan::parameterEstimates()] or
#' [lavaan::parameterTable()], it returns a subset of
#' `pars_source`, keeping the rows of selected parameters
#' and the columns `lhs`, `op`, `rhs`, and `group`. If
#' `pars_source` is a named vector of free parameters, it
#' returns a character vector containing the names of the
#' selected parameters.
#'
#' @param pars_id A vector of integers. Usually the output
#' of [pars_id].
Expand Down
15 changes: 8 additions & 7 deletions man/pars_id_to_lorg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2670ab6

Please sign in to comment.