Displaying 15 results from an estimated 15 matches similar to: "create variables through a loop"
2011 Aug 22
1
select columns array2 not equal to 10
Dear R community,
I have a data set like the following:
probe_name chr_id position array1 array2 array3 array4 array5 array6
array7
1 C-3AAAA 10 16566949 10 10 10 10 10 10
10
2 C-3AAAB 17 33478940 10 10 10 10 10 10
10
3 C-3AAAC 3 187369224 10 10 2 10 10 1 10
4 C-3AAAD 8 28375041 10
2003 Apr 26
4
array to data.frame
Hi,
How i can convert a array in to data.frame structure?
For example,
vinteesete<-array(c(1,0,6,4,22,29,11,7,6,2,8,7,21,25,5,6,1,0,11,6,14,24,13,10,2,2,15,13,14,17,9,8,1,2,16,9,14,23,9,6,6,2,17,13,10,20,7,5),
dim=c(2,4,6), dimnames=list(grupo=c("I","II"),
opiniao=c("Ma","Regular","Boa","MBoa",),
2010 Aug 31
4
pasting together 2 character arrays
If possible I would like to combine two different character arrays in combinations
Array1 <- c("height","weight","age","sex")
Array2 <- c("trt0","trt1","trt2")
I would like to combine these two character vectors to end up with such ...
Array3
"height.trt0.trt1"
"height.trt0.trt2"
2006 Jul 26
1
Calling another method in the same controller
Hi, probably this is realy simple, but for some reason i don''t see it.
probably i still don''t think object orriented :)
lets say i have a piece of code which generates an array based on a few
inputs.
within a controller i want to use this code to generate three arrays,
all based on different input variables how do i do that?
can i call another method within a method? if so,
2011 Nov 16
4
Pairwise correlation
Dear All,
I am not familiar with R yet I want to use it to perform some task, hence my
posting here. I hope someone can help.
I have a set of data, genes (rows) and samples (columns). I want to do a
Pearson correlation on all the possible pairwise combinations of all the
genes (2000). Does anyone have an idea of how to execute this in R?
Thanks in advance.
--
View this message in context:
2018 Nov 01
4
Fwd: RFC: Adding debug information to LLVM to support Fortran
*From:* flang-dev <flang-dev-bounces at lists.flang-compiler.org> *On Behalf
Of *Eric Schweitz (PGI)
*Sent:* Thursday, November 01, 2018 1:02 PM
*To:* flang-dev at lists.flang-compiler.org
*Subject:* [Flang-dev] RFC: Adding debug information to LLVM to support
Fortran
In order to support debugging in the Flang project, work has been done to
extend LLVM debug information for the Fortran
2011 Sep 14
1
how to get a row with its its p value below 0.01 ??
Hi all,
I'm analyzing micro array data.. it has produced a file (to be specific
matrix) withdimension of 35556 2.
first few lines of the matrix are as below..
probe_name control.fdr.pvals.present
10338001 0.000440001
10338002 0.000583093
10338003 0.000528449
10338004 0.000610362
10338005 0.000151825
10338006 0.0001733
10338007 0.000152924
Now, i want only rows whose
2006 Jun 16
0
a method to trim composite objects?
dear R users,
please, consider the following code you may run:
setClass("my.class1",
representation(
my.list = "list",
my.array1 = "array"),
prototype=prototype(
my.list =list(),
my.array1 =array(0,c(3,3,3))
))
#------------------
2011 Jul 09
1
[LLVMdev] getting and setting array indices c interface
I really can't figure out how to get and set array indices from the c
interface.
so to get an element I'm calling
tindex = *fn\SymbolTable(*index\name)
index = LLVMBuildLoad(builder,tindex,"index")
arr = *fn\SymbolTable(*array\name)
arrptr = LLVMBuildLoad(Builder,arr,"arrayptr")
tmp = LLVMBuildGEP(Builder,arrptr,index,0,"ptr")
ptr =
2009 Jul 15
0
Fwd: DLLs
Thanks for your help with this problem about dynamic linked libraries.
I thought I had it solved, but apparently not.
Below is a small piece of Pascal code that I compile into a library.
When I load the library using dyn.load R becomes very unstable.
The Mac GUI crashes in all kinds of situations --even moving a window
can sometimes crash it.
Running from the command line (I thought the
2009 Aug 17
1
Question concerning file permissions in Samba 3.3.4
We're running Samba 3.3.4 on RHEL 5 Linux, using Active Directory
authentication.
I've noticed that we are able to assign NTFS "Full Control" permissions to
directories; however, we are unable to do the same on the files contained
within those directories. Is there a default setting that is preventing us
from being able to assign them? Note that this happens even at the very
2018 Nov 01
2
RFC: Adding debug information to LLVM to support Fortran
Regarding flags, I was just thinking that maybe we should invent a new DISubprogramFlags type. DISubprogram already has a few bitfields for subprogram-specific things, Fortran will want 3 more, and there's no reason to fill up the generic DIFlags with more bits that are used in only one class.
I agree that the array stuff needs to be designed with an eye to handling how other languages do
2009 Feb 23
0
How to invalidate the model caching in ruby?
Hello All,
I used rails caching to cache the model as in model language.rb file
def self.cached_languages
return Rails.cache.fetch(''languages'') { Language.all }
end
Now I want to add/delete some new language to database. So when the
table "languages" changes it should reflect in view. For that I want to
invalidate the cache.
please tell me How i do that?
2009 Feb 27
0
Contextually aware controllers
Hi everyone, my CMS app is starting to get quite large. I have heaps
of modules (about 15) and some of these modules are re-used within
different contexts:
An example is that you can add a Page to the schools website, but you
can also add a page to a ''Learning Cave'' which is our online learning
area for kids. While all the controller and view code is essentially
the same, we
2007 Oct 12
7
webrick 500 error
Hi,
This is my second question on the poor performance of webrick
(previously I had a problem with Ajax).
I have a somewhat simple Rails application which works just fine, but
when I come back to work the next day, the server responds with error
500. It looks like if it is running more than 12 hours, it''ll crap-out.
I don''t use CVS (which I read on the web it is a common cause