mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Merge pull request #622 from e99n09/patch-2
Fix accidentally-commented-out line
This commit is contained in:
@@ -516,8 +516,8 @@ students[,order(c("name","year","house","houseFounderName")), with=F]
|
|||||||
# 6: Draco 0 S Salazar
|
# 6: Draco 0 S Salazar
|
||||||
|
|
||||||
# data.table makes summary tables easy
|
# data.table makes summary tables easy
|
||||||
|
students[,sum(year),by=house]
|
||||||
# =>
|
# =>
|
||||||
# students[,sum(year),by=house]
|
|
||||||
# house V1
|
# house V1
|
||||||
# 1: G 3
|
# 1: G 3
|
||||||
# 2: H 3
|
# 2: H 3
|
||||||
|
Reference in New Issue
Block a user