Displaying 20 results from an estimated 1100 matches similar to: "a question regarding s-plus libraries and R"
2003 Oct 08
3
2 questions regarding base-n and identifing digits
Dear listers,
I have two questions:
(1)
Is there a way in R to change the base-n of the calculations. I wnat to run
some calculations either in binary (base-2) or base-4. Is there a way to
specify that in R - to chnage from the decimal?
(2)
I also want to extract the digits from a larger number and store them as a
vector.
I could do it through converting top string, parsing the string and
2003 Sep 06
1
automatic model specification
Dear listers,
I must first say that all the suggestions and help I
got from the list so far was of great help to my work.
I approach you with another question. Is it possible
to generate an automatic specification of the formula
for lme (or other models in R)? Let me clarify. I'm
using models in a simulation run and can have variable
number of variables in the data. I would like to
generate
2003 Sep 30
2
FW: error predicting values from the LME
HI all,
I might add some more information in order to possibly solve my problem. I'm
really stuck and no obvious solutions do the trick.
I'm using R 1.7.1 on Windows 2000 with the packages regurarly updated.
I'm using hypothetical data constructed as a pseudo population conforming to
a certain Var-Cov structure.
I might add that just
> predict(level2)
works. But when I add the
2003 Jun 25
2
within group variance of the coeficients in LME
Dear listers,
I can't find the variance or se of the coefficients in a multilevel model
using lme.
I want to calculate a Chi square test statistics for the variability of the
coefficients across levels. I have a simple 2-level problem, where I want to
check weather a certain covariate varies across level 2 units. Pinheiro
Bates suggest just looking at the intervals or doing a rather
2003 Sep 03
1
glmmPQL probelm
Dear listers,
First let me appologize if the same mail arrives multiple times. Recently I
had some probelms sending my e-mails to the list.
I encountered a problem when running glmmPQL procuedure doing multilevel
modeling with a dichotomous outcome.
Those are the two error messages I usually get:
Error in logLik.reStruct(object, conLin) :
NA/NaN/Inf in foreign function call (arg 3)
2003 Oct 25
0
memory optimization and use of recursion
Hi listers,
In light with the recent discussion on the optimizing the use of memory in
straneous proceudres i present you m problem, and hope to some additional
ideas.
I'm running a simualtion that in each step uses quite an amount of memory
(but not exceedingly) - just to give you an idea - I create a pseudo
population (n=1000, m=3) run lme and lm model and multiply impute (M=5) and
do the
2003 Sep 29
0
predicting values from the LME
Dear listers,
I experinced a problem prdicting the values using the LME with multilevel
data.
I have NA's in my dependent variable and the model is fitted only on the
completed cases.
I want to estimate the predicted values for the rest of the data (those
cases with missing dep. variable)
I extracted a subset from the original file containing the variables used in
the model as well as the
2004 Feb 08
0
bootstrap estimates for lme
Dear listers,
I would like to get the bootstrap estimates form my lme model.
I have an HLM (multillevel) 2-level model with the dichotomous outcome. I
used glmmPQL procedure. However I have a problem since I have a rather
unbalanced proportion (90-99% of events, i.e. ones and only 1-10% of
nonevents - zeros) although sample sizes are not that small between 500 and
1000 I get pretty weird and
2004 Feb 09
10
PhD student reading list, suggestions wanted
I've got a PhD student starting this year.
She'll be working on data mining.
She has asked for a reading list while she's still in her home
country, which is a really good sign.
Her cosupervisor and I don't (think we) have any problem with
choosing things that are specifically about data mining, but
there are some statistical ideas (sampling, exploratory-vs-confirmatory,
2003 Oct 02
8
r editors
Hi ,
I am programming on a windows system and have problems
using notepad which is my main editor.Each time I try
to open the editor from the R IDE, R crashes.
So I always have to copy my codes from notepad and
paste in R to run them.
CAn someone tell me if I am doing anything wrong or is
there a better editor(freeware) which I could get.
thanks
cilver
=====
=====================
Sylvie B.
2003 May 11
1
NLME - multilevel model using binary outcome - logistic regression
Hi!
I'm pretty raw when working with the R models (linear or not).
I'm wondering has anybody worked with the NLME library and dichotomous
outcomes.
I have a binary outcome variable that I woul like to model in a nested
(multilevel) model.
I started to fit a logistic model to a NLS function, but could not suceed. I
know there are better ways to do it in R with either the LRM or GLM wih
2004 Feb 10
4
The ttest.c example in R under MS Windows
We are trying to compile and run the ttest.c example that comes with R (in
C:\Program Files\R\rw1081\src\library\windlgs\src\ttest.c). After compiling
it with MS Visual C++ we load the DLL with dyn.load.
So far it seems good, but when we try to call it from R (after running
C:\Program Files\R\rw1081\src\library\windlgs\R\windlgs.R) R crashes.
We have tried changing the exports from DLL but have
2010 Oct 18
2
Randomly shuffle an array 1000 times
Dear List,
I have a table i have read into R:
Name Yes/No
John 0
Frank 1
Ann 0
James 1
Alex 1
etc - 800 different times.
What i want to do is shuffle yes/no and randomly re-assign them to the name.
I have used sample() and permute(), however there is no way to do this 1000 times. Furthermore, i want to copy the data into a excel spreadsheet in the same order as the data was input so i can
2011 May 06
1
(no subject)
I'm using the survey api. I am taking 1000 samples of size of 100 and
replacing 20 of those values with missing values. Im trying to use
sequential hot deck imputation, and thus I am trying to figure out how
to replace missing values with the value before it. Other things I have
to keep in mind is if there are two missing values side by side, how do I
replace both those values with the
2006 Jan 17
6
For each element in vector do...
Dear R useRs,
I have a vector with positive and negative numbers:
A=c(0,1,2,3,0,4,5)
Now if i-th element in vector A is > 0, then i-th element in vector B
is a+1
else i-th element in vector b=a (or 0)
vector A: 0 1 2 3 0 4 5
vector B: 0 2 3 4 0 5 6
What's the right way to do this. I still have some problems with for and
if statements...
Cheers, Andrej
2006 May 26
3
Vector elements and ratios
Dear useRs,
I have two different length vectors: one column (1...m) and one row
vector (1...n):
20
40
20
60
5 4 2
Now I have to calculate ratios between column vector elements and each
row vector elements:
4 5 10
8 10 20
4 5 20
15 12 30
Thank's in advance for any suggestions,
Andrej
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
Hai Andrej,
Oeps, Sorry, my mistake 4.6.x needs at least 1.1.29.
But you can upgrade to 4.6.x ;-)
Check again and if that problem then still exists,
then i think you can better ask this one in the samba-technical list.
Or if Rowland knows something more about this.
One tip, wait untill tomorrow or the weekend, there wil be a new release due to the regression bug.
There planning is to be
2003 Sep 19
5
couldn't write to home dir
hello,
I try to use samba as PDC on NetBSD,
but I 've had problem with that combination..
samba work perfectly..but
if someone want to write into homedir, they couldn't,
and w2k workstation appear message ,
that disk is full..
disk isn't full, and permission are set correct
I don't know, where should be a mistake,
I check configuration problably 100x,
but I haven't found any
2017 Nov 09
2
samba_kcc RODC failes with NT_STATUS_ACCESS_DENIED
Hello Rowland,
of course it will be started by samba, I saw this output if I run "samba -i".
But I can trigger this output also by starting samba_kcc manually.
Andrej
-----Ursprüngliche Nachricht-----
Von: Rowland Penny [mailto:rpenny at samba.org]
Gesendet: Donnerstag, 9. November 2017 14:04
An: samba at lists.samba.org
Cc: Andrej Gessel <Andrej.Gessel at janztec.com>
2006 Jan 25
3
read.table problem
Dear R useRs,
I have big (23000 rows), vertical bar delimited file:
e.g.
A00001|Text a,Text b, Text c|345
A00002|Text bla|456
...
..
.
Try using
A <- read.table('filename.txt', header=FALSE,sep='\|')
process stop at line 11975 with warning message:
number of items read is not a multiple of the number of columns
I have no problems with processing similar file, which is