简体   繁体   中英

Does summary() by default only return 100 observations and can I increase this?

Hi I am still kinda new to R and quanteda. I am working with a large corpus and want to get summary statistics of this. There is already a summary available of 7897 observations and I tried to recreate this. This should work with the summary() function but when I try this I only get the first 100 observations. Is there a way to increase this number? I looked in the R documentation of summary() but couldn't find a solution. I tried to dput() the head of my data but since it consists of very long texts this does not really work.

summoutput <- summary(corp, n = Inf)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM