Displaying 20 results from an estimated 1000 matches similar to: "about the subscript assignment porblem"
2002 Jan 13
0
weighted regression: Osius & Rojek's test for logistic regression models
Dear all,
I am trying to implement goodness-of-fit tests for logistic regression
models described in : Hosmer, D.W., Lemeshow, S., 2000. Applied logistic
regression. New-York, John Wiley & Sons, Inc., 373 p. (pp. 152-154)
Namely I would like to reproduce Osius & Rojek's test (Osius, G., Rojek,
D., 1992. Normal goodness-of-fit tests for multinomial models with large
degrees of
2008 May 06
0
Porblem with custom analyzer
Guillaume Guillaume wrote:
> Hi,
>
> I m trying to set French stop Words.
> So i created a file called "FrenchStemmingAnalyzer.rb" and i put it in
> /lib of my rails App.
>
You might want to follow standard naming convention and rename the file
to: ''french_stemming_analyzer.rb'' instead. Then drop a line like:
require
2010 Sep 08
0
Correction to vec-subset speed patch
I found a bug in one of the fourteen speed patches I posted, namely in
patch-vec-subset. I've fixed this (I now see one does need to
duplicate index vectors sometimes, though one can avoid it most of the
time). I also split this patch in two, since it really has two
different and independent parts. The patch-vec-subset patch now has
only some straightforward (locally-checkable) speedups for
2005 Apr 29
0
handling of zero and negative indices in src/main/subscript.c:mat2indsub() (PR#7824)
This message contains a description of what looks like a bug, examples
of the suspect behavior, a proposed change to the C code to change this
behavior, example of behavior with the fix, and suggestions for 3 places
to update the documentation to reflect the proposed behavior. It is
submitted for consideration for inclusion in R. Comments are requested.
Currently, the code for subscripting
2006 Sep 21
1
Other domain sequence numbers are -1
Everyone,
I have configured a new SLES 10 server exactly the same as I
had previously configured a SLES 9 server. The only difference is the
version of samba. On the SLES 10 server, I am running the 3.0.23c
level, the SLES 9 server is behind a little. My problem is with
connecting to other AD domains. Only my default domain has a valid
sequence number. All the other domains are
2019 Jun 11
2
Can't join Linux host to AD - "Improper format of Kerberos configuration file"
Hi,
when trying to add a Linux host (CentOS7) that is supposed to act as a file server to AD I get:
# net ads join -U administrator
Enter administrator's password:
kerberos_kinit_password administrator at IERLAB.UX.UIS.NO failed: Improper format of Kerberos configuration file
Failed to join domain: failed to connect to AD: Improper format of Kerberos configuration file
Here's my
2012 Dec 29
2
Error in plot.envfit(ef, p.max = 0.1) : (subscript) logical subscript too long
Hello there,
I'm trying to plot vectors with p<0.1 in a NMDS ordination plot using p.max. Below the scripts I'm using. I guess I'm missing something! could you please give me a hand?
species<-metaMDS(species_matrix)ef<-envfit(species,environmentaldata_file,permu=999,na.rm=TRUE)efplot(species, dis="sites")plot(ef,p.max=0.1)
Error in plot.envfit(ef, p.max = 0.1) :
2008 Jul 24
2
NAs - NAs are not allowed in subscripted assignments
Dear List,
I ran into some trouble handling missing values.
Assume 2 vectors (numeric) including NAs
a <- c(rep(seq(1,4),4),NA,NA)
b <- c(sample(1:2,14,replace=T),NA,NA,1,2)
I want to replace the values of vector a that are smaller than 2 and
larger than 3 into NAs only in case vector b equals 1
a[b==1][a[b==1]<2 | a[b==1]>3] <- NA
The following error accurse:
NAs are not
2005 Apr 03
1
Error: NAs are not allowed in subscripted assignments: change from R.1.9
Hi,
There seems to be a change in 2.0.1 in the workings of subscript
assignments with missing values.
# This is R.2.0.1
# assignment w/ missing index doesn't work when right-hand-side is a
matrix. It did work in 1.9.1
> x = matrix(1, 2, 2); x[c(1,NA),] = x
Error: NAs are not allowed in subscripted assignments
# it does work for a vector
> x = matrix(1, 2, 2); x[c(1,NA),] = 1
Is this
2005 Nov 10
1
converting a character string to a subscripted numeric variable
Dear R-helpers:
It seems that I have a mental block. (Some say that it sits atop my
shoulders.)
For reasons too tedious to retell I have an R object:
> input.line[7]
[1] "-13.24, -11.24, -9.24, -7.24, -5.24, -3.24, -1.24, 0.76, 2.76, 4.76,
6.76, 8.76, 10.76, 12.76, 14.76, 16.76, 18.76, 20.76, 22.76, 24.76, 26.76,
28.76, 30.76, 32.76, 34.76, 36.76, 38.76, 40.76, 42.76, 44.76, "
2009 Jan 08
1
NAs are not allowed in subscripted assignments
Browse[1]> j <- c(1,2,NA)
Browse[1]> j[j==1][-1]
[1] NA
Browse[1]> j[j==1][-2]
[1] 1
Browse[1]> j[j==1][-2] <- 2
Error during wrapup: NAs are not allowed in subscripted assignments
As far as I can see, I have no NA in the lhs (not after the second
subscript anyway).
Besides, I have a single value on the rhs, so it should be allowed to
have NAs in the lhs, according to
2009 Jan 30
2
Problem installing RMySQL ("S4R.h:40:17: error: S.h: No such file or directory"?)
Hi,
I'm trying to install RMySQL and I keep hitting errors. My computer is:
uname -a
Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686
i686 i386 GNU/Linux
I have set the following environment settings:
export PKG_LIBS="-L/usr/lib/mysql -lmysqlclient"
export PKG_CPPFLAGS="-I/usr/include/mysql"
I run the following command:
R CMD INSTALL
2010 Dec 13
0
odot symbol as a subscript in axes labels
Dear R users,
do you know how to print the latex "\odot" symbol subscripted to axes
labels?
Thank you in advance
Gaetano
2009 Feb 27
0
POSIXlt, POSIXct, strptime, GMT and 1969-12-31 23:59:59
R-devel:
Some very inconsistent behavior, that I can't seem to find documented.
Sys.setenv(TZ="GMT")
str(unclass(strptime("1969-12-31 23:59:59","%Y-%m-%d %H:%M:%S")))
List of 9
$ sec : num 59
$ min : int 59
$ hour : int 23
$ mday : int 31
$ mon : int 11
$ year : int 69
$ wday : int 3
$ yday : int 364
$ isdst: int 0
- attr(*, "tzone")= chr
2010 Jan 18
0
Fix for bug in match()
Hello all,
I posted the following bug last week:
# These calls work correctly:
match(c("A", "B", "C"), c("A","C"), incomparables=NA) # okay
match(c("A", "B", "C"), "A") # okay
match("A", c("A", "B"), incomparables=NA) # okay
# This one causes R to hang:
match(c("A",
1999 Oct 08
1
dimnames and subscripting (PR#293)
I am not sure that this is a bug, but it was unexpected -- of course my
expectations are fallible, eg column ordering in model.matrix()! When an
array is subscripted the names of the dimnames list are lost (v 64.1).
fred <- array(1:12, 2:4, list(A = letters[1:2], B = letters[3:5], C =
letters[6:9]))
dimnames(fred)
dimnames(fred[1, , ])
dimnames(fred[1, , , drop=FALSE])
In the first
2008 Jun 24
2
subscripting in data frames with NA
Dear list:
Given
> str(b3)
'data.frame': 159 obs. of 6 variables:
$ index_pollution : num 8.228 10.513 0.549 0.915 10.416 ...
$ position_descrip: chr "2" "2" "2" NA ...
$ position_geo : chr "3" "0" "3" "3" ...
$ institution : Factor w/ 3 levels "digesa","mem",..: 3 3 3 3 3 3
2019 Jun 11
2
Can't join Linux host to AD - "Improper format of Kerberos configuration file"
> -----Original Message-----
> From: samba <samba-bounces at lists.samba.org> On Behalf Of Rowland penny via
> samba
> Sent: 11. juni 2019 14:59
> To: samba at lists.samba.org
> Subject: Re: [Samba] Can't join Linux host to AD - "Improper format of
> Kerberos configuration file"
>
> On 11/06/2019 13:41, Andreas Habel via samba wrote:
> > Hi,
2013 Jan 21
4
missing values are not allowed in subscripted assignments of data frames
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130121/317d3f7b/attachment.pl>
1997 Jul 30
0
R-alpha: line types
Responding to my own post, after some hacking:
To fix the behavior of the following test code (the rect()s inherit the
lty set by the previous abline())--
x _ (1:100)/10
plot(x,sin(x))
abline(h=0,lty=2,col="red")
rect(1,0,2,0.5)
abline(v=2)
rect(3,0,4,0.5)
Here are some diffs (now all I have to do is wade through and get lwd
working properly ...)
*** devX11.c.orig Tue Jul 29