Skip to content

Commit

Permalink
Add model.matrix to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vankesteren committed Aug 21, 2023
1 parent f7d6fda commit d047147
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export(torch_vech)
import(lavaan)
import(torch)
importFrom(R6,R6Class)
importFrom(stats,model.matrix)
2 changes: 2 additions & 0 deletions R/prepare_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#'
#' @return Torch tensor of scaled and processed data
#'
#' @importFrom stats model.matrix
#'
#' @seealso [torch::torch_tensor()], [stats::model.matrix()]
#'
#' @export
Expand Down
4 changes: 3 additions & 1 deletion man/torch_sem.Rd

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

0 comments on commit d047147

Please sign in to comment.