Hi Pedro,
If I get the idea, you want a vector of length 7300 starting at 1 and
ending at 0.
seq(1,0,length.out=7300)
Produces such a vector. It seems to me that:
seq(1.1,0.05,length.out=7300)
produces the upper vector and:
seq(0.95,-0.05 length.out=7300)
the lower. Then again, I might have t
Have you tried P2["20", "10", "0"] ?
Jean
On Thu, Jun 1, 2017 at 3:10 PM, li li wrote:
> Hi all,
> I have a three dimensional array with the corresponding dimension names.
> I would like to subset the array according to the dimension names. For
> example,
> suppose I want to extract the value
Hi All,
I am running a generalized linear model with gamma distribution in R (glm,
family=gamma ) for my data (gene expression as response variable and few
predictors). I want to calculate r-squared for this model.
I have been reading online about it and found there are multiple formulas
for calc
... As this concerns gene expression, perhaps the Bioconductor list
might be more appropriate. As it is prmarily statistics, not R
programming, maybe stats.stackexchange.com might be a better venue.
You might also be better off contacting the package maintainers
(?maintainer) for such package-speci
Just a quick note to say that we intend to have a patch release, probably on
June 30, mainly to pick up a few balls that were dropped on the 3.4.0 release.
Full schedule to appear later (just need a little time to actually set it up +
checking that the date doesn't collide with schedules of othe
Hi
seems to me like homework, this list has no homework policy.
For linear decay you can use
> temp<-c(10,9,8,7,6,5,4,3,2,1)
> plus <- seq(10,5, length=10)/100
> plot(1:10, temp, ylim=c(0, max(temp+plus)))
> lines(1:10, temp+temp*plus)
> lines(1:10, temp-temp*plus)
>
for exponential you should
Hi
only some attachment types are alowed, see Posting Guide. Post your code with
some toy data directly into body of your mail text.
From your explanation I wonder why you append vaues to vector, it is rarely
necessary.
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-bo
At the very real risk of flogging a dead horse, I realized that it is
slightly cleaner to use the logical index TRUE in the argument list of
`[` rather than the seq_len(dim[i]) to indicate "everything" in the
ith array dimension. I post on list because maybe this might be a bit
informative to othe
That works. Thank you!
2017-06-02 8:00 GMT-04:00 Adams, Jean :
> Have you tried P2["20", "10", "0"] ?
>
> Jean
>
> On Thu, Jun 1, 2017 at 3:10 PM, li li wrote:
>
>> Hi all,
>> I have a three dimensional array with the corresponding dimension names.
>> I would like to subset the array according
Hi All,
I have two files.
1. with only one column
2. data matrix
I need to compare first columns of both files and print the rows from
second file for the overlapping entries. I have solutions for awk and sed,
but I need how to do it in R.
Thanks
Regards
Anchal
--
Anchal Sharma, PhD
Postdoctora
There are missing details, such as:
what do you mean by "overlapping"?
do the "files" have the same number of rows?
do you care whether the "overlapping" entries are in the same row?
what kind of R data structure do you have the "files" stored in?
Assuming your file 1 is stored in a vecto
Hi all,
I have a data set with time interval and depending on the interval I want
to create 5 more variables . Sample data below
obs, Start, End
1,2/1/2015, 1/1/2017
2,4/11/2010, 1/1/2011
3,1/4/2006, 5/3/2007
4,10/1/2007, 1/1/2008
5,6/1/2011, 1/1/2012
6,10/15/2004,12/1/2004
First, I want
You do understand that this is not the "do my work for me" mailing list, don't
you? You should be asking questions like "why doesn't my code do one of these
if conditions?" so that you know HOW to write the rest of them yourself.
In addition you have been posting here long enough to know that y
Ii is difficult to provide useful help, because you have failed to
read and follow the posting guide. In particular:
1. Plain text, not HTML.
2. Use dput() or provide code to create your example. Text printouts
such as that which you gave require some work to wrangle into into an
example that we c
14 matches
Mail list logo