Displaying 7 results from an estimated 7 matches for "sedit".
Did you mean:
edit
2007 Jun 11
1
package check note: no visible global function definition (in functions using Tcl/Tk)
...er R version 2.6.0 Under development
(unstable), in order to discover future compatibility issues, I recently
get numerous "possible problem notes" for different (own and other
contributed) packages containing Tcl/Tk code, e.g.:
* checking R code for possible problems ... NOTE
sEdit : editVec : build: no visible global function
definition for 'tclvalue'
sEdit : editVec : reset: no visible global function
definition for 'tclvalue<-'
sEdit : editVec: no visible global function
definition for 'tktoplevel'
My question:
- Is this an indi...
2011 Apr 09
2
glm with multiple vars
...ns of
independent variables which are stored as columns in x
glm(y ~ ??, data=x)
How can I pass the colnames of the selected columns of x into ?? seperating
them with a +
ie I want to generate
glm(y ~ x1 + x2, data=x)
glm(y ~ x2 + x3, data=x)
glm(y ~ x1 + x2 + x4, data=x)
...
I have tried the sedit function (sedit(colnames(current),' ',' + ')) but glm
doesn't understand the output.
Dirk
--
View this message in context: http://r.789695.n4.nabble.com/glm-with-multiple-vars-tp3438095p3438095.html
Sent from the R help mailing list archive at Nabble.com.
2001 Feb 14
2
assignment function
Hi,
I am trying to create the assignment function:
"substring<-" <- function(text, first, last=100000, sub) {
if(is.character(first)) {
if(!missing(last)) stop('wrong # arguments')
return(sedit(text, first, sub))
}
lf <- length(first)
if(length(text)==1 && lf > 1) {
if(missing(last)) last <- nchar(text)
last <- rep(last, length=lf)
for(i in 1:lf) {
text <- paste(if(first[i]>1)
substring(text, 1, first[i]-1), sub,...
2009 Jan 05
3
Log File Reviewing
I need to review a logfile with Sed and cut out all the lines that start with a certain word, problem
is this word begins after some amount of whitespace and unless I search for whitespace at the
beginning followed by "word" I may encounter "word" somewhere legitimately hence why
I don't just search for "word" only...
Anyone know how to make sed accomplish this?
2009 Feb 06
3
Sweave and backslashes
Hello Everyone,
I am an avid Sweave user and I am trying to pretty print floating point
numbers for latex output. For example in my document, I would like:
4.2\cdot 10^-{8}
Instead of:
4.2e-08
The Hmisc package has a nice function for doing this- but Hmisc has a ton of
dependencies and has proved very unportable to the various machines I work
on. So, I set out to write my own function that
2008 Jul 08
4
Manipulate Data (with regular expressions)
Dear Everyone,
I try to automatically manipulate the data of a variable (class =
factor) like
x
220
220a
221
221b
B221
Into two variables (class = numeric) like
x y
220 0
220 1
221 0
221 1
221 1
y has to carry the information about the class (number or string) of the
former x-Variable.
I could do it by hand like
x[x == "220a"] <- 220
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>