search for: villandr

Displaying 20 results from an estimated 27 matches for "villandr".

2010 May 20
1
Kate terminal window
...orts color coding. Can the Kate console be set up to do just the same? Although this is clearly an issue related to Kate, I was thinking that some people on this list might also use Kate in conjunction with R and might have already inquired about this. I thank you very much for your help. Luc Villandr?
2009 May 27
2
Object-oriented programming in R
...uld define functions that would take lists outputted by the different steps of my analysis and do what I want with them. I'm wondering what the merits of both approaches in the context of R would be. If anyone has any thoughts about this, I'd be most glad to read them. Cheers, -- *Luc Villandr?* /Biostatistician McGill University Health Center - Montreal Children's Hospital Research Institute/
2009 May 26
4
Creating multiple graphs based on one variable
Dear List, I would like to create several graphs of similar data. I have x and y values for several different individuals (in this case fish). I would like to plot the x and y values for each fish separately. I can do it using a for loop, but I think I should be using "apply". Please let me know what I am doing wrong, or if there is a "better" way to do this. What I have
2009 Dec 17
2
Sweave Makefile issue
...*.log && (pdflatex $<) ; true clean: @del *.aux *.log *.bbl *.blg *.brf *.cb *.ind *.idx *.ilg \ *.inx *.ps *.dvi *.toc *.out *.lot *~ *.lof *.ttt *.fff \ *.eps *.pdf @del -f $(patsubst %.Rnw,%.tex,$(RNWFILES)) script : Rcmd BATCH $(Rfile) -- *Luc Villandr?* /Biostatistician MUHC-MCH Research Institute/
2011 Dec 06
1
Can't load package 'lars'
...=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.13.1 ### Is there at least a way to circumvent the problem? Thank you for your help, Luc Villandre
2009 May 08
2
Help to extract results from lme.object
Hi list, Would someone please give me a hint how to extract the between and within subject StdDev from "lme" fit? Below is the output from the fit, but I couldn't find the number 0.3927714 anywhere in the fitted object. Thanks in advance for your help! Random effects: Formula: ~1 | group (Intercept) Residual StdDev: 0.3927714 0.7857085 Best, Auston
2009 May 14
1
automated polynomial regression
Dear all - We perform some measurements with a machine that needs to be recalibrated. The best calibration we get with polynomial regression. The data might look like follows: > true_y <- c(1:50)*.8 > # the real values > m_y <- c((1:21)*1.1, 21.1, 22.2, 23.3 ,c(25:50)*.9)/0.3-5.2 > # the measured data > x <- c(1:50) > # and the x-axes > > # Now I do the following:
2009 May 29
2
excluding NAs in data frame without deleting rows
Hi all, I have a binary matrix with NAs included. Each row and column includes at least one NA, so I don't want to omit them. Is there a way to sum across rows and columns, ignoring the NAs but not deleting the row or column? If not, I suppose I can write a loop function, but I have learned that it is best to stay away from loops if possible. Thanks for any help, Wade
2009 May 29
2
remove object
Hi list.... I try to remove all object less one, this object is called index. I have many object with different names and pattern option in ls function may not remove this object why any word in index object repeats with other object. Anybody can give me one advise for this question.... Thank for all fernando [[alternative HTML version deleted]]
2009 May 11
3
Searching within a ch. string
Hi all, is there any function to find some words in a character-string? For example suppose the string is : "gdfsa-sdhchc-88", now I want to find whether this string contains "sdhch". Is there any R function to do that? Regards, -- View this message in context: http://www.nabble.com/Searching-within-a-ch.-string-tp23484010p23484010.html Sent from the R help mailing list
2009 May 28
4
How this addition works?
I have following addition : > 1:2 + 1:10 [1] 2 4 4 6 6 8 8 10 10 12 I could not understand how R adding those two unequal vector? Any help? [[alternative HTML version deleted]]
2009 May 13
2
[OT?]R Reference Manual review/recommend
Hello all I am looking to learn R and was thumbing through volume 1 of "R reference manual - Base Package". I'm sorry if this is ludicrously silly to ask, but is this book worth the investment as a good way to learn how to use R? AG
2009 May 04
2
Need to clean a table, and compute mean and SD
Hi For a school project I have a file with 120 columns and ~2000 lines. This file contains timestamps of spike detected in 60 channels, and the time elapsed between the last spike. I need to clean too high values. About 98% of values are between 0 and 2000 and 2% are between 2000 and 20'000. I want to get rid of theses values. Please could you help me? Regards Thom -- View this message
2009 May 20
2
How to load data from Statistics Canada
We would like to load data from Statistics Canada (http://www.statcan.gc.ca/) using R, for example, Employment and unemployment rates. It seems to me that the tables are displayed in HTML. I was wondering if you know how to load these tables. Thanks, -james
2009 Jul 02
1
Problem with groupedData and lme
...2009 > month 04 > day 17 > svn rev 48333 > language R > version.string R version 2.9.0 (2009-04-17) Cheers, -- *Luc Villandr?* /Biostatistician McGill University Health Center - Montreal Children's Hospital Research Institute/
2009 May 13
2
Input to variables - help please
Dear list I have managed to write a short program to evaluate data which is inputted from a csv file using the following x = read.csv("wms_results.csv", header=TRUE) All works fine but since I have a number of similar data files which have different names, I would like the program to allow me to input the file name, rather than having to edit the program. >From the documentation I
2009 May 19
2
Getting lm() to work with a matrix
Hi I'm fairly new to R and am trying to analyse some large spectral datasets using stepwise regression (fairly standard in this area). I have a field sampled dataset, of which a proportion has been held back for validation. I gather than step() needs to be fed a regression model and lm() can produce a multiple regression. I had thought something like: spectra.lm <-
2009 Apr 14
2
matrix merge problem
Dear r-help contributors, I have two questions: first: I have a matrix A and a vector B. I want to make a new matrix C, which is made of the rows of A having a value included in B. Second: I have two matrixes A and B, of different dimensions. B has unique values in column 2 and A has not unique values on column 2. I want to merge this two matrixes by the values in the columns 2 of B and 2 of
2009 May 06
2
Print to File Formatting
Hello, I am writing out to a file and have two quick questions that I can't seem to track down the correct answers for. Luckily, I *think* they are both simple enough that someone might be able to point me in the right direction on them without too much trouble. Both questions relate to the process below where CompleteFrame is a data frame containing what I want printed to a file. filename
2009 Apr 07
2
Frequency table to histogram
I have read a frequency table in to R called "temp." I now want to create a histogram table from it, but I obviously first have to expand the data - to the sample size of 100. I want to use the command rep(), but I'm not sure how to go about it..I tried using the code: temp1<-rep(temp$Chest,100) hist(temp1) But this creates a v. odd histogram so I know it must be wrong!