Skip to content

Commit 5cb801b

Browse files
author
Karin Schork
committed
fix typo
1 parent c711913 commit 5cb801b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/MA_Plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ MA_Plot_single <- function(sample_1, sample_2,
4343
A <- stats::na.omit((sample_1 + sample_2)/2)
4444

4545
## sample only parts of the data points for data sets with many data points
46-
if (sample < 1) {
46+
if (sampling < 1) {
4747
ind_sample <- sample(1:length(M), size = ceiling(length(M) * sampling))
4848
M <- M[ind_sample]
4949
A <- A[ind_sample]

0 commit comments

Comments
 (0)