Skip to content

Instantly share code, notes, and snippets.

@MJacobs1985
Last active March 12, 2022 09:49
Show Gist options
  • Select an option

  • Save MJacobs1985/01281a95c81e93d53bbb286c84f75467 to your computer and use it in GitHub Desktop.

Select an option

Save MJacobs1985/01281a95c81e93d53bbb286c84f75467 to your computer and use it in GitHub Desktop.
wide<-dataset%>%dplyr::select(ID,Meting,Hb)%>%spread(Meting, Hb)
wide<-as.data.frame(wide)
wide_cld <- kml::cld(traj = wide,
idAll = wide[,1],
timeInData = 2:125,
maxNA = 2)
class(wide_cld)
wide_klm<-kml::kml(wide_cld,
nbRedrawing = 50,
toPlot='traj')
kml::choice(wide_cld)
wide<-dataset%>%dplyr::select(ID,Meting,VO2cdi)%>%spread(Meting, VO2cdi)
wide<-as.data.frame(wide)
wide_cld <- kml::cld(traj = wide,
idAll = wide[,1],
timeInData = 2:125,
maxNA = 2)
class(wide_cld)
wide_klm<-kml::kml(wide_cld,
nbRedrawing = 50,
toPlot='traj')
kml::choice(wide_cld)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment