search for: sm

Displaying 20 results from an estimated 1238 matches for "sm".

Did you mean: asm
2009 Jun 23
1
Documentation/software inconsistency in `:` and seq
In 2.8.1/Windows: According to ? : Details: For numeric arguments 'from:to' is equivalent to 'seq(from, to)' ... Value: For numeric arguments, a numeric vector. This will be of type 'integer' if 'from' and 'to' are both integers and representable in the integer type, otherwise of type 'numeric'.... The first claim
2009 Aug 30
3
Computer Modern Fonts in R graphic
...t.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and PFB-files from the page and put them in my R working directory, so far, so good. Then I tried to run the following code: > sn <- seq(1,7,length=100) > sm <- seq(0,4,length=100) > f <- function(x,y) {5.64080973 + 0.12271038*x - 0.27725481 * y + 0.29281216*x*y} > z <- outer(sn,sm,f) > > nrz <- nrow(z) > ncz <- ncol(z) > jet.colors <- colorRampPalette( c("yellow", "red") ) > nbcol <- 100 &...
2009 Mar 06
2
sm.options
Hi, I am doing kernel density plots, and am trying to make the lines thicker. I comparing three groups, in sm.density.compare. I tried changing lwd to make the line sthicker right on the density compare call, but was not able to do it. There is not an option in sm.options to specify line thickness, as well as cex.ylab or cex.xlab- I tried it and it does not change the thickness of the lines. Does anyone...
2009 Aug 06
2
Ylim
...t = 30, pointsize = 30, bg = "white",res=50) par(mar=c(5, 5, 3, 2),lwd=5) par(cex.main=1.6,cex.lab=1.6,cex.axis=1.6) par(mfrow = c(3,4)) ifn <- "T.dat" trait <- read.table(ifn) i <- 1 j <- 1 for(k in 1:12) { dat <- data[i:(i+2), ] colnames(dat)<-c("SM","E","NP) Ymin <- if( min(dat$SM) < 0.0 ) (dat$SM - dat$E) else 0.0 Ymax <- if( max(dat$SM) > 0.0 ) (dat$SM + dat$E) else 0.0 Graph<-barplot(dat$SM, names.arg=dat$NP, main = trait[j:j,], xlab = data[i:i,1:1], ylim = c(Ymin,Ymax) ) segments(Graph, dat$SM + dat$E...
2001 Jan 18
1
ESS Default function template for R
Colleagues ---------------------------------- System info: R version rw1020 on NT ESS using emacs ver. 20.4 ~/.emacs ; Default function template (setq ess-insert-function-templates t) ---------------------------------- When loading a new function into the R workspace using ctrl-CD I would like the default function template to come up, rather than a blank buffer. I thought I had the Default
2008 Nov 21
1
Bug in Kendall for n<4?
> library(Kendall) > Kendall(1:3,1:3) WARNING: Error exit, tauk2. IFAULT = 12 <<<<<< tau = 1, 2-sided pvalue =1 I believe Kendall tau is well-defined for this case and the reported value is correct; isn't it a bug to give a warning? (And if, e.g., the pvalue is not well-defined in this case, wouldn't it be better to return NA or NaN or something?) Also,
2020 Mar 31
1
[FORGED] Re: Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Le mardi 31 mars 2020 ? 15:07 +1300, Paul Murrell a ?crit : > > Thanks, that's useful. For my own memory, this is the parenthesis > block > that might be useful ... > > U+239b Sm LEFT PARENTHESIS UPPER HOOK ? > U+239c Sm LEFT PARENTHESIS EXTENSION ? > U+239d Sm LEFT PARENTHESIS LOWER HOOK ? > U+239e Sm RIGHT PARENTHESIS UPPER HOOK ? > U+239f Sm RIGHT PARENTHESIS EXTENSION ? > U+23a0 Sm RIGHT PARENTHESIS LOWER HOOK ? > U+23a1 Sm LEFT SQUARE BRACKET UPPER CO...
2010 Nov 22
1
sm.ancova graphic
Hi R-Users, I am working with sm.ancova (in the package sm) and I have two problems with the graph, which is automatically generated when sm.ancova() is run. 1-Besides of the fitted lines, the observed data appeared automatically in the graph. I prefer that only fitted lines appear. I check the sm.options, but I could not find th...
2007 Aug 16
1
Question about sm.options & sm.survival
Hi, there: It's my first time to post question in this forum, so thanks for your tolerance if my question is too naive. I am using a nonparametric smoothing procedure in sm package to generate smoothed survival curves for continuous covariate. I want to truncate the suvival curve and only display the part with covariate value between 0 and 7. The following is the code I wrote: sm.options(list(xlab="log_BSI_min3_to_base", xlim=c(0,7),...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...tions in bugs reports #691805 and #691806 seems to solve not all problems. Now I get this error message on STDOUT: Error code: SR_BACKEND_FAILURE_202 Error parameters: , General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions. ], Log messages in syslog and in /var/log/SMlog did not helped. So I passed to analyze the Python scripts in the /usr/lib/xcp/sm/ directory and found the following problems and the respective possible solutions: 1. In /usr/lib/xcp/sm/lvutil.py there are two calls (lines 302 and 344) to 'vgchange' with the unknown parameter '--mas...
2013 Jul 04
1
Failed to create SR with lvmoiscsi on xcp1.6[ [opterr=Logical Volume partition creation error [opterr=error is 5]]
...e-label=shared_disk_sr shared=true device-config:target=192.168.1.2 device-config:targetIQN=iqn.2013-07.example:shareddisk device-config:SCSIid=1IET_00010001 type=lvmoiscsi The SR is not available [opterr=Logical Volume partition creation error [opterr=error is 5]] Below is log info from /var/log/SMlog: [23260] 2013-07-04 17:44:50.989457 PATHDICT: key 192.168.1.2:3260: {'path': '/dev/iscsi/iqn.2013-07.example:shareddisk/192.168.1.2:3260', 'ipaddr': '192.168.1.2', 'port': 3260L} [23260] 2013-07-04 17:44:50.989570 Path found: /dev/iscsi/iqn.2013-...
2006 Feb 20
2
Matrix / SparseM conflict (PR#8618)
....1 OS: Debian Etch Submission from: (NULL) (193.55.70.206) There appears to be a conflict between the chol functions from the Matrix and the SparseM packages. chol() can only be applied to a matrix of class dspMatrix if SparseM is not in the path. with gratitude David > library(Matrix) > sm <- as(as(Matrix(diag(5) + 1), "dsyMatrix"), "dspMatrix") > chol(sm) 5 x 5 Matrix of class "pCholesky" [,1] [,2] [,3] [,4] [,5] [1,] 1.4142136 0.7071068 0.7071068 0.7071068 0.7071068 [2,] . 1.2247449 0.4082483 0.4082483 0.4082...
2011 Aug 15
0
Problem importing virtual disk
...uid=6d028ae2-a8be-403a-98ae-a02e498af3a0 filename=c2_appliance.disk.xm The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Caught exception: SR_BACKEND_FAILURE: [ non-zero exit; ; /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import os, re, sys, popen2, subprocess Traceback (most recent call last): File "/usr/lib/xen-common/xapi/sm/LVMSR", line 1959, in <module> SRCommand.run(LVHDSR, DRIVER_INFO) File &...
2009 Mar 30
3
Nonparametric analysis of repeated measurements data with sm library
Dear all, Does anybody know how to get more evaluation points in performing Nonparametric analysis of repeated measurements data with "sm" library. The following command gives the estimation for 50 points, by I would like to increase to 100 points But I do not know how to do that. library(sm) provide.data(citrate, options=list(describe=FALSE)) provide.data(dogs, options=list(describe=FALSE)) a <- sm.rm(y=citrate, display.rice...
2018 Feb 13
2
wbinfo -U id gives different users on same dc
Thank you for reply Rowland. Sorry for my typo. I intended to change sm--to-->test but i forget to change other lines. So my original config is below: workgroup = sm > realm = sm.pvt > server string = %h Test Host > security = ads > encrypt passwords = yes > idmap config sm.pvt : backend = ad >...
2011 Dec 19
1
pbd-plug failing when attaching an SR that was introduced
Any troubleshooting steps I can follow to get this SR attached again? Has anyone seen this error before? xe pbd-plug uuid=b804d322-c501-6b59-fb7e-b6612042535c There was an SR backend failure. status: non-zero exit stdout: stderr: Traceback (most recent call last): File "/opt/xensource/sm/LVMSR", line 1446, in ? SRCommand.run(LVHDSR, DRIVER_INFO) File "/opt/xensource/sm/SRCommand.py", line 246, in run ret = cmd.run(sr) File "/opt/xensource/sm/SRCommand.py", line 94, in run return self._run_locked(sr) File "/opt/xensource/sm/SRCommand.p...
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes: > > SM> I notice that the new option under R ver. 1.3.0 to save a > SM> graph as a pdf file from the graph window menu (file/ save as/ SM> > PDF) works differently (extremely slowly) under ESS, whereas SM> it is...
2005 May 27
0
3D density estimation with library sm - no estimate returned
Dear List, I have been trying to use library sm to do density estimation on a 3D dataset. I am using the current MacOS X binary of sm from CRAN. If I do this on a 2D dataset, sm.density returns a list including the component "estimate" which contains the density estimate over a uniform grid. When doing this with 3D data, although I...
2008 Apr 23
1
Time arithmetic
...rn the number of days resulting. I am newish to R so I am hoping there is a package that can do this sort of date arithmetic for me... Worik DaysInMonths <- function(s,d){ ## Days in d months from s sdate <- MSTD(s) ## Get day, month and the year sd <- as.double(days(sdate)) sm <- as.double(months(sdate)) sy <- as.double.difftime(years(sdate)) sm <- sm+d while(sm > 12){ sm <- sm-12 sy <- sy+1 } sdate2 <- MSTD(paste(sd,sm,sy,sep="/")) return(as.double(difftime(sdate2, sdate, units="days"))) } MSTD <- functio...
2020 Mar 30
2
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...ken). > > Yep, the "symbol" font is an (outdated) R "plotmath" concept, but > one > that would take a fair bit of surgery to remove. R plotmath > converts > certain R expressions (in certain contexts) to code points in the > Adobe > Symbol Encoding (ASM), but for cairo-based devices, those are > converted > to UTF8 code points. > > > Just use the sans-serif or monospace fontconfig defaults. You don?t > > need Symbol, or OpenSymbol, or any special font setup. > > Agreed. I got reasonable coverage from DejaVu Sans and...