object 'pNew' not found #184
Unanswered
darwinalexander
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I check my code and data are right, however, I have this error message:
Error in cbind(corrPos, pNew) : object 'pNew' not found
How can I fix it.
This is my code:
####################################
2.3. Crear tabla de correlaciones
data.T0.med.cor <- cor(data.T0.med[,2:5])
2.4. Crear tabla p.values
library(psych)
pval.T0.med <-psych::corr.test(data.T0.med, adjust="none")$p
2.5. abrir paquete o libreria
library (corrplot)
order.T0.med <-corrMatOrder(data.T0.med.cor, order="alphabet") #orden alfabetico
order.T0.med2 <- data.T0.med.cor[order.T0.med, order.T0.med]
2.6. Plot
#export plot as jpge
corrplot.mixed(order.T0.med2, tl.pos ="lt", upper="square", tl.cex=1, number.cex=1, mar=c(0,0,1,0),
main="T0", p.mat=pval.T0.med, sig.level = 0.01, insig = "n")
Beta Was this translation helpful? Give feedback.
All reactions