My apologies, but I need your help an other once. Thanks for your help, and I hope I will understandable (I'm French PhD Student).
I give you my R code and I explain my problem :
plot(s9g$pupil_timestamp_secondes , s9g$diameter_3d_c , type='l' , xlab="Secondes" , ylab="Diamètre pupille (milimètres)" , col="royalblue3" , main="Premier regard sur les données \n pour ajuster datas aberrantes COUCHE DEBOUT - GAUCHE")
This first part is OK for me and it works. However, in my dataframe (y axes), I have missing value (NA).
My problem : When I have a missing value, my curve is cut (I try since yesterday to find differents possibilities to resolve my problem with "na.kalma" or others things but it doesn't works).
My aim : I want to connect/link these parts of my curve. And if it's possible with a specific color or with a dotted line.
Hello.
Thanks for providing code , but you could take further steps to make it more convenient for other forum users to help you.
Share some representative data that will enable your code to run and show the problematic behaviour.
You might use tools such as the library datapasta, or the base function dput() to share a portion of data in code form, i.e. that can be copied from forum and pasted to R session.