We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa0dbc commit 5ea4468Copy full SHA for 5ea4468
man/Extract.findFn.Rd
@@ -8,7 +8,7 @@
8
\usage{
9
\method{[}{findFn}(x, i, j,
10
drop =
11
- if (missing(i)) TRUE else length(cols) == 1)
+ if (missing(i)) TRUE else length(j) == 1)
12
%]
13
}
14
\arguments{
@@ -55,10 +55,18 @@
55
z <- try(findFn("spline", maxPages = 2))
56
57
if(!inherits(z, "try-error")){
58
-
+# one row
59
z1 <- z[1,]
60
61
+# one column
62
z.2 <- z[, 2]
63
+#
64
+ z.2a <- z[2]
65
+ \dontshow{stopifnot(}
66
+ all.equal(z.2, z.2a)
67
+ \dontshow{)}
68
+# data.frame with one column
69
+ z.2d <- z[, 2, drop=FALSE]
70
71
72
\keyword{methods}
0 commit comments