similar to: Subscript

Displaying 20 results from an estimated 170 matches similar to: "Subscript"

2008 Apr 26
6
resolution (dpi) problem
I am using R 2.4.1 with Windows XP. I use the plot command in a fairly simple script and I use the right mouse click on the plot and save as a postscript file. I used the resultant file in a paper which was submitted electronically. However, I get the following response from the journal: Your manuscript has been unsubmitted because you failed to meet the submission guidelines as indicated
2009 Feb 19
0
Log rank test power calculations
It returns a chi-squared statistic with one degree of freedom. -- David Winsemius -------------- Original message ---------------------- From: Timthy Chang <henchao.chang at gmail.com> > > > >See the cpower() and spower() functions in Frank Harrell's Hmisc package > >on CRAN. > > > >HTH, > > > >Marc Schwartz > > How to calculate the
2007 Aug 24
3
changing text direction of mtext
Hello, Does anyone know if it's possible to change the text direction of mtext? I'd like to use 'mtext(side=2)' but the text should be 'left-to-right'. I couldn't find an argument for that in the help files. Thanks for any suggestions Tobias -- View this message in context: http://www.nabble.com/changing-text-direction-of-mtext-tf4321931.html#a12307342 Sent from
2007 Aug 20
2
Labelling certain points on the x-axis
Hello, I created an empirical distribution function: x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 <- ecdf(x) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = "f(x)", xlab = "x", main = "Figur 2.5 Empirische Verteilfunktion", xlim = c(1,5.5)) abline(h= (0:5)*0.2) Now I would like to label the points on the
2007 Sep 21
1
Error: (subscript) logical subscript too long
As part of a larger program I have a rather long and involved sub-procedure which fails to work, It manipulates some large matrices, stored to the disc. The procedure halts with the message: Error: (subscript) logical subscript too long Can anyone give advice about what may cause this error and how it can be remedied - I feel confident that it is not a syntactically or logical error. Thanks,
2012 Apr 02
1
Error: (subscript) logical subscript too long
Hello, I am trying to perform a logistic regression using counts. For example: cedegren <- read.table("http://www.cloudstat.org/index.php?do=/attachment/download/id_95 /", header=T) attach(cedegren) ced.del <- cbind(sDel, sNoDel) ced.logr <- glm(ced.del ~ cat + follows + factor(class), family=binomial("logit")) This works. However, if I change the family to
2007 Sep 25
2
Adjust barplot to the left
Hello, I have the following problem: I created an ecdf and a barplot. Unfortunatly, the bars are not where I would like them to be (please see picture below). http://www.nabble.com/file/p12877530/problem.gif That's my code: #------------------------ par(mfrow=c(2,1), mar=c(2,3,3,2)) #ECDF x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2) F2.5 <- ecdf(x) plot(F2.5,
2012 Feb 17
2
(subscript) logical subscript too long in using apply
Dear ALL I have this function in R: func_LN <- function(data){ med_ge <- matrix(c(rep(NA,nrow(data)*ncol(data))), nrow = nrow(data), ncol=ncol(data), byrow=TRUE) T <- matrix(c(rep(NA,length(n)*ncol(data))), nrow = length(n), ncol=ncol(data), byrow=TRUE) Tdiff<- matrix(c(rep(NA,length(n)*ncol(data))), nrow = length(n), ncol=ncol(data), byrow=TRUE) T1<- c(rep(NA,ncol(data)))
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) :
2006 Aug 15
0
Problems installing Subscript
Has any one installed subscript engine. I having trouble completing the installation: When I run rake db:migrate:engines:substruct I get the following error; (in /Users/peterw/railsapps/webprint) Migrating engine ''substruct'' == AddUserAndContact: migrating =============================================== -- add_column(:questions, :email_address, :string, {:limit=>50})
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,
2013 Feb 24
1
Error in J[time] : invalid subscript type 'closure'
Hi All I have Googled the message Error in J[time] : invalid subscript type 'closure', but can't quite make sense from the results that I get. What does it mean? I'm trying to access an element in an array. Here is a short bit of code that produces the error: s_fun <- function(parms,time) { with(as.list(c(parms)),{ print(J[time]) }) } times = seq(from=0, to=100, by =
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
2004 Nov 30
1
about the subscript assignment porblem
Hi, Dear, I have a problem for the new version 2.0 of R When I put this code in it give me the error: uis$ivhx3[uis$ivhx>0] <- 1*(uis$ivhx==3) Error: NAs are not allowed in subscripted assignments but this would happen in version 1.91 there are missing data in the data set and it is represented as NA the data set can be find on line at the ucla web actually this is a example from its
2012 Feb 14
0
finding the subscript of a vector fulfiiling a given condition
galemago wrote > > Dear Forum, > > I just recently started to work with R, I?d like to know if there is a way > to give instructions/do operations related to values with different > subscripts within a vector. > Let?s assume I have a vector like this: > A="368 369 370 371 393 394 395" > If I call "j" the subscripts of the vector I?d
2009 Jun 05
1
Mixed Latin, Greek and subscript characters in axis label
Dear R-helpers, I have been trying to figure out how to plot a graph with an axis label consisting of a mixture of Latin, Greek and subscript characters. Specifically, I need to write A[beta]{1-42}, where A is Latin script A, [beta] is Greek lower case beta and {1-42} is subscript '1-42'. I can use xlab=expression(beta[1-42]) and obtain the [beta]{1-42} part of the label. But, I can't
2012 Feb 09
1
complex subscript/superscript on axis labels
Hi All, I am having trouble getting a complex subscript to work. I'm sure it's possible. Here is what I have: ylab=expression(paste("log ",L[peak]," [erg ",s^{-1},"]")), I would like to have the subscript read "peak,gamma" where the gamma would be the greek symbol. I do want the comma to show as well. Thanks, EM
2005 Apr 30
1
legend(): how to put variable in subscript?
Dear List, I would like to plot a simple legend with two math expressions, e.g. plot(0) legend(1, 0.5, expression(sigma[i], sigma[j])) The difficulty is that i and j should be variables rather than strings "i" and "j". In other words I'd like to do something like: i = "A" j = "B" legend(1, 0.5, expression(sigma[i], sigma[j])) and have "A"
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]] :