similar to: combining expressions in mathplot

Displaying 20 results from an estimated 10000 matches similar to: "combining expressions in mathplot"

2010 Apr 26
1
logical(0) response from lrm
What causes the error report: logical(0) to arise in the rms function lrm? Here's my data: But both the dependent and the independent variable seem fine... > str(AABB) 'data.frame': 1176425 obs. of 9 variables: $ sex : int 1 1 0 1 1 0 0 0 0 0 ... $ faint : int 0 0 0 0 0 0 0 0 0 0 ... Here's the simplified model and error AABB$model1 < lrm (faint ~ sex)
2010 Sep 27
7
Regular expressions: offsets of groups
Dear list! > gregexpr("a+(b+)", "abcdaabbc") [[1]] [1] 1 5 attr(,"match.length") [1] 2 4 What I want is the offsets of the matches for the group (b+), i.e. 2 and 7, not the offsets of the complete matches. Is there a way in R to get that? I know about gsubgn and strapply, but they only give me the strings matched by groups not their offsets. I could write
2010 Mar 18
6
Validating alignment of NTFS/VMDK/ZFS blocks
Good evening, I understand that NTFS & VMDK do not relate to Solaris or ZFS, but I was wondering if anyone has any experience of checking the alignment of data blocks through that stack? I have a VMware ESX 4.0 host using storage presented over NFS from ZFS filesystems (recordsize 4KB). Within virtual machine VMDK files, I have formatted NTFS filesystems, block size 4KB. Dedup is turned on.
2014 Nov 23
2
R string comparisons may vary with platform (plain text)
On 23/11/2014 09:39, peter dalgaard wrote: > >> On 23 Nov 2014, at 01:05 , Henrik Bengtsson <hb at biostat.ucsf.edu> wrote: >> >> On Sat, Nov 22, 2014 at 12:42 PM, Duncan Murdoch >> <murdoch.duncan at gmail.com> wrote: >>> On 22/11/2014, 2:59 PM, Stuart Ambler wrote: >>>> A colleague?s R program behaved differently when I ran it, and we
2011 Apr 10
1
deparse operators in expressions
Hi, I observed a slight problem in deparse(): it will add spaces around most operators except /. I wonder if this is easy to fix. I know this is quite trivial, but I will appreciate if / is not treated as an exception. Examples: > deparse(expression(1/1)) [1] "expression(1/1)" > deparse(expression(1+1)) [1] "expression(1 + 1)" > deparse(expression(1%in%1)) [1]
2023 Jul 28
1
Joining a new Samba AD DC
on Fri Jul 28 14:30:33 2023 Rowland Penny via samba <samba at lists.samba.org> wrote: > On 28/07/2023 19:04, Mark Foley via samba wrote: > > > > After checking with the previous run, these sysvolreset errors are the same as > > before, so syncing the sysvol didn't make any different. > > > > You wrote: "It looks to me that you have more GPO's
2009 Jul 23
3
How to pass a character argument which contains expressions to arg.names in barplot?
Hi all Can anybody help me with this? I am trying to include in an automatic way the argument in arg.names in a barplot. I generate the labels I want to appear below the bars with a for loop, and they contain subscripts, so I need to use expression anch<-0.05 esp<-4 for (i in 1:dim(Ntot)[1]) { naux<-Ntot[i,] naux2<-naux[naux>0] nind<-which(naux>0)
2003 Jun 20
3
combining mathematical notation and value substitution
Dear People, I need to make a label which both contains math notation as well as substitutes a value for an object. In the following label, len and theta are one dim variables, and I am substituting their values appropriately. This label looks fine except that I want the greek symbol for theta to appear instead of the word `theta'. How can I do so most easily? I don't understand the
2005 Apr 28
2
Reconstruction of a "valid" expression within a function
Hello all, I have some trouble in reconstructing a valid expression within a function, here is my question. I am building a function : SUB<-function(DF,subset=TRUE) { #where DF is a data frame, with Var1, Var2, Fact1, Fact2, Fact3 #and subset would be an expression, eg. Fact3 == 1 #in a first time I want to build a subset from DF #I managed to, with an expression like eg. DF$Fact3, # but I
2003 Nov 14
3
Expressions and Functions
Dear R People: When the D function is used for a symbolic derivative, an expression is returned, which is fine. How do you change that expression to a function, please? I've been experimenting with substitute and deparse, but no success yet. This is R 1.8.0 for Windows. thanks in advance for the help! Sincerely, Erin Hodgess mailto: hodgess at gator.uhd.edu
2006 Nov 10
1
missing symbols for mathplot
Hi all, I'm trying to write an axis label that sounds P( X | K and Xb ) (probability of X given K and Xb ) but I need the intersection symbol (the "\cap" in latex) Actually I did'nt find any "cap" symbol in plotmath, the only one is intersect(A[i],i==1,n) but is not my case because subscripts and arguments are mandatory. Anyone knows how to do? Thanks Andrea --
2007 Mar 21
2
Detailed legend in mathplot ...
Hello, Recently, I have asked for a help with building graphs, and I got few great advices. Now, my appetite is growing :) and I wander how to add legend for two (or more) lines in following example: matplot(DAT[, c(3,4)], type="b", ylim=c(0,8), xaxt="n", yaxt="n", + pch=c(21,22), col="black", lty=c("dashed","solid"), xlab="",
2020 May 12
0
last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed
Hello, I get last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed randomly in the logs: --- ???????1 mailserver dovecot: imap(test-email-bb at exemple.com) <NtiT9H2SFIVcuGID> [xxx.xxx.xxx.xxx]: Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed: INSERT, UPDATE command denied to user
2000 Aug 29
1
variable value in mathplot
I'm putting a title over different plots, where 'that' varies. How do I make the value appear? Example: that <- 1 plot(1:10) title(expression(paste(hat(theta),'= ',that))) Yudi Pawitan yudi at stat.ucc.ie Department of Statistics UCC Cork, Ireland Ph 353-21-490 2906 Fax 353-21-427 1040 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2008 Feb 21
1
linebreaks in mathplot
Dear HelpeRs, I would like to do sg similar to: plot(c(0,100), c(0,100), xaxs="i", yaxs="i", type="n") txt <- paste("a =", a, "%\n b =", b, " km2", sep="") text(95, 95, txt, adj=c(1,1)) just with the "km2" formatted with 2 in a superscript. I thought txt <- substitute("a = "*a*" %\n b
2011 Aug 31
2
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Hi all, Why I am getting, Error: evaluation nested too deeply: infinite recursion / options(expressions=)? Thanks in advance! func <- Vectorize(function(x, a, sad, trunc=0, ...) { result <- function(x) { f1 <- function(n) { dcom <- paste("d", deparse(substitute(sad)), sep="") dots <- c(as.name("n"), list(...)) f <-
2002 Apr 15
2
ssh -R limitations?
Hi there! I've a couple of questions on -R feature: Here is my situation: PC_A has a private IP, ssh client and has a service I want to see from the internet. PC_B is a linux firewall (public IP) where there is an open port that forwards all traffic to PC_C (ssh server on port 22) which is in PC_B LAN. I want to create a tunnel from PC_A to PC_C to access a service on PC_A from
2016 Apr 13
0
formula argument evaluation
%=>% would have precendence ('order of operations') problems also. A + B %=>% C is equivalent to A + ( B %=>% C) and I don't think that is what you want. as.list(quote(A + B %=>% C)) shows the first branch in the parse tree. The following function, str.language, shows the entire parse tree, as in > str.language(quote(A + B %=>% C)) `quote(A + B %=>%
2010 Feb 09
1
cbind(deparse.level=2,...) problems
Should the deparse.level=2 argument to cbind and rbind be abandoned? It is minimally documented, not used in any CRAN package, and causes some problems. E.g., (a) If a matrix input has row names but not column names cbind(deparse.level=2,...) stops. > m<-matrix(11:14,nrow=2,ncol=2,dimnames=list(Row=c("R1","R2"),Col=charact er())) > cbind(m, 101:102,
2009 May 12
6
can non-owner change file group setup?
We are tried to count how many files belong to certain group. Our system administrator told us "non-owner" can easy change file group name to another. I have been tried several combination and never successful (only ROOT can change file group to other name). Does anyone know how "no-owner" can change file group name? Thanks.