We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that in the summary method any NCT call that did not specify binary.data leads to a header stating the network is Gaussian:
binary.data
NetworkComparisonTest/R/s3Methods.R
Lines 35 to 39 in 4dc74c7
This will lead to unexpected behavior when using the package in combination with bootnet:
# Load data: library("psychonetrics") data("Jonas") # Make binary: JonasBinary <- Jonas[,1:10] JonasBinary[JonasBinary==-1] <- 0 # Make groups: Jonas1 <- JonasBinary[Jonas$familiar == "I know Jonas (very) well!",] Jonas2 <- JonasBinary[Jonas$familiar != "I know Jonas (very) well!",] # Fit bootnet: library("bootnet") net1 <- estimateNetwork(Jonas1, default = "IsingFit") net2 <- estimateNetwork(Jonas2, default = "IsingFit") # Run NCT: library("NetworkComparisonTest") nct <- NCT(net1, net2) # Print summary: summary(nct)
States GAUSSIAN NETWORK COMPARISON even though the networks are Ising models. I'd just remove the data type in this header.
GAUSSIAN NETWORK COMPARISON
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that in the summary method any NCT call that did not specify
binary.data
leads to a header stating the network is Gaussian:NetworkComparisonTest/R/s3Methods.R
Lines 35 to 39 in 4dc74c7
This will lead to unexpected behavior when using the package in combination with bootnet:
States
GAUSSIAN NETWORK COMPARISON
even though the networks are Ising models. I'd just remove the data type in this header.The text was updated successfully, but these errors were encountered: