geom_line
NA
列内の sを分割しますが、列内の値をy
結合します。NA
x
# Set up a data frame with NAs in the 'x' column
independant <- c(0, 1, NA, 3, 4)
dependant <- 0:4
d <- data.frame(independant=independant, dependant=dependant)
# Note the unbroken line
ggplot(d, aes(x=independant, y=dependant)) + geom_line()

あなたのNA
価値観はあなたの中にあると思いますas.POSIXlt(date)
。NA
その場合、1 つの解決策は、値を持つ列を にマップしy
、 を使用coord_flip
してy
軸を水平にすることです。
ggplot(d, aes(x=dependant, y=independant)) + geom_line() +
coord_flip()

おそらくあなたのコードは次のようになります:
ggplot(crew.twelves, aes(x=laffcu, y=as.POSIXlt(date)) + geom_line() +
coord_flip()