Database Reference
In-Depth Information
kingrichardiii, history
loverscomplaint, comedy
loveslabourslost, comedy
macbeth, tragedy
measureforemeasure, comedy
merchantofvenice, comedy
merrywivesofwindsor, comedy
midsummersnightsdream, comedy
muchadoaboutnothing, comedy
othello, tragedy
periclesprinceoftyre, history
romeoandjuliet, tragedy
tamingoftheshrew, comedy
tempest, comedy
timonofathens, tragedy
titusandronicus, tragedy
troilusandcressida, tragedy
twelfthnight, comedy
twogentlemenofverona, comedy
winterstale, comedy"
> categories = read.csv(text=categories_str)
> summary(categories)
corpus type
allswellthatendswell: 1 comedy :15
antonyandcleopatra : 1 history:12
asyoulikeit : 1 tragedy:11
comedyoferrors : 1
coriolanus : 1
cymbeline : 1
(Other) :32
Now do the same thing with the play names in the categories table that you
did in the results table—you can use the play name as the row name and
drop the first row:
> rownames(categories) <- categories$corpus
> categories$corpus <- NULL
> summary(categories)
Search WWH ::




Custom Search