Displaying 20 results from an estimated 800 matches similar to: "to modify a vector"
2003 Feb 08
3
to modify a matrix
Hi All.
I am quite a newbie to R.
This is a next basic question.
I have a matrix;
> x <- matrix(1:10.,5)
> x
[,1] [,2]
[1,] 1 6
[2,] 2 7
[3,] 3 8
[4,] 4 9
[5,] 5 10
I like to get a modified matrix as follows;
[,1] [,2]
[1,] 1 6
[2,] 2 7
[3,] 3 8 * 5 -> 40
[4,] 4 9
[5,] 5 10
The following expression does not work.
2003 May 20
1
How to use pakcage SEM
Hi.
I have tried to use Package "SEM".
As a learning, I try to convert a program running well of EQS
which is as follows to SEM:
### EQS ###
/SPECIFICATION
CAS=100; VAR=5 MAT=COR; ANA=COR;
/EQUATIONS
V1=*F1+E1; V2=*F1+E2; V3=*F1+*F2+E3; V4=**F1+*F2*E4;
V5=*F2+E5;
/VAR
E1 TO E5=*; F1*1.0; F2=1.0;
/COV
E1,E2=*; F1,F2=*:
/PRINT
FIT ALL;
/MATRIX ......
/END
This is the converted SEM
2003 May 24
1
Can Package SEM do mean structural analysis?
Hi.
I am wondering whether Package SEM can do with intercepts and
means in its structural analysis.
If it can not calculate, how can I make a supplemental function
in R?
Many thanks in advance.
--------========----------
Mitsuo Igarashi
mitsu5 at ruby.famille.ne.jp
2003 Feb 09
0
to modify a matrix : Summary
I truly thank for evrybody to give me many very
good answers and suggestions.
I like to summarize the replies with their results
when excuted on R and with my comments.
My question is
> x <- matrix(1:10.,5)
> x
[,1] [,2]
[1,] 1 6
[2,] 2 7
[3,] 3 8
[4,] 4 9
[5,] 5 10
there is a matrix. On condition x[? ,1]=3, how to modify the
appropriate location to be
2010 Oct 20
2
ldap user suffix
Dear friends
My domain users in two diffrent OU, one OU is TEMP_USERS and other OU
is PEOPLE.
What i should mention in smb.conf ?
If i mention
ldap user suffix = ou=PEOPLE, then
users of ou TEMP_USERS is not able to authenticate.
Please guide me.
Thanks
--
http://linuxinterviews.blogspot.com
2005 Sep 08
3
R API call from delphi
Hello,
Has anyone tried to call R API from Delphi under windows ? How was it done if it was ? Or has anyone any idea about how it could be done ?
Thanks for your answers
Laurent Tessier
[[alternative HTML version deleted]]
2009 Jan 29
1
a large file available?
I need to deal with a large file (about more than 2G [byte]) with
eventmachine.
I wrote a simple program with using "stream_file_data" as send a large file
from client to server. But It didn''t work.
Applying below a quick fix patch, I think it works well.
Could you go over this patch?
Regards,
--
Kuroishi Mitsuo
diff -rup
2004 Apr 29
1
problem with pca
Hello
I have some kind of problem with R.
I want to do a pca (I work on R and ade4 library) but R doesn't wan to
realize my pca because of my data:
I have some binary variable (presence/absence of birds, hole, vegetals...)
and metric variable (cliff 's size...) and each time I have an error message
because of the mix of the 2 type of variable.
So, what can I do?
Famille SALMON
2003 Jun 12
1
Problème en R
Bonjour,
Je suis ?tudiant stagiaire ? Paris et je rencontre quelques difficult?s en
programmation R.
J'ai une data frame compos?e de 4 colonnes et 250 lignes et dont chaque
ligne est une famille.
J'ai fait un tirage al?atoire avec remise des familles 250 fois ce qui
m'am?ne ? une nouvelle dataframe.
A cette nouvelle dataframe, j'applique un programme qui calcule 2 param?tre
X1
2006 Apr 26
3
drop downs
I''m having trouble getting a second drop down populated based on the
value from the first drop down. I''ve tried following some of the
examples posted, but haven''t had any success. I''m new to RoR so any help
would be appreciated. When the first drop down''s value gets changed, it
calls the correct method in the controller and even finds the correct
2006 May 02
3
file_column : _temp field always nil
Hi,
I''m trying to set up file_column to upload attachments for emails. My
view has <td align="left"><%= file_column_field ''to_do'', ''attachment''
%></td> and the attachment_temp hidden field is generated. When I
inspect tthe params on saving the form the attachment_temp param is
always an empty string. Also, when I was
2010 Oct 28
3
ACtive directoryin Ubuntu
Hi,
My name is Tommie, I am new to tthe list...greetings to you all.
I have a couple of quetions.
Our college network is running on Debian and Ubuntu, we are trying to
migrate the rest of the services to Ubuntu... the Active Directory is
the one that is still using windows. My questions are:
How can i substitute the windows Active Directory by Samba?
How can i migrate Active Directory users to
2006 Jan 19
6
Dynamic Programming in R
Hi R users,
I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were people out there who had expereinced success at using R for such applications. I'd rather continue in R than learn Mathlab.
A concern that has been cited that may discourage R use for solving dynamic programs is its memory handling abilities. A senior researcher had a lot of
2015 Apr 05
7
[Bug 89912] New: Sometimes Nouveau hangs kernel with PGRAPH engine fault
https://bugs.freedesktop.org/show_bug.cgi?id=89912
Bug ID: 89912
Summary: Sometimes Nouveau hangs kernel with PGRAPH engine
fault
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2006 Aug 14
2
finders et sous-classes
Bonjour, c''est ma premi?re question ici car d''habitude il me suffit de
parcourir de tels forum pour trouver r?ponse ? mes questions.
Donc cette fois, c''est du s?rieux, je n''ai pas r?ussi ? trouver la
moindre ?vocation ? mon probl?me.
Je vous explique.
J''ai une famille de mod?les :
class Attachement < ActiveRecord::Base
...
end
class Illustration
2017 Dec 27
2
Chromebook AD integration fails on joining the domain
Hi,
I am testing Google's recent ability to integrate Chromebooks into AD and
it's failing when I try to join the device to the domain. When I run
wireshark during the test I notice 2 TGS-REQs from the device that are
answered with KRB5KDC_ERR_ETYPE_NOSUPP. The Chromebook is only passing
AES256-cts-hmac-sha1-96 and AES128-cts-hmac-sha1-96 as enc types. I was
getting the same result from
2006 Sep 14
5
Beta stochastic simulation
Hi,
I am finding that I get quite different results when I interchange the
following "equivalent" lines for sampling from a beta distribution in my
r script. The rbeta line is correct judging by the summary statistics of
the simulated values, while the qbeta line consistently leads to a
higher mean simulated value.
simulation <- rbeta(1, alpha, beta)
simulation <- qbeta(runif(1),
2008 Mar 11
1
Jpeg and pixel
Hi guys,
I've got tthe following question:
Why do my fonts look a bit grubby when I use the jpeg() function? I see
the pixels of the font. The quality is set to 100%.
If this is normal with jpeg(), which function would you propose me to
use instead?
Kind regards,
Thomas
________________________________
I'm using R 2.6.2 on Windows XP, SP2
[[alternative HTML version deleted]]
2007 Sep 12
2
Problems with Asterisk behind a firewall
Hi all,
I have set up Asterisk and I am able to register with my SIP provider and receive calls.
When I try to register with Asterisk from outside I can place calls but tthe other person can't hear me.
Have opened port 5060 UDP as well as port 10000 to 20000 UDP. Any ideas?
Thanks,
Christian
2014 Sep 25
1
RPM install/upgrade problem
Hi,
For the last few updates I'm having a yum problem.
# yum update
gives the following error for e.g.
Running transaction
Updating : bash-4.2.45-5.el7_0.2.x86_64 1/10
Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
error: unpacking of archive failed on file /usr/bin/alias;5423b9bc:
cpio: open
The same problem happens if I try to use rpm for the update so it