Displaying 20 results from an estimated 600 matches similar to: "Need help to transform data into co-occurence matix"
2008 May 23
1
SVD on a matix
Hi All,
I performed an svd on a matrix X and saved the first three column of the
left singular matrix U. ( I assume that they correspond to the projection of
the matrix on the first three eigen vectors that corresponds to the first
three largest eigenvalues). I would like to know how much variance is
explained by the first eigenvectors? how can I find that.
Thanks for your help
--
View this
2012 Jul 05
2
vector entry in matix
hi,
i'm trying to figure out if there's any possibility to write a whole vector
into a matrix or data.frame or something like that. i don't mean
transormation. Here an example:
[,1] [,2]
[1,] "a" "d"
[2,] "b" "e"
[3,] "c" "f"
where e.g. a is a<-c(0,1) vector of length 2, b a vector of length 4,... (i
know that
2006 Mar 05
5
special characters?
I''m not sure if this is something in Rails or MySQL, but characters like
? are showing up funky in my app. I see ''?'' in the DB using a query
browser, but in the app it shows up as ''A1/4.'' Do I need to use another
charset or something?
--
Posted via http://www.ruby-forum.com/.
2012 Aug 09
1
POSIXct to ts
Hi,
I have a dataframe (try.1) with date/time and temperature columns, and the date/time is in POSIXct fomat. Sample included below.
I would like to to try decompose () or stl() to look at the trends and seasonality in my data, eventually so that I can look at autocorrelation. The series is 3 years of water temperature with clearly visible seasonal periods.
Right now, if I try decompose,
2008 Jan 16
1
Probability weights with density estimation
I am a physician examining an NHANES dataset available at the NCHS
website:
http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/demo_d.xpt
http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/hdl_d.xpt
http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/tchol_d.xpt
Thank you to the R authors and the foreign package authors in
particular. Importing from the SAS export
2011 Aug 29
2
Plot history
Dear R group,
I am trying to plot uisng a for loop. Here is the script:
for (i in unique(cfn$ID)){
plot(cfn$TIME[cfn$ID==i],cfn$DV[cfn$ID==i],pch=16)}
I could access only the last plot of the series and cannot go back to see
all the plots. I appreciate your help in resolving this issue and also
please suggest how I can export the plots as a pdf or other format files for
publication purposes.
2003 Jun 30
4
french map
Hello,
I would like to know if (as the usa map with Splus), it is possible with
R to plot the french map and to add points (representing towns for
instance) on the figure in the appropriate (x,y) system.
Thank you.
Nathalie Peyrard
2007 Dec 06
2
Implementation of rest in ROR
Hi all,
I am new to ROR world. I know the REST conceptually but find the
difficulties in implementation can anybody guide me that which is the
best book which i have to read. also some good links of implementation
of rest in ROR.
If anybody made a small application to restful in rails please forward
me that application.
i found some demo but i didn''t understand for what purpose they
2008 Dec 10
3
What is Judy?
I am trying to build Miredo 1.1.5
(http://www.remlab.net/miredo/devel.shtml.en)
I have followed the rpmbuild instructions from:
http://www.owlriver.com/tips/non-root/, and have the miredo source in
~/build/miredo-1.1.5.
I run ./configure (as the INSTALL text file tells me to do) and get the
error:
checking for Judy.h usablity... no
checking for Judy.h presence... no
checking for Judy.h...
2009 Apr 16
2
Count data with several numbers separated by commas
Dear all,
I have a data file with 3 variables (x1, x2, x3) where variable x1
have data that consists of several numbers separated by commas.
id name x1 x2 x3
aa101 1,4,5 2 1
aa102 1,2,5 1 2
aa103 1,2,5 1 1
aa104 1,2,3 1 2
aa105 1,5 2 2
aa106 1,2,5 2 2
aa107 1,2,5 2 1
aa108 1,4,5 2 1
aa109 1,2 1 2
aa110 3,5 1 2
I want to count the number of data for each
2008 Jan 08
3
tar bug in CentOS 4.6?
Since upgrading my server from CentOS 4.5 to 4.6 I've been getting the
following error from amanda backups:
mutilate /home lev 1 FAILED [compress got signal 11, /bin/tar got
signal 13]
I was away from the house for most of the end of December and had a
couple of other issues that came up that could have been related but
apparently weren't (why is it that several things all go wrong
2010 Mar 04
1
sum of list elements
Dear list,
I have some difficulty in manipulating list elements. More specifically, I
am performing svm regression and have a list of lists, called pred.svm. The
elements of the second list are 3D arrays. Thus I have pred.svm[[i]][[j]],
with 1<=i<=5 and 1<=j<=20.
I want to take the sum of the elements a specific array dimension across all
j, for one i. Mathematically speaking, I want
2007 Oct 09
1
Read in date fomat while colClasses="character"
Hi R users,
I am using xlsReadWrite to read a particular excel file. In one of the
columns I have dates ( say col=5). Now date column is read by default as
numeric. So I used dateTimeAs= "isodatetime". This enables reading in
the date format. However in the earlier column (say col=1) I have data
which however starts from row 10. So to read data from column one I use
2014 Sep 24
2
what is the xml fomat about memory-backend-file
Hi,
I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
How to write the XML file?
2014 Sep 24
0
Re: what is the xml fomat about memory-backend-file
On 09/24/2014 02:05 AM, Linhaifeng wrote:
> Hi,
>
> I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
Looking at tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.args, I
see several instances of "-object memory-backend-file...", so look at
the counterpart .xml
2014 Sep 28
0
Re: what is the xml fomat about memory-backend-file
On 09/28/2014 01:38 PM, Linhaifeng wrote:
>
> On 2014/9/25 2:05, Eric Blake wrote:
>> On 09/24/2014 02:05 AM, Linhaifeng wrote:
>>> Hi,
>>>
>>> I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
>> Looking at
2010 Aug 13
6
Equality of Vectors
Hello,
Is there a way to get a single TRUE or FALSE statement from comparing two
vectors? For example,
c(1,2,3) == c(1,2,3)
produces
TRUE TRUE TRUE
where I would like it to produce only
TRUE
for use in an if statement.
Likewise, when two vectors are not exactly identical (in all elements) I
would like a single FALSE result, as opposed to
c(1,2,3) == c(1,2,5)
TRUE TRUE FALSE
Any ideas?
2014 Sep 28
2
Re: what is the xml fomat about memory-backend-file
On 2014/9/25 2:05, Eric Blake wrote:
> On 09/24/2014 02:05 AM, Linhaifeng wrote:
>> Hi,
>>
>> I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
>
> Looking at tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.args, I
> see several instances of
2008 Sep 16
1
analyze subsample of dataframe
Hi there,
I'm dealing with a pretty big dataset (~22,000 entries) with numerous
entries for every day over a period of several years. I have a column
"judy" (for Julian Day) with 0 beginning on Jan. 1st of every new year (I
want to compare tendencies between years). However, in order to control for
a leap year (2004), I simply need to subtract 1 from every judy value for
the year
1999 Apr 03
5
Admin user
I want to create a user "samba" that has admin privileges over the
directory where Win95 apps will be installed, but does not have
root privileges.
Are their any problems with doing so?
Thanks,
Carey
=====================================================================e
<> Carey F. Cox, PhD | PHONE: (409) 880-8770 <>
<> Assistant