Skip to content

Loading…

extract_col_rows: fix typo referring to wrong var name #105

Merged
merged 1 commit into from

2 participants

@wch
Collaborator

This fixes a reference to a nonexistent variable.

@hadley hadley merged commit e70081b into hadley:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 15, 2012
  1. @wch
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/indexed-data-frame.r
View
2 R/indexed-data-frame.r
@@ -40,7 +40,7 @@ extract_col_rows <- function(df, i, j) {
if (is.null(attr(col, "class"))) {
.subset(col, i)
- } else if (inherits(col, "factor") || inherits(x, "POSIXt")) {
+ } else if (inherits(col, "factor") || inherits(col, "POSIXt")) {
out <- .subset(col, i)
attributes(out) <- attributes(col)
out
Something went wrong with that request. Please try again.