Skip to content

Commit c4a4248

Browse files
committed
quantile option probs not props -- typo mistake
1 parent dac33d0 commit c4a4248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2_RPROG/R Programming Course Notes.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ $\pagebreak$
360360
* ***examples***
361361
* `apply(x, 1, sum)` or `apply(x, 1, mean)` = find row sums/means
362362
* `apply(x, 2, sum)` or `apply(x, 2, mean)` = find column sums/means
363-
* `apply(x, 1, quantile, props = c(0.25, 0.75))` = find 25% 75% percentile of each row
363+
* `apply(x, 1, quantile, probs = c(0.25, 0.75))` = find 25% 75% percentile of each row
364364
* `a <- array(rnorm(2*2*10), c(2, 2, 10))` = create 10 2x2 matrix
365365
* `apply(a, c(1, 2), mean)` = returns the means of 10
366366

0 commit comments

Comments
 (0)