search for: chabot

Displaying 20 results from an estimated 42 matches for "chabot".

2005 Jan 06
6
"labels" attached to variable names
...(I may use the wrong terminology, which would explain why I found nothing on the FAQ) to variable names, and later have an easy way to switch to these labels in plots? I fear this is not possible and one must enter this by hand as ylab and xlab when making plots. Thanks in advance, Denis Chabot ------------------------------------------------------------------------ --------------------------- Denis Chabot, Ph.D. Chercheur en bio?nerg?tique Bioenergetics researcher Institut Maurice-Lamontagne Institut Maurice-Lamontagne P?ches et Oc?ans Canada Fisheri...
2007 Mar 18
2
italics letter in roman string
...e I could leave a blank in place of the "n", then issue a text call where I'd use font=3 for a single letter, "n". But it will be tricky to find the exact location to use. Is there a way to switch to font=3 just for one letter within a string? Thanks in advance, Denis Chabot
2005 Feb 04
5
2 small problems: integer division and the nature of NA
...have expected the sum to be NA in such cases, as I do not have a single data point telling me the value of my response here. But R tells me the sum was zero in that cell! Was this behavior considered "desirable" when sum was built? If not, any hope it will be fixed? Sincerely, Denis Chabot
2006 Mar 18
2
legend in bubble plots made with symbols()
...a legend afterward. Symbols seems a bit simpler and I wanted to see if it would be better than my own function. But without legend it is less useful. However I'm sure there is a way which I'm not aware of to draw a legend for a plot drawn with symbols()... Thanks in advance, Denis Chabot
2005 Jan 13
2
subsetting like in SAS
...ag(ship_cat) snL <- Lag(ship_nb) tL <- Lag(trip) sL <- Lag(set) same <- origin==oL & ship_cat==scL & ship_nb==snL & trip==tL & set==sL sites <- subset(alldata, !same, select=c(list-of-variables-detailing-sites) Could I do better than this? Thanks in advance, Denis Chabot
2005 Sep 26
4
p-level in packages mgcv and gam
...family" and in Hastie, T. and Tibshirani, R. (1990) Generalized Additive Models are too technical for me. If someone knows a reference that explains how to choose model and link, i.e. what tests to run on your data before choosing, I would really appreciate it. Thanks in advance, Denis Chabot
2006 Oct 26
2
distance between legend title and legend box
...The result depends on the device, but I think any device will show the box needs to be raised a bit (in quartz, the top of the box passes in the middle of the "2", in pdf it is acceptable, but just (the top of the box lightly touches the top of the "2"). Sincerely, Denis Chabot
2005 Jan 09
2
how to do by-processing using weighted.mean
...ariables, all using the same weight variable, for each combination of 3 factor variables. I found how I could use "summarize" (from Hmisc) to do normal means for combinations of 3 factors, but I cannot find a way of doing weighted means. Is it possible in R? Thanks in advance, Denis Chabot
2006 Feb 13
2
transforming data frame for use with persp
...9;d like to transform as described above: My.data <- expand.grid(Depth=seq(40,220, 20), Temp=seq(-1, 6, 0.5)) predgam <- predict.gam(dxt.gam, My.data, type="response") pred.data <- data.frame(My.data, predgam) pred.data has 150 lines and 3 columns. Thanks for your help, Denis Chabot
2005 Jul 16
1
PBSmapping and shapefiles
...kage PBSmapping? I have been able to read such files into R with maptools' read.shape and plot it with plot.Map, but I'd like to bring the data to PBSmapping and plot from there. I also looked at the package shapefile, but it does not seem to do what I want either. Sincerely, Denis Chabot
2005 Jan 19
2
recoding large number of categories (select in SAS)
...<= 909) preyGr= 882; when (prey in (999, 125, 994)) preyGr= 9994; otherwise preyGr= 1; end; *select; The number of transformations is usually much larger than this short example. What is the best way of doing this in R? Sincerely, Denis Chabot
2009 Mar 10
4
puzzled by math on date-time objects
..." "2009-02-24 14:51:19 EST" "2009-02-24 14:51:20 EST" Mean 3rd Qu. Max. "2009-02-24 14:51:20 EST" "2009-02-24 14:51:21 EST" "2009-02-24 14:51:22 EST" Thanks in advance, Denis Chabot sessionInfo() R version 2.8.1 Patched (2009-01-19 r47650) i386-apple-darwin9.6.0 locale: fr_CA.UTF-8/fr_CA.UTF-8/C/C/fr_CA.UTF-8/fr_CA.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] doBy_3.7 chron_2.3-30 loade...
2016 Dec 05
4
Very very slow SAMBA sharing on Ubuntu (with StorjShare-CLI)
On Mon, 5 Dec 2016 00:41:35 -0800 ToddAndMargo via samba <samba at lists.samba.org> wrote: > On 12/04/2016 03:37 AM, Bernard Chabot via samba wrote: > > I’m using a decentralized data storage application named > > StorjShare-CLI : https://github.com/Storj/storjshare-cli > > > > This application store data into « nodes ». StorjShare-CLI can run > > 1 or several « nodes » in order to store data locat...
2006 Nov 08
2
combining dataframes with different numbers of columns
...ion where the narrower dataframe contains one or more variables that are absent from the wider one. If this was the case, I'd like the new variable to be present in the combined dataframe, with missing values given to the observations from the wider dataframe. Thanks in advance, Denis Chabot
2005 Jun 07
1
how to create a variable to rank within subgroups
...vel of the grouping variable has 5 observations, I'd like them ranked from one to five and a new variable would hold the rank value (one to five). So forth for each level of the grouping variable. I'm quite new with R and cannot figure out this one by myself. Thanks in advance, Denis Chabot
2006 Feb 08
1
plotting lines that break if data break
...but this seems to require I manipulate my data (which may or may not contain breaks, and the number of breaks can vary if there are breaks at all). Is there another command that works like "lines" but will break the line if the data series suffer an interruption? Sincerely, Denis Chabot
2005 Oct 08
1
how to control ticks in plots with yasp or xasp
...marks at 0, 20, 40, 80 and 100. I tried to get tick marks every 10 by adding yasp=(0, 100, 10) but this had no effect at all. I know I can draw the axis and tick marks manually, but often this simple option would suffice if I could understand how to make it work. Thanks in advance, Denis Chabot
2010 Aug 12
1
reading fixed width format data with 2 types of lines
...for each line, then subset for lines that begin with 3 and save this in an ascii file that will then be reopened with a read.fwf call, and do the same with lines that begin with 4. But this does not appear to me to be very elegant nor efficient? Is there a better method? Thanks in advance, Denis Chabot
2005 Jul 26
2
grep help needed
...PID (polygon ID) variable, i.e. all lines of a polygon must have the same ID, as in the example above (i.e. each time POS == 1, a new polygon starts and PID needs to be incremented by 1, and PID is kept constant for lines where POS ! 1). Any help will be much appreciated. Sincerely, Denis Chabot
2007 May 22
5
Reducing the size of pdf graphics files produced with R
...when you generate many plots... And you need to buy Acrobat. Is this something the pdf device could do in a future version? I tried the "million points" example from the thread above and the 55 MB file was reduced to 6.9 MB, an even better shrinking I see on my usual plots. Denis Chabot