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
I tried to run the example in the vignette, it gives me the error
library(trac) names(sCD14) set.seed(123) ntot <- length(sCD14$y) n <- round(2/3 * ntot) tr <- sample(ntot, n) log_pseudo <- function(x, pseudo_count = 1) log(x + pseudo_count) ytr <- sCD14$y[tr] yte <- sCD14$y[-tr] ztr <- log_pseudo(sCD14$x[tr, ]) zte <- log_pseudo(sCD14$x[-tr, ]) fit <- trac(ztr, ytr, A = sCD14$A, min_frac = 1e-2, nlam = 30)
Error in diag(1/w[[iw]]) %*% delta : non-conformable arguments
The text was updated successfully, but these errors were encountered:
Thanks @YushuShi for pointing this out. We believe we've resolved this issue in commit 392a209. Please let us know if this still doesn't work for you.
Sorry, something went wrong.
No branches or pull requests
I tried to run the example in the vignette, it gives me the error
library(trac)
names(sCD14)
set.seed(123)
ntot <- length(sCD14$y)
n <- round(2/3 * ntot)
tr <- sample(ntot, n)
log_pseudo <- function(x, pseudo_count = 1) log(x + pseudo_count)
ytr <- sCD14$y[tr]
yte <- sCD14$y[-tr]
ztr <- log_pseudo(sCD14$x[tr, ])
zte <- log_pseudo(sCD14$x[-tr, ])
fit <- trac(ztr, ytr, A = sCD14$A, min_frac = 1e-2, nlam = 30)
Error in diag(1/w[[iw]]) %*% delta : non-conformable arguments
The text was updated successfully, but these errors were encountered: