Displaying 20 results from an estimated 2000 matches similar to: "error : subscript out of bounds"
2010 May 27
2
clustering in R
i have a matrix with the following dimensions
136 3
and it looks something like
[,1] [,2] [,3]
[1,] 402 675 1.802758
[2,] 402 696 1.938902
[3,] 402 699 1.994253
[4,] 402 945 1.898619
[5,] 424 470 1.812857
[6,] 424 905 1.816345
[7,] 470 905 1.871252
[8,] 504 780 1.958191
[9,] 504 848 1.997111...............
2010 Jun 25
1
dimnames(x) <- dn error
Hi ,
I want to assign names to the rows in my matrix so that when I use the
'agnes' function from R cluster package , the dendogram that is produced
represents the rows of the matrix. This way I would know what elements in
the matrix are clustered together. But when I do the following,
rownames(distF) <- paste("A",dim(distF)[1])
it gives the following error;
Error in
2010 Jan 29
5
random permuted block randomization
Hi,
I am very new to R. Just started yesterday. I have to generate a sequence of
40 random treatments using permuted block randomization with a block size of
8. Then I have to plot moving averages for the resulting sequence. I have
tried the sample function but I dont know if wht i did is right or not
> sample(c(1,1,1,1,2,2,2,2),8)
Any ideas please?
--
Ayesha Khan
MS Bioinformatics
Dept. of
2015 Jan 23
2
Multiple attributes
Hi All
I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow
me to add multiple mail attributes, here is my ldif of user.
dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: ayesha
name: ayesha
sAMAccountName: ayesha
userPrincipalName: Ayesha Umar
objectCategory:
2015 Jan 23
3
Multiple attributes
Ho Mourik
Thanks for your reply, any other attribute which we can duplicate?
Br.
Umar
On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit <
heupink at merit.unu.edu> wrote:
> Hi,
>
> In AD, the attribute mail can only exist once.
>
> MJ
>
> On 01/23/2015 05:27 AM, Umar Draz wrote:
>
>> Hi All
>>
>> I am tying to create a user in SAMBA 4
2010 May 20
2
Overlap of leaf labels
Hi,
I have tried looking at the archives but havent found any answer that works
till now (Sorry if i have missed anything)
I am a newbie to R and i am trying to carry out hierarchical clustering
using hclust -> as.dendrogram and then plotting the results as a dendrogram
using the plot function plot(object).
My question is :
In the function "plot", can one decrease the leaf label
2006 Apr 24
1
Re: Shielding of T1/E1 cables WAS RE: PinoutsforT1/E1 crossover
> Close. 10/100mbps Ethernet uses wires 1,2,3,6 but that is pair 2 & 3.
> Pair
> one is the pair up the dead center (pins 4&5), pair 2 is pins 1&2,
pair 3
> is
> 3&6 and pair 4 is 7&8. A T1 uses pairs 1&2, which is why you can't
use a
> regular crossover cable for a T1 crossover, but you can use a regular
> ethernet patch cable as a T1 patch
2008 Aug 25
1
"unexpected symbol" error?
Hi. I am getting an "unexpected symbol" error, which I haven't gotten
before. I have checked my data and searched the FAQ. I hoping someone
has a suggestion on what I might be doing wrong? Thanks!
A. Gray
Fisheries Consultant
Here's the code I'm using and the error:
> 0708smolts <- read.csv("C:\Documents and Settings\ayesha\My
2015 Jan 23
0
Multiple attributes
On 23/01/15 09:44, Umar Draz wrote:
> Ho Mourik
>
> Thanks for your reply, any other attribute which we can duplicate?
>
> Br.
>
> Umar
>
> On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit <
> heupink at merit.unu.edu> wrote:
>
>> Hi,
>>
>> In AD, the attribute mail can only exist once.
>>
>> MJ
>>
>> On
2012 Jan 12
1
problems with method ken.sto in package soil.spec: subscript out of bounds
Hi All,
I would like to use Kennard-Stone algorithm for splitting a dataset.
> mydata <- read.csv(url("http://www.ats.ucla.edu/stat/r/dae/binary.csv
"))
> library("soil.spec")
> ken.sto(mydata,per.n=0.3)
Error in ken.sto(mydata, per.n = 0.3) : subscript out of bounds
I found that other people run into this problem as well:
2011 Mar 18
0
apply function returning different results
For some reason when I apply a function to a single row in R it works, but
when that same row is in a data.frame it does not, see below:
apply(dx[954,], 1, query.db)
2571
1092 0.06044147
3890 0.05948577
3273 0.05911261
794 0.05855583
4241 0.05854064
3560 0.05602690
apply(dx[954:955,], 1, query.db)
$`2571`
numeric(0)
$`1194`
908 3754 5119 2835
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
2010 May 25
1
Hierarchical clustering using own distance matrices
Hey Everyone!
I wanted to carry out Hierarchical clustering using distance matrices i have
calculated ( instead of euclidean distance etc.)
I understand as.dist is the function for this, but the distances in the
dendrogram i got by using the following script(1) were not the distances
defined in my distance matrices.
script:
var<-read.table("the distance matrix i calculated",
2009 Nov 04
4
read.table (again)
Dear R commnuity,
Thanks a lot for your help.
I want to read in tables, the problem is that the table is composed in a
difficult way. In ariginal it looks like this:
669 736 842101610481029114711811166124312081128117611221026 9581024 992
685 720 829 925 995 96010241057116611501104106410711092 983 908 989 904
924 896 882 897 909 933 928 907 916 902
546 734 784 868 970 954
2017 Jul 13
2
Help with R script
Dear R-help Group
Scenario 1:
I have a text file running to 1000 of lines...that
is like as follows:
[922] "FieldName: Wk3PackSubMonth"
[923] "FieldValue: Apr"
[924] "FieldName: Wk3PackSubYear"
[925] "FieldValue: 2017"
[926] "FieldName: Wk3Code1"
[927] "FieldValue: "
[928] "FieldValue: K4"
[929] "FieldName:
2011 Apr 29
0
mlogit package, "Error in X[omitlines, ] <- NA : subscript out of bounds"
I am using the mlogit packages and get a data problem, for which I
can't find any clue from R archive.
code below shows my related code all the way to the error
#---------------------------------------------------------------------------
mydata <- data.frame(dependent,x,y,z)
mydata$dependent<-as.factor(mydata$dependent)
mldata<-mlogit.data(mydata, varying=NULL,
2010 Dec 08
1
Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds
I have a for-loop in my code that calls another .R file:
source("estimation.R")
This file runs through without any problems, so the program completes the loop one time. However, when the loop starts a second time and it comes time to call the file "estimation.R" again, program stops and prints the following error message:
"Error in eval.with.vis(expr, envir, enclos) :
2012 Jun 25
1
Arules - predict function issues - subscript out of bounds
Hi,
I'm doing a Market Basket Analysis in which I have a list of transaction
id's in column 2 and transactions(product names) in column 1. I read this
into a transaction file using a
txn<-read.transaction(file="data.csv",format='single', rm.duplicates=F,
cols=c(1,2))
If I want to use the apriori algorithm everything seems to be running fine.
However it is when I want
2010 Mar 14
1
Error in object$tables[[v]] : subscript out of bounds
Hi,
Could you please tell me how I correct the following error message?
“Error in object$tables[[v]] : subscript out of bounds”
This is the code:
library(e1071)
data(iris)
attach(iris)
class_label <- names(iris)[1]
myformula <- formula(paste(class_label,"~ ."))
mymodel<-naiveBayes(myformula, iris,cross=3)
predict(mymodel,iris) ##Error in object$tables[[v]] :
2007 Feb 14
0
[Bug 545] New: Array subscript is above array bounds
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=545
Summary: Array subscript is above array bounds
Product: iptables
Version: CVS (please indicate
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ip6tables
AssignedTo: laforge@netfilter.org