Hi Jean,
Thank you so much!
Steve
On Sat, Sep 19, 2015 at 1:02 PM, Adams, Jean wrote:
> Here's one way to save your results, using a list of lists and a for()
> loop.
>
> nsim <- 100
> outputs <- vector("list", nsim)
> for(i in 1:nsim) {
> outputs[[i]] <- sim.f(p.s=.05, N=1000, sample.size=6
Here's one way to save your results, using a list of lists and a for() loop.
nsim <- 100
outputs <- vector("list", nsim)
for(i in 1:nsim) {
outputs[[i]] <- sim.f(p.s=.05, N=1000, sample.size=69, n.sim=500)
}
Jean
On Fri, Sep 18, 2015 at 2:27 PM, SH wrote:
> Dear R users,
>
> I am trying to s
Dear R users,
I am trying to simulate surveys and the survey result will be used to
determine the population to be "accepted" or "rejected". With the results,
I would like to calculate cumulative means and plot them to see if a
converged value is as expected. Below is R-code I generated. I need
Hello,
You should say what is the package you are using, EstimateS returns
hundreds of hits. [ package sos, findFn() ].
As for the question, try
sp <- 1:5
ab <- c(3, 2, 2, 2, 4)
rep(sp, ab)
Hope this helps,
Rui Barradas
Em 10-07-2012 18:23, peziza escreveu:
I am trying to input an OTU t
I am trying to input an OTU table into EstimateS, however, the format of the
OTU table has to be changed to fit the format EstimateS will accept. In R, I
would like to change the format of the OTU table (from excel). Here is what
I need to do, take Example 1 and create Example 2. The problem is t
The apply function which can work on either a row-wise of column-wise
basis can be used with max and ">" can return a logical vector that
will let you separate the rows into those with and without a maximum
greater than 60.
> datax <- matrix(rnorm(300)*30,nrow=50)
> datax <- as.data.frame(
cht-
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
Namens John Antonydas Gaspar
Verzonden: maandag 2 maart 2009 11:31
Aan: r-help@r-project.org
Onderwerp: [R] R-code help for filtering with for loop
Dear Sir / Madam,
I am new for R coding. Kindly help me out in
Dear Sir / Madam,
I am new for R coding. Kindly help me out in sorting out the following problem.
There are 50 rows with six coloumns(you could see in the attached .txt file). I
wish to go for filtering this 50 rows for any one of the six coloumns
satisfying the value >= 64.
I need to have a fin
8 matches
Mail list logo