Skip to content

Commit

Permalink
Missin semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Svetunkov committed Aug 28, 2024
1 parent ee86040 commit 7af28b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dsrboot.R
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ dsrboot <- function(y, nsim=100, intermittent=TRUE,
if(obsInsample>1){
# Make sure that the SD of the data is constant
yNewSD <- sqrt(apply((yNew - yTransformed)^2, 1, mean, na.rm=TRUE));
yNew[] <- yTransformed + (mean(yNewSD, na.rm=TRUE)/(yNewSD)) * (yNew - yTransformed)
yNew[] <- yTransformed + (mean(yNewSD, na.rm=TRUE)/(yNewSD)) * (yNew - yTransformed);
}

if(type=="multiplicative"){
Expand Down

0 comments on commit 7af28b9

Please sign in to comment.