Displaying 3 results from an estimated 3 matches for "variablename1".
Did you mean:
variablename
2002 Dec 05
1
(no subject)
hi,
suppose you have a for-loop like this:
for(i in1:x) {} ...
now you want to generate a variable in every
cycle (since you do not know the size of x in
beforehand you have to do this dynamically).
the variable should e.g. look like this:
variableName1<-c() (if x==1)
variableName2<-c() (ifx==2)
variableName3<-c() (if x==3)
..
..
i tried this(which obviously didn't work):
paste("variableName",x,sep="")<-c(2,3,4)
so i need
something similiar to this (but working!)!
thanks for help, greetinx jan
2002 Dec 05
0
(no subject)
...> hi,
> suppose you have a for-loop like this:
>
> for(i in1:x) {} ...
>
> now you want to generate a variable in every
> cycle (since you do not know the size of x in
> beforehand you have to do this dynamically).
>
> the variable should e.g. look like this:
> variableName1<-c() (if x==1)
> variableName2<-c() (ifx==2)
> variableName3<-c() (if x==3)
> ..
> ..
> i tried this(which obviously didn't work):
>
> paste("variableName",x,sep="")<-c(2,3,4)
>
> so i need
> something similiar to this (but working...
2010 Mar 16
1
Correlation coefficient of large data sets
So I am very new to R. Have been using python for a project and need to
calculate the correlation coefficient matrix for my data set. the data is in
the range of 10-15 observations of 230,000 variables. ie the correlation
matrix would be 230,000X230,000 Using python and the numpy.corrcoef() I run
out of memory if I try to do this with more than ~30,000 variables.
I was able to load the data into