Skip to content

Commit

Permalink
Fixes to pass CRAN checks
Browse files Browse the repository at this point in the history
  • Loading branch information
adokter committed Jun 26, 2017
1 parent f871a67 commit 9d20e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -5,7 +5,7 @@ Version: 1.0.0
Date: 2017-06-26
Author: Adriaan M. Dokter
Maintainer: Adriaan M. Dokter <a.m.dokter@uva.nl>
Description: package IntRvals calculates event rates and compares means and variances of groups of interval data corrected for missed arrival observations.
Description: Calculates event rates and compares means and variances of groups of interval data corrected for missed arrival observations.
License: GNU General Public License
Imports: plyr,lme4
LazyData: TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/DroppingInterval.R
Expand Up @@ -1375,6 +1375,8 @@ partition=function(x,conf.level=0.9,alpha=0.05,silent=F){
return(list('p<alpha'=F,sigma.within=NA,sigma=x$sigma,p.within=NA,n.within=NA,n.repeat=0,n.total=length(x$data)))
}
dat.fund=data.frame(interval=x$data[index],group_id=x$group[index])
# suppress CRAN checks on invisible binding
interval=NULL
# calculate group statistics
dat.fund=ddply(dat.fund, c("group_id"), transform, offset = scale(interval,scale=F), mean = mean(interval), n = length(interval))
if(!silent) cat(paste("intervals in fundamental:",nrow(dat.fund),"of",length(x$data)))
Expand Down

0 comments on commit 9d20e38

Please sign in to comment.