search for: josephsorel

Displaying 3 results from an estimated 3 matches for "josephsorel".

Did you mean: josephsorell
2011 Aug 14
1
Using get() or similar function to access more than one element in a vector
Dear R-users, I've written a script that produces a frequency table for a group of texts. The table has a total frequency for each word type and individual frequency counts for each of the files. (I have not included the code for creating the column headers.) Below is a sample: Word Total 01.txt 02.txt 03.txt 04.txt 05.txt the 22442 2667 3651 1579 2132 3097 I 18377 3407 454 824 449
2011 Aug 08
1
keeping output in memory
Dear R afficianados! I'm writing a script to create a frequency list for multiple files. I've written a "for" loop to iterate through the selected folder and creating lists for each file. In the line "write(freq.list, file=filename[[1]], sep="", append=FALSE)" I've written the individual lists to file. However, I would really like to keep them in memory
2010 Oct 11
1
plotting Zipf and Zipf-Mandelbrot curves in R
Using R, I plotted a log-log plot of the frequencies in the Brown Corpus using plot(sort(file.tfl$f, decreasing=TRUE), xlab="rank", ylab="frequency", log="x,y") However, I would also like to add lines showing the curves for a Zipfian distribution and for Zipf-Mandelbrot. I have seen these in many articles that used R in creating graphs. Thank you! [[alternative HTML