Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for 'rnorm'
GenObs.T: no visible global function definition for 'rt'
MeasL: no visible global function definition for 'rbeta'
OutDet: no visible global function definition for 'median'
RanCur: no visible global function definition for 'rnorm'
init: no visible global function definition for 'prcomp'
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for 'rnorm'
GenObs.T: no visible global function definition for 'rt'
MeasL: no visible global function definition for 'rbeta'
OutDet: no visible global function definition for 'median'
RanCur: no visible global function definition for 'rnorm'
init: no visible global function definition for 'prcomp'
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for 'rnorm'
GenObs.T: no visible global function definition for 'rt'
MeasL: no visible global function definition for 'rbeta'
OutDet: no visible global function definition for 'median'
RanCur: no visible global function definition for 'rnorm'
init: no visible global function definition for 'prcomp'
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Rd file 'fpca.mle.Rd':
  \usage lines wider than 90 characters:
     fpca.mle(data.m, M.set,r.set, ini.method="EM", basis.method="bs", sl.v=rep(0.5,10), max.step=50,
  \examples lines wider than 100 characters:
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 
     #get predicted trajectories on a fine grid: the same grid for which mean and eigenfunctions are evaluated
     plot(t.c,y.c,ylim=range(pred[,id]),xlab="time",ylab="obs", main=paste("predicted trajectory of curve", id))
      ##model selection result: the true model M=5, r=3 is selected with the smallest CV score among all converged models
      plot(grids.new,result$eigenfunctions[i,],ylim=range(result$eigenfunctions),xlab="time",ylab=paste("eigenfunction",i))
      ##look at the CV scores and convergence for each model: note that model (M=5, r=4) does not converge. 

These lines will be truncated in the PDF manual.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for 'rnorm'
GenObs.T: no visible global function definition for 'rt'
MeasL: no visible global function definition for 'rbeta'
OutDet: no visible global function definition for 'median'
RanCur: no visible global function definition for 'rnorm'
init: no visible global function definition for 'prcomp'
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for ‘rnorm’
GenObs.T: no visible global function definition for ‘rt’
MeasL: no visible global function definition for ‘rbeta’
OutDet: no visible global function definition for ‘median’
RanCur: no visible global function definition for ‘rnorm’
init: no visible global function definition for ‘prcomp’
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
GenObs: no visible global function definition for 'rnorm'
GenObs.T: no visible global function definition for 'rt'
MeasL: no visible global function definition for 'rbeta'
OutDet: no visible global function definition for 'median'
RanCur: no visible global function definition for 'rnorm'
init: no visible global function definition for 'prcomp'
Undefined global functions or variables:
  median prcomp rbeta rnorm rt
Consider adding
  importFrom("stats", "median", "prcomp", "rbeta", "rnorm", "rt")
to your NAMESPACE file.