search for: bioprogrammer

Displaying 10 results from an estimated 10 matches for "bioprogrammer".

2009 Oct 14
1
R neophyte question.
Hi all, I'm currently working through the "Beginner's Guide to R" (Zurr et al.) and I'm wondering about the first exercise in chapter 3: I imported the data from BirdFluCases.txt and executed the 'names' and 'str' functions as follows: Bird = read.table(file='C:\\rbook\\BirdFluCases2.txt', header=TRUE) names(Bird) [1] "Year"
2011 Mar 18
1
Help with setting the y-axis in a plot.
Hi all. I'm working on an assignment for a psychology class and I am not sure how to adjust the y-axis so it displays the range: 0, 5, 10, 15 The code below is almost ideal: lsd = c(3, 5, 13) mar = c(1, 2, 3) g_range <- range(0, lsd, mar) plot(lsd, type="o", col="blue", ylim=g_range, axes=FALSE, ann=FALSE) axis(1, at=1:3,
2017 Nov 10
0
update R version in windows
Thanks Caitlin and Richard MH. Works great. Stephen From: Caitlin [mailto:bioprogrammer at gmail.com] Sent: Friday, November 10, 2017 12:33 PM To: Bond, Stephen Subject: Re: [R] update R version in windows install.packages("installr") updateR() rather... On Friday, November 10, 2017, Bond, Stephen <Stephen.Bond at cibc.com<mailto:Stephen.Bond at cibc.com>> wr...
2011 Aug 08
2
Creating a scatterplot with sequential dates on x-axis?
Hi all. I need to plot 30 values and I'd like the x-axis to have 30 dates values, e.g., 5/1/2011, 5/2/2011, etc. so an observer could see how the values correspond as the month progresses. Is there a convenient function I could use? I considered creating two vectors, x and y, then simply plotting those. Thanks, ~Caitlin [[alternative HTML version deleted]]
2012 Mar 30
2
Problem loading package 'JGR' using R-2.15.0 (Win32).
Hi all. Upon attempting to load the 'JGR' package, on a Win32 machine (SP3), a pop-up message appeared stating that R had encountered a problem and needs to close. Has anyone else encountered this? Thanks. ~Caitlin [[alternative HTML version deleted]]
2011 Aug 30
2
Plotting multiple vectors in one window?
Hi all. Using the following code: plot(bsa, abs, col='blue', pch=16, xlim=c(0, 25), ylim=c(0.0, 1.0), xlab = expression(paste(BSA, " (", mu, "g)", sep="")), ylab=expression(A[595])) plot(unknown1, abs2, col='blue', pch=16, xlim=c(0, 25), ylim=c(0.0, 1.0), xlab = expression(paste(Unknown_1, " (", mu, "g)", sep="")),
2017 Aug 08
1
Nested for loop
...ion of 400, samples 101-200 to be taken from a sample of 800 and samples 201-300 from a population of 300. The end result should look something like a heart rate monitor. Aside from the rationale, does what I'm explaining make sense? Best, Kirsten On Mon, Aug 7, 2017 at 3:18 PM, Caitlin <bioprogrammer at gmail.com> wrote: > Hi. > > A nested for loop is not terribly efficient (it's O(n^2)). Can you > vectorize it? If so, this would be a far more efficient and faster approach. > > ~Caitlin > > On Saturday, August 5, 2017, Kirsten Morehouse <kmoreho1 at swarthmore...
2011 May 03
2
Constructing a histogram with words as labels as height as frequency?
Hi all. I need to construct a plot showing words on the x-axis and how many times each word was given as a verbal response on the y-axis as solid bar (frequency). Is there a convenient function to do this in R? I considered hist(), but I'm not sure how to construct the text file. Example: apple, 2 pear, 14 house, 1 beach, 5 computer, 15 Thanks, ~Caitlin [[alternative HTML version
2010 Apr 27
1
Unable to connect to 'cran.r-project.org' on port 80.
Hi. I recently upgraded my R installation to 2.11.0 on Windows XP (SP3) without changing any firewall settings. When I attempted to update my package list, the 'Select a mirror' took much longer than it normally did, and after I finally selected the site, I saw: --- Please select a CRAN mirror for use in this session --- Warning message: In open.connection(con, "r") : unable to
2009 Oct 14
1
Beginning R help?
Hi all, I'm currently working through the "Beginner's Guide to R" (Zurr et al.) and I'm wondering about the first exercise in chapter 3: I imported the data from BirdFluCases.txt and executed the 'names' and 'str' functions as follows: Bird = read.table(file='C:\\rbook\\BirdFluCases2.txt', header=TRUE) names(Bird) [1] "Year"