Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

df_xtab_matrix

Cross-tabulates columns of a dataframe into a matrix with NAs for unspecified pairs


Description

Cross-tabulates columns of a dataframe into a matrix with NAs for unspecified pairs

Usage

df_xtab_matrix(model, df, rows, columns)

Arguments

model

A formula indicating relevant columns from data frame

df

A data.frame of columns to cross-tabulate

rows

A vector of row names for the matrix to sort by

columns

A vector of column names for the matrix to sort by

Value

A cross-tabulated matrix matrix with NAs for unspecified pairs.


seminr

Building and Estimating Structural Equation Models

v2.0.2
GPL-3
Authors
Soumya Ray [aut, ths], Nicholas Patrick Danks [aut, cre], André Calero Valdez [aut], Juan Manuel Velasquez Estrada [ctb], James Uanhoro [ctb], Johannes Nakayama [ctb], Lilian Koyan [ctb], Laura Burbach [ctb], Arturo Heynar Cano Bejar [ctb], Susanne Adler [ctb]
Initial release
2021-04-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.