Note that there are some explanatory texts on larger screens.

plurals
  1. USTeemu Daniel Laajala
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COI would guess it's plotting in the background and opening a new device for each value of n or then you have opened graphical devices with your plot.new and png calls that exist in your code (I only ran my own independent example due to not having your data). Try running few dev.off()'s to close down any possible png devices or restart your session. If your code has been interrupted due to an error it may be that there are a lot of open devices that were never closed due to code interruption.
      singulars
    2. COThe start of my post attempts to explain why your h(n) didn't work - I was posting as you edited. Both n and x cannot be vectors, and I think your code implicitly incorporated a vector for x values. I now edited my answer so that I show how you could test multiple n-values by calling each n value separately with the wrapper function. In essence, it is doing many calls: wrapper(i=1, x=xs, n=nseq[1], fti=fti1); wrapper(i=1, x=xs, n=nseq[2], fti=fti1), etc where nseq is your vector of n values 0:256. For each distribution I would perform this separately, so that I change the i and fti values.
      singulars
    3. COYou could fix your t-vector using Regular Expressions in R: http://stat.ethz.ch/R-manual/R-patched/library/base/html/regex.html by calling the grep-function... removing single characters: http://stackoverflow.com/questions/10306312/regex-to-remove-single-characters-from-string ... removing numbers: http://stackoverflow.com/questions/3363005/how-to-remove-numbers-from-a-string-with-regex
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload