Skip to content

Commit e5ea368

Browse files
authored
Unify markdown list in splitobs docstring (#208)
1 parent 9207b0b commit e5ea368

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/splitobs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ The argument `at` specifies how to split the data:
4646
- When `at` is a number between 0 and 1, this specifies the proportion in the first subset.
4747
- When `at` is an integer, it specifies the number of observations in the first subset.
4848
- When `at` is a tuple, entries specifies the number or proportion in each subset, except
49-
for the last which will contain the remaning observations.
50-
The number of returned subsets is `length(at)+1`.
49+
for the last which will contain the remaning observations.
50+
The number of returned subsets is `length(at)+1`.
5151
5252
If `shuffle=true`, randomly permute the observations before splitting.
5353
A random number generator `rng` can be optionally passed as the first argument.
@@ -112,4 +112,4 @@ end
112112

113113
_normalize_at(n, at::Integer) = at / n
114114
_normalize_at(n, at::NTuple{N, <:Integer}) where N = at ./ n
115-
_normalize_at(n, at) = at
115+
_normalize_at(n, at) = at

0 commit comments

Comments
 (0)