similar to: Several questions in R

Displaying 20 results from an estimated 20000 matches similar to: "Several questions in R"

2004 Nov 02
3
n-th power of a matrix
Hello all, To calculate the power of a matrix, I used the command "mtx.exp(X, n)", but there is an error saying "Error: couldn't find function "mtx.exp"". How can I deal with this problem? Jing
2012 Feb 20
3
How to determine a subset of a binary strings?
Hi, I need some neat ways of determing a subset of binary strings. For example, x=c(0,0,1), y=c(0,1,1), z=c(0,1,0). So x is a subset of y and z is also a subset of y, but x is not a subset of z. I tried to search R functions and packages but no hits. Any ideas? Best, Jing -- Jing Tang, PhD Senior Researcher Finnish Institute of Molecular Medicine (FIMM) FI-00014 University of
2012 Mar 22
2
Strsplit with a separator of ||
Hi, I tried to use strsplit for separating a string with || like strsplit(string,"\\||") but it returned each single character was separated. For example: strsplit("a||bc","\\||") [[1]] [1] "a" "" "" "b" "c" where I want the result to be "a" and "bc". Any ideas? Thanks! Best,
2013 Feb 06
2
The interpretation of lm(y~x)?
Hi, I am reading the book "Mixed Effects Models in S and S-Plus" and come across an example with the Rail data. I tried to use lm(travel~Rail,data=Rail) and got the following result: Call: lm(formula = travel ~ Rail, data = Rail) Residuals: Min 1Q Median 3Q Max -6.6667 -1.0000 0.1667 1.0000 6.3333 Coefficients: Estimate Std. Error t value Pr(>|t|)
2013 Feb 08
1
Contrasts for a data
Hi, I am using a data called Rail in the nlme package. The data contains two variables: Rail and Travel. >Rail Grouped Data: travel ~ 1 | Rail Rail travel 1 1 55 2 1 53 3 1 54 4 2 26 5 2 37 6 2 32 7 3 78 8 3 91 9 3 85 10 4 92 11 4 100 12 4 96 13 5 49 14 5 51 15 5 50 16 6 80
2004 Dec 14
1
Antigen forwarded attachment
The entire message "[R] Several questions in R", originally sent to you by r-help-bounces at stat.math.ethz.ch (r-help-bounces at stat.math.ethz.ch), has been forwarded to you from the Antigen Quarantine area. This message may have been re-scanned by Antigen and handled according to the appropriate scan job's settings. <<Entire Message.eml>> -------------- next part
2020 Sep 04
2
using experimental intrinsics failed
Hi Craig: It’s llvm 10.1 I think, I did the same thing, removing everything except the code block but still failed with llvm-as. Thank you Xuan Tang On Sep 3, 2020, 20:14 -0500, Craig Topper <craig.topper at gmail.com>, wrote: > I just pasted that code and ran it through llc, opt, and llvm-as. All passed without issue. What version of llvm are you using? > > ~Craig > > >
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
I got your point. Thank you, and I'd like to provide the relative message now. But firstly, what do you mean by the "relevant command generated by your makefile"? What I can tell you now is: The Error Message: make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface' CXXLD extract_interface extract_interface.o:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for
2020 Sep 04
2
using experimental intrinsics failed
Hi Craig: I tried that, now the function is like this: ; Function Attrs: norecurse nounwind readnone ssp uwtable define { double, double } @add(double, double, double, double) local_unnamed_addr #0 {   %5 = call double @llvm.experimental.constrained.fadd(double %0, double %2, metadata !"round.downward", metadata !"fpexcept.ignore")   %6 = fadd double %1, %3
2015 Mar 10
2
Notes on building a gcc toolchain for Rtools (but not multilib)
----- Original Message ----- > From: "Duncan Murdoch" <murdoch.duncan at gmail.com> > To: "Hsiu-Khuern Tang" <tangoh at gmail.com>, r-devel at r-project.org > Sent: Monday, March 9, 2015 10:40:02 AM > Subject: Re: [Rd] Notes on building a gcc toolchain for Rtools (but not multilib) > > On 09/03/2015 11:07 AM, Hsiu-Khuern Tang wrote: > > On
2015 Mar 10
3
Notes on building a gcc toolchain for Rtools (but not multilib)
----- Original Message ----- > From: "Duncan Murdoch" <murdoch.duncan at gmail.com> > To: "Dan Tenenbaum" <dtenenba at fredhutch.org> > Cc: "Hsiu-Khuern Tang" <tangoh at gmail.com>, r-devel at r-project.org > Sent: Tuesday, March 10, 2015 11:37:12 AM > Subject: Re: [Rd] Notes on building a gcc toolchain for Rtools (but not multilib)
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On 10/03/2015 3:17 PM, Duncan Murdoch wrote: > On 10/03/2015 2:56 PM, Dan Tenenbaum wrote: > > > > > > ----- Original Message ----- > >> From: "Duncan Murdoch" <murdoch.duncan at gmail.com> > >> To: "Dan Tenenbaum" <dtenenba at fredhutch.org> > >> Cc: "Hsiu-Khuern Tang" <tangoh at gmail.com>, r-devel at
2015 Mar 10
1
Notes on building a gcc toolchain for Rtools (but not multilib)
On Tue, Mar 10, 2015 at 4:07 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 09/03/2015 11:02 PM, Hsiu-Khuern Tang wrote: >> Hi Duncan, >> >> On Mon, Mar 9, 2015 at 10:40 AM, Duncan Murdoch >> <murdoch.duncan at gmail.com> wrote: >>> On 09/03/2015 11:07 AM, Hsiu-Khuern Tang wrote: >>>> >>>> On Mon, Mar 9, 2015 at
2011 Sep 01
3
how to get the varifying character with two variables?
hi R user mtdno<-paste("data",1:3,sep="") tyno<-paste("obs",1:5,sep="") flnm<-paste(mtdno,tyno,"_err.dat",sep="") flnm is [1] "data1obs1_err.dat" "data2obs2_err.dat" "data3obs3_err.dat" [4] "data1obs4_err.dat" "data2obs5_err.dat" but actually what i want is data from 1 to 3
2009 Jul 29
2
quetions about dimensions
hi ,everyone, I have a script shown as below: > bj2=bjerrdata$tyerr[bjyearnum[2]+1:bjyearnum[3]] > length(bj2) [1] 448 while > b=bjyearnum[3] > a=bjyearnum[2]+1 > bj1=bjerrdata$tyerr[a:b] > length(bj1) [1] 169 it is different with bj2 and bj1 . and the array bjyearnum is [1] 0 279 448 633 1021 1365 1813 2237 2839 3314 3798 4157 12 why bj1 is 169 while bj2 is 448
2009 Mar 15
2
How can I add TimeoutHandler to EvenmentMachine
Hi, list Now I am coding for one non-blocking httpclient based on event-machine, and it seems the client will hang for 50 seconds if the destination is unreachable. My questions are 1. How can I short the timeout? I had tried conn.set_comm_inactivity_timeout(5), but it didn''t work 2. How can I add TimeoutHandler to the connection? Thanks! /Jack -- Jack Tang Software
2008 Mar 13
3
[Bug 759] New: ''zpool create -o keysource=,'' hanged
http://defect.opensolaris.org/bz/show_bug.cgi?id=759 Summary: ''zpool create -o keysource=,'' hanged Classification: Development Product: zfs-crypto Version: unspecified Platform: i86pc/i386 OS/Version: Solaris Status: NEW Severity: minor Priority: P3 Component: other
2003 Oct 29
1
Wishlist: user-specified color names for palette() (PR#4836)
Full_Name: Hsiu-Khuern Tang Version: 1.8.0 OS: GNU/Linux (Debian unstable) Submission from: (NULL) (156.153.255.243) Hi, I use palette(rgb(red=..., green=..., blue=..., names=mycolors)) to define my own color palette. After doing this, the names `mycolors' are not stored in palette() anymore, so that palette() returns a mix of built-in color names and RGB values. Eg: > palette()
2012 Mar 14
6
where I can find more color names or color definition?
hi everyone . Now I want to draw several lines in one frame.And it seems needs more colors except for blue red,black .Where can i found these color name or define some new color ?thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2009 Jul 20
5
what is meaning of the bubbles in boxplots?
Hi ,everyone , I draw some boxplot figure with the command "boxplot".But in the figure,there are some bubbles at the top part of the figure. Can anyone tell me what the correct meaning of these bubbles?and how to remove it? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]