Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hello! How to change a color (or linewidth) of border in lattice 'barchart'? I am trying barchart( (......) - my arguments panel=function(x,y,color,subscripts,groups,...) { panel.barchart(x=x,y=y,box.ratio=2,col=color,border=FALSE) })) or...
Hello! When I am trying to produce plot with text with pointsize 30 or greater R sets up a default pointsize of 12 on plot. I need to set up a large pointsize to make large jpeg or png files...
Maybe its slightly off-topic, but can anybody help with computing entropy on matrix of probabilities? Guess we have a matrix of probabilites, A, 2x2, something like this: z x 0 1 2 3 4 0 0.063 0.018...
Hello! I have a problem with displaying R plots with Unicode font. I making labels for a plot in russian language and, when i am trying to plot i see only strange characters instead of cyrillic letters. Fonts, installed in...
Hello! I have a dataset with NA's in some variables (factors), for example: $ P67 : Factor w/ 2 levels "-","+": NA 2 1 NA NA 2 1 1 2 NA ... I need to use 'xtabs' like xtabs(~x$P67) It works...
Hello! When i am trying to print lattice plot in postscript file via trellis.device(device=postscript,file='part.eps',family=font1,paper='special',width=16/2.54,height=23/2.54,onefile=FALSE,horizontal=FALSE) everything is ok, but...
Hello! I am trying to compute minimal time on some data like this: mt<-tapply(mrsh$time1,list(mrsh$var1,mrsh$var2),min): a b 145 1054800600 1054789800 340 1054804500 1054794600 349 1054820400 1054792800 55 1054800600 1054789200 57 1054814100 1054791000...
Hello! I have dataset where one variable is 'multiresponse', like this: [1] "1 2" "1 2 3" "4" "1 4" "4 3" etc. 'responses' separated by space. observations in different 'rows' of data.frame. I can do strsplit(data$var...
Hello! I have data frame with 'weights' in one of the columns. I need to compute weighted mean on another column other factor variable and i am trying to: res<-tapply(data$k,list(data$model),weighted.mean,w=data...
That's ok if i do something like xtabs(~f1). Thanks. What about xtabs(w~f1+f2)? If i need to do crosstabulation and factor variables contains NA's? I want to repeat my second question: how to use 'na...
Thanks for your reply, but i dont want to transform my data with 'factor' or anything else. I really need 'NA's as NA's and i dont need them as levels of factor. I just seeking possibility to compute...
Thanks for reply, but when i am trying to > mt <- structure(mt, class=c("POSIXt", "POSIXct")) > > or > > mt + ISOdatetime(1970,1,1,0,0,0) it seems that i loosing structre of matrix: str(structure(mt, class=c("POSIXt", "POSIXct...
Can't find what you're looking for? Try searching with Google .