Displaying 20 results from an estimated 3000 matches similar to: "substituting elements in vector according to sample(unique(vector))"
2003 Apr 02
8
lm with an arbitrary number of terms
Hello folks,
Any ideas how to do this?
data.frame is a data frame with column names "x1",...,"xn"
y is a response variable of length dim(data.frame)[1]
I want to write a function
function(y, data.frame){
lm(y~x1+...+xn)
}
This would be easy if n was always the same.
If n is arbitrary how could I feed the x1+...+xn terms into lm(response~terms)?
Thanks
Richard
--
Dr.
2013 Feb 20
1
[LLVMdev] Question about accessing coprocesser register in prologue
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130220/a080958f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201302201044290_44YDXKW4.gif
Type: image/gif
Size: 14036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130220/a080958f/attachment.gif>
2002 Oct 21
4
samba 2.2.6 name
Hi,
I've just installed samba 2.2.6 [solaris 2.6] and while ./smbstatus
(on solaris) reports version 2.2.6, network neighbourhood [ or net
view4] (on win 2k/win98) report
Samba 2.2.5
Any ideas?
ta
iain
--
--------------------------------------------------------------
Iain Morrison
MRC Cognition and Brain Sciences Unit
15 Chaucer Road Tel 01223 355294 xt 581
2019 May 29
3
Making a package CITATION file from BibTeX
Dear Colleagues,
I would like to provide a CITATION file for my package nat.nblast [1].
I have the correct citation in BibTeX format [2]. How can I convert this
BibTeX to the format needed by R for a package CITATION file (I have a
lot of other packages needing citations ...).
I think what I need is the opposite of RefManageR::toBiblatex [3]. This
seems like it should be a common need, so I
1998 Jul 16
2
R-beta: cite R -- how?
I want to cite R for an article. What is the right thing to do?
Shall I include "Notes on R" or is there a better way?
--
mailto:koloska at rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
-- --
right now the web page is in german only
but this will change as time goes by ;-)
2003 Feb 05
1
libvorbis on Classic MacOS
Hi all,
Those of you uninterested in classic MacOS as a target will probably
want to skip this email. I'm revisiting this platform, trying to get
music going for the game I'm working on. We're obviously using
OggVorbis on the other platforms we support (osx, linux, win32).
The problem is that our classic MacOS build is currently under MPW/MrC.
I can compile libogg/libvorbis fine
2006 May 09
4
ks.test one-sample - where can I get a list of the strings specifying the distribution?
Dear all,
One can use ks.test(x,y) for a one-sample kolmogorov-smirnov test:
x being the data sample
y being a string specifying a distribution
I notice the help on ks.test does not tell you how to get such a list. Is
this a hole in my R knowledge?
Where can I get a list of the strings specifying the possible
distributions?
and more specifically
What would be the string and following
2017 Feb 16
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
On Fri, 2017-02-17 at 07:48 +1100, Tom Robinson via samba wrote:
> Anyone?
Can you please post a gdb backtrace --full?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL:
1997 Dec 10
1
R-beta: Logistic regression....
Dear R-users
I am introducing my collegue to R and she is interested
to use R to perform Polytomous Logistic Regression
called also Multi-category logistic regression. Is there
any program in R doing this?
Thank you so much for any feedback.
I take this opportunity to thank people who were kind to answer my
query about how to include a postscript file generated from R, in a
latex
file and
2011 Dec 06
1
Read Windows BMP format images
Hello,
Does anyone know of an R package that can read Windows BMP format images? Many thanks,
Greg Jefferis.
--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology,
Hills Road,
Cambridge, CB2 0QH, UK.
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
2014 Nov 10
1
subscripting a data.frame (without changing row order) changes internal row.names
Dear R-devel,
Can anyone help me to understand this? It seems that subscripting the
rows of a data.frame without actually changing their order, somehow
changes an internal representation of row.names that is revealed by e.g.
dput/dump/serialize
I have read the docs and inspected the (R) code for data.frame,
rownames, row.names and dput without enlightenment.
df=data.frame(a=1:10, b=1)
2002 Apr 22
3
glm() function not finding the maximum
Hello,
I have found a problem with using the glm function with a gamma
family.
I have a vector of data, assumed to be generated by a gamma distribution.
The parameters of this gamma distribution are estimated in two ways (i)
using the glm() function, (ii) "by hand", using the optim() function.
I find that the -2*likelihood at the maximum found by (i) is substantially
larger than that
2000 Mar 16
3
MCMC
Hi
Does anyone know of any R coding/functions for MCMC approaches? I am
currently using BUGS but I wonder if the bazaar has produced anything? I
think I am pushing BUGS to it's limit and possibly past it at the moment.
John
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2012 May 08
9
What is the most cost effective hardware for R?
Has anyone got any advice about what hardware to buy to run lots of R
analysis? Links to studies or other documents would be great as would
be personal opinion.
We are not currently certain what analysis we shall be running, but our
first implementation uses the functions lme and gls from the library
nlme. To do one data point currently takes 1.5 seconds on our 3 year
old sunfire box, and
2004 Nov 03
4
Legend placement in barplot?
This has been asked before, but all the answers are hidiously complex.
The
legend.text=TRUE
option of barplot is almost exactly what I need, except I need a
legend.placement='tl'
(top left) option. This option would be in contrast to the default
placement which we could call 'tr' (top right).
Anyone know how to edit the barplot code to make this change? Could
someone like me
1999 May 29
2
Unexpected behaviour of read.table
When reading comma-delimited files as saved from a spreadsheet (unfortunately
many of my scientific collaborators give me these) in read.table(), missing
values are spotted most of the time. Unfortunately when comma is the first
character on the line it gets it wrong. For example, reading the file
1,,3
,5,6
,8,9
with
read.table("test.dat", header=F, sep=",")
R gives
2017 Jul 10
1
domain member idmap wbinfo WBC_ERR_DOMAIN_NOT_FOUND
On 10/07/17 17:05, Rowland Penny via samba wrote:
> On Mon, 10 Jul 2017 14:17:42 +1000
> Tom Robinson via samba <samba at lists.samba.org> wrote:
>
>> Hi,
>>
>> I've done a classic upgrade to from samba 3.6.23 to samba 4.6.5
>> bringing across all the user accounts. The samba 3.6.23 we set up
>> with smbldap as an NT Domain with OpenLDAP. After a
2009 Apr 02
3
WinBUGS breaks under WINE > 1.1.12
Dear Wine-friends,
I was wondering if any of you would have a clue around why WinBUGS (http://www.mrc-bsu.cam.ac.uk/bugs/), a nifty Markov chain Monte Carlo sampler widely used in Bayesian statistical modelling, no longer works when run through any version of WINE newer than 1.1.12.
I have encountered this issue of my machines at home (which runs on Zenwalk 6.0) and work (Mandriva 2008.1) a
2001 Nov 28
2
Why are looping variables not local?
Hello,
I've had a quick look on the list and can't find an answer to this niggle.
Whilst debugging some code, I noticed that looping variables in R are not
local to the loop as seams common in procedural languages.
For example consider the following piece of code:
for(i in 1:3){
cat(i,"")
for(i in c("a","b","c")){
cat(i,"")
2013 May 30
9
[PATCH v2 0/2] Implement VFP context switch for arm32
Hello,
This is the second version of this patch series.
I only implement the VPF context switch support for arm32 and add dummy function
to avoid compilation on arm64.
I have switched the order of the patch because the old second one can be applied
alone and the patch are cleaner :).
For all the changes see each patch.
Cheers,
Julien Grall (2):
xen/arm: don''t enable VFP on XEN