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
When tabCol is single value in ncappc, nca.npde drops columns, resulting in only first record from being retained.
ncappc
nca.npde
At ~line 18, replace npde[, pdecol] with npde[, pdecol, drop = FALSE] in call to lapply.
npde[, pdecol]
npde[, pdecol, drop = FALSE]
lapply
# basic case # 0, -0.841621233572914, -0.2533471031358, # 0.2533471031358, 0.841621233572914, 0) res <- nca.npde(pdedata = data.frame(A = (0:5)/5, B = 1), pdecol = c("A", "B")) res$npdeA # [1] 0.0000000 -0.8416212 -0.2533471 0.2533471 0.8416212 0.0000000 # single column res <- nca.npde(pdedata = data.frame(ID = 1, A = (0:5)/5), pdecol = "A") res$npdeA # [1] 0 0 0 0 0 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When tabCol is single value in
ncappc
,nca.npde
drops columns, resulting in only first record from being retained.At ~line 18, replace
npde[, pdecol]
withnpde[, pdecol, drop = FALSE]
in call tolapply
.The text was updated successfully, but these errors were encountered: