similar to: Newbie: Matrix indexing

Displaying 20 results from an estimated 1000 matches similar to: "Newbie: Matrix indexing"

2009 Aug 06
2
random between two values
Hi, I would obtain a random value between two (for example between 40.15 and 56.58 I would have only one value). I'm looking for a package/a function which could do this. Could anybody help me please? Cordialement Damien Landais
2009 Jun 26
3
to raise in a loop more than 1
I would raise x,y and z in a loop but I won't raise of 1. I tried this but it doesn't work mydata=matrix(nrow=1500,ncol=3) i=1 for(x in 0:10){ for(y in 0:20){ for(z in 0:10){ mydata[i,]=c(x,y,z) i=i+1 z=z+2} y=y+4} x=x+2} And I would have something like that x y z 0 0 0 0 0 2 0 0 4 0 0 6 0 0 8 0 0 10 0 4 0 0 4 2 ... Could anybody help me? I
2009 Jun 10
2
plot two variograms on a same graph
Hi, I would know how to plot two variograms on a same graph. I can plot one by one but I would draw both on the same one. Is it possible? Do i need any special package? Thanks! Cordialement Damien Landais
1999 Jan 14
3
Transferring data from S+ to R
I would like to know if there is an easy way to transfer all the data from a S+ directory (".Data" or "_data") to an R image? I would like to transfer all the functions and all the data sets (data frames, vectors, lists, etc.). I'm working under Windows NT and am using S+ 3.3 for Windows. Zivan Zivan Karaman Limagrain Genetics Research, B.P. 115, 63203 Riom Cedex,
2015 Jun 17
2
Default password recovery feature
Hi, we are using Samba4 since the first stable release, and we are fully satisfied. Our configuration is 2 DCs on opensuse13, samba 4.1.16 + bind, full sync (ad/gpo/netlogon), ~1k users, ~700 computers. We migrated to samba4 from the classic samba3/ldap backend without any big issue. We have the possibility to reset the password to the default one using a web form. On samba3/ldap we used the
2015 Jun 18
2
Default password recovery feature
Thanks for that, it's pretty much our server-side web form to re-init passwords. The problem is that I need to store somewhere as plaintext the default password for each user, which is prompted to change at the 1st connexion. I turned on "--store-plaintext on" via samba-tool and read "supplementalCredentials", looked for "Store passwords using reversible
1998 Jan 01
1
R-beta: R on NT
I'm having trouble with R on NT. Sept 1 97 version 50 in file rsept works fine, except I can't boost the memory - either with the menu or with DOS command Rsept -v50 In fact, if I run in DOS command mode (no shortcut) I get NT error window: errno 1411. But then R runs. With rseptbeta and rsept31 versions, R starts for a millisecond and then disappears. I've tried replacing the
1998 Sep 22
1
R-beta: Guido's Port
I am having problems accessing sirio.stat.unipd.it/pub/R so can't get to his latest port (Win95, v62.3, Guido's port.) I am being denied access. This may be a local problem with our network here, but is anyone else having a problem? Is that site mirrored anywhere that I might be able to access? Thanks! Jeff jmorris at cldx.com
2004 Jul 18
2
a problem: factors, names, tables ..
Hi all, I am *completely* lost in trying to solve a relatively simple task. I want to compute the relative number of occurences of an event, the data of which sits in a large table (read from file). I have the occurences of the events in a table 'tt' 0 2 10 11 13 14 15 15 6 1 3 8 15 10 .. meaning that event of type '0' occurs 15 times, type '2' occurs 6 times
1998 Nov 06
1
R-0.62.4 for MSWindows
Following the release of R-0.62.4, I have update my Win32's port. New features: - The console can be configured (font, colours, dimensions). No fancy dialog (yet), but look to the rw0624/etc/Rconsole file. - help.start() now is implemented. Of course, you need the html documentation. Bugs fixed (I hope): - Alt+Gr problems on some European keyboards. - Focus is 'always'
1998 Nov 06
1
R-0.62.4 for MSWindows
Following the release of R-0.62.4, I have update my Win32's port. New features: - The console can be configured (font, colours, dimensions). No fancy dialog (yet), but look to the rw0624/etc/Rconsole file. - help.start() now is implemented. Of course, you need the html documentation. Bugs fixed (I hope): - Alt+Gr problems on some European keyboards. - Focus is 'always'
2004 Feb 19
2
read.socket - Strange strings. How to force sub to remove all occurences of a pattern?
I am opening a connection to an apache server sending a get and then I am reading from the socket. All works finde except that I am getting some strange strings disrupting the html e.g. <FON\r\nffb\r\nT COLOR ... \r\na48\r\n \r\nffb\r\n They are not frequent ( a few of them) but of course make live hard. I cant observe them with lynx --source they dont occure. I am trying a workaround
2011 Nov 30
1
[PATCH] Canonicalise BTRFS: and Btrfs: to btrfs:
Currently there are 3 different capitalisations of btrfs: used in printk()''s, BTRFS: (3 occurences), Btrfs: (1 occurence) and btrfs: (77 occurences). It''s best to have them all the same for consistency, so we canonicalise the two minority cases to btrfs:. Signed-off-by: Chris Samuel <chris@csamuel.org> --- fs/btrfs/disk-io.c | 4 ++-- fs/btrfs/inode.c | 4 ++-- 2
2013 Jun 20
2
Dealing with negative weights
Hello guys. I am currently working on the DLH weighting scheme .The formula for DLH is very complex and it ends up giving negative weights to some documents because of the formula.Due to this,inspite of having occurence/occurences of the keyword, the documents with negative weights don't show up in the results at all. Please can I get some help on how to deal with this ? Or should I just leave
1998 May 07
3
R-beta: scripting with R?
I've been playing with R for a while using emacs ESS. I've started to like it a lot ( the beautiful S language was unknown to me before I dumped into R) I want to make some scripts to automate the display of some statistics on web pages. I started to look for ways of using R in a scripting environment but I could not find information on this. Is there a way to call R with command prompt
1998 May 07
3
R-beta: scripting with R?
I've been playing with R for a while using emacs ESS. I've started to like it a lot ( the beautiful S language was unknown to me before I dumped into R) I want to make some scripts to automate the display of some statistics on web pages. I started to look for ways of using R in a scripting environment but I could not find information on this. Is there a way to call R with command prompt
2005 Sep 29
2
Binary Logit Regression with R
Hi to all, I am a PH.D Student doing statistical analysis. I am totally new to R. I previously use Stata and am changing into R. I ususally do with logit regression with binary dependent variable (war occurence:1 or 0). I just want to know command to do that. More sepcifically, Let say, my Y is war occurence (occur=1, otherwise 0). And my independent variables (Xs) are trade, democracy,
2005 Nov 08
2
question about R graphics-example plot attached
---------- Forwarded message ---------- From: jia ding <dingjia at gmail.com> Date: Nov 2, 2005 4:03 PM Subject: question about R graphics-example plot attached To: r-help at lists.r-project.org Suppose I have the data set like this: A 1 3 7 10 B 5 9 13 The numbers here actually is A or B's occurence positions.So it means, position 1,3,7,10 is A;position 5,9,13 is B's occurence. I
2012 Mar 22
1
Replace sub string
Given: > filename<-paste(tempdir(),"\\","myfile.txt",sep=""); > sub("\\\\","/",filename); [1] "C:/DOCUME~1\\AJAYAS~1\\LOCALS~1\\Temp\\Rtmp2f270T\\myfile.txt" Note: Only the first occurence of \\ is replaced. What is the syntax for replacing every occurence? Thanks. [[alternative HTML version deleted]]
2007 Apr 27
1
Example of mcmcsamp() failing with lmer() output
Hi, I would appreciate help with the following model <<1>>= gunload <- read.table(hh('datasets/gunload.dat'), header = T) gunload$method <- factor(gunload$method, labels = c('new', 'old')) gunload$physique <- factor(gunload$group, labels = c('slight', 'average', 'heavy')) gunload$team9 <- factor(rep(1:9, each = 2)) @ This