If not NA in R

Option 1:

which( !is.na(p), arr.ind=TRUE)

Option 2:

lapply(apply(p, 1
Read More
Categories a

Text in ggplot2

Option 1

sp2 + geom_text(x=3, y=30, label="Scatter plot")

Option 2

Read More
Categories a