skip skip
#15 2 reject skip skip
#16 1 rejectreject reject
#17 0 pass pass pass
#18 3 reject skip skip
#19 0 pass skip skip
#20 2 reject skip
reject
> 2 reject
> 2 reject",
> header=TRUE,stringsAsFactors=FALSE)
> passes<-which(result$intercept == 0)
> skips<-as.vector(sapply(passes,function(x) return(x+1:5)))
> result$decision[skips]<-"skip"
>
> Note that result$decision
Hi
Although I posted this in stackoverflow yesterday, I am asking here to get
helps as soon as quickly.
I need help make code for mocking sampling environment. Here is my code
below:
First, I generated mock units with 1000 groups of 100 units. Each row is
considered as independent sample space.
) {
> 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 <empti...@gmail.com> wrote:
>
>> Dear R users,
>>
>> I am trying to simulate surveys and the survey result will be used t
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
Hi R-users,
I hope this is not redundant questions. I tried to search similar threads
relevant to my questions but could not find. Any input would be greatly
appreciated.
I want to generate grid with binary values (1 or 0) in n1 by n2 (e.g., 100
by 100 or 200 by 500, etc.) given proportions of
> You can use gstat, as in:
>
> https://www.researchgate.net/publication/43279659_Behavior_of_Vegetation_Sampling_Methods_in_the_Presence_of_Spatial_Autocorrelation
>
> If you need more detail, I can dig up the code.
>
> Sarah
>
> On Wed, Sep 9, 2015 at 8:49 AM, SH <
htgray", "blue"))
> image(random.landscape.250, main="250", sub=paste("abun =", abun),
> xaxt="n", yaxt="n", bty="n", xlim=c(0,dim1), ylim=c(0, dim2),
> col=c("lightgray", "darkblue"))
>
>
# No copying... well, you do end up with a new list in out3, but the
data itself doesn't get copied.
gc()
On Tue, 16 Dec 2014, D?nes T?th wrote:
On 12/16/2014 06:06 PM, SH wrote:
Dear List,
I hope this posting is not redundant. I have several list outputs
with the
same components. I ran
Dear List,
I hope this posting is not redundant. I have several list outputs with the
same components. I ran a function with three different scenarios below
(e.g., scen1, scen2, and scen3,...,scenN). I would like to extract the
same components and group them as a data frame. For example,
the file into R, I do not have an
idea where to start to fix it. Do you have any suggestion?
Thank you very much in advance,
SH
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
into a
reproducible example, with fake data if necessary. Otherwise you're
limited by the ability of the list to guess what you're looking at,
and our track record with that is spotty.
Sarah
On Wed, Aug 21, 2013 at 10:35 AM, SH empti...@gmail.com wrote:
Dear List:
I had some strange experience
characters in the middle of names,
etc.). I can send you sample data if you are willing to take a look. Even
though using 'read.delim' works, I am still curious what caused the problem
and potential problem that I may miss.
Thanks again,
SH
On Wed, Aug 21, 2013 at 10:58 AM, David Carlson
Dear list:
I would like to extract three letters from first and second elements
in one column and make a new column.
For example below,
tempdf = read.table(clipboard, header=T, sep='\t')
tempdf
name var1 var2abb
1 Tom Cruiser16 TomCru
2 Bread Pett2
13, 2013 at 10:10 AM, Jorge I Velez
jorgeivanve...@gmail.com wrote:
Dear SH,
Hmmm... what about
substr(tempdf$name, 4, 6))
?
HTH,
Jorge.-
On Thu, Mar 14, 2013 at 1:06 AM, SH empti...@gmail.com wrote:
Dear list:
I would like to extract three letters from first and second elements
, 2013 at 10:17 AM, Jorge I Velez
jorgeivanve...@gmail.com wrote:
Try
substr(tempdf$abb 4, 6)
--JIV
On Thu, Mar 14, 2013 at 1:15 AM, SH empti...@gmail.com wrote:
Dear Jorge,
I gave me this result (below) since it defines starting from the forth
letter and ending 6th letter from
BrePet ArnSch
HTH,
Jorge.-
On Thu, Mar 14, 2013 at 1:21 AM, SH empti...@gmail.com wrote:
What I want to do is to extrac three letters from first and last name
and to combine them to make another column 'abb'. The column 'abb' is
to be a my final product. I can make column 'abb' using
,
Marc Schwartz
On Mar 13, 2013, at 9:21 AM, SH empti...@gmail.com wrote:
What I want to do is to extrac three letters from first and last name
and to combine them to make another column 'abb'. The column 'abb' is
to be a my final product. I can make column 'abb' using 'paste'
function once I
Dear list:
Can I use simple linear regression when I have proportion data for
both dependent and independent variables? Or, should I use beta
regression analysis? Or any suggestion?
Thanks!
SH
__
R-help@r-project.org mailing list
https
Very useful comment and helpful website! Many thanks to you!!!
SH
On Fri, Nov 16, 2012 at 5:16 PM, Ben Bolker bbol...@gmail.com wrote:
SH emptican at gmail.com writes:
Dear list:
Can I use simple linear regression when I have proportion data for
both dependent and independent variables
20 matches
Mail list logo