Hi Phillip,
Try this:
as.Date(c("20180329","20180330","20180331"),"%Y%m%d")
[1] "2018-03-29" "2018-03-30" "2018-03-31"
Note that the format argument has to match the date format exactly.
Jim
On Wed, Sep 25, 2019 at 9:54 AM Phillip Heinrich wrote:
>
> The date is imbedded in the GameID characte
You are not comparing your character date data with the format string.
Specifically there are no spaces in your data but there are in your format
string. Any characters in the format string that are not part of % date
component specifications must be found in your data.
On September 24, 2019 4:
The date is imbedded in the GameID character field so I created a date vector
with the following code:
ari18.test3$date <- substring(ari18.test3$GameID,4,11) And then created a new
dataframe with just the Game ID and date vectors. The date field is a
character as shown by the str() command. s
Hi Ana,
Your minimum value in pvalR is very small and may be causing trouble.
As the qvalue package seems to be in Bioconductor, perhaps posting to
that help list would get an answer.
Jim
On Wed, Sep 25, 2019 at 1:48 AM Ana Marija wrote:
>
> Hello,
>
> I tried using qvalue function:
>
> libr
Just to add one more option (which is best probably depends on if all
the same dates are together in adjacent rows, if an earlier date can
come later in the data frame, and other things):
df$count <- cumsum(!duplicated(df$Date))
Skill a cumsum of logicals, just a different way of getting the logi
https://cran.r-project.org/web/packages/qvalue/index.html
states
Package ‘qvalue’ was removed from the CRAN repository.
Just an FYI
On Tue, Sep 24, 2019 at 6:48 PM Ana Marija
wrote:
> Hello,
>
> I tried using qvalue function:
>
> library(qvalue)
> qval_obj=qvalue(pvalR)
> pi1=1-qval
Hello,
I tried using qvalue function:
library(qvalue)
qval_obj=qvalue(pvalR)
pi1=1-qval_obj$pi0
but after running:
qval_obj=qvalue(pvalR)
Error in smooth.spline(lambda, pi0, df = smooth.df) :
missing or infinite values in inputs are not allowed
or
qval_obj=qvalu
You are welcome
On Tue, Sep 24, 2019 at 9:10 AM Malte Hückstädt <
deaddatascienti...@gmail.com> wrote:
> Hello Eric, thanks a lot!In fact, your tip helped me a lot. I have now
> found a solution with lappy and apply. Thank you very much!
>
> regards, malte
>
>
> Am 23.09.2019 um 09:32 schrieb Eri
8 matches
Mail list logo