similar to: Getting started with R

Displaying 20 results from an estimated 10000 matches similar to: "Getting started with R"

2002 Jan 24
3
getting rank order
I'm doing a study where people place a deck of cards in a certain order. It's sufficient to assume that their colors & each has a number (it's actually about attributes of hobbies). I'd like to look for patterns in how they've arranged the deck. For each subject I have a list like 3,5,2,4,1, indicating that (s)he chose 3 first, then 5, then 2. . . . I think what I first
2002 Aug 09
2
RMySQL fetch defaults to N=500?
It appears that fetch() gets only the first 500 rows by default. I don't see this in the documentation, but timeinfo <- fetch(rs) gets only 500 rows where timeinfo <- fetch(rs,n=-1) gets (correctly) 736 for the same query. Is this an undocumented feature? I played with this data for an alarming amount of time before I realized that I was missing a third of the data. I
2002 Jan 10
2
Simple summary question
I'd like to get summary statistics (really just a mean would be fine) for a vector in a data frame, but split based on the value of another vector. That is, I have a data frame (hcd.df) with variables datecat (which is always 1 or 2) and auth.sum (-8..+8). I've used xtabs to get chi-square comparisons, but what I need now is a simple mean of auth.sum where datecat is 1 and another where
2003 Jul 17
3
confused about histograms
I've got a data set with integer codes from 0--3. I'd like a histogram with a single bar for 0, 1, 2 and 3. I'd like each of the 4 bars centered over a label. hist(mydata, breaks=4, main="Simulation") gives me three bars. The best I've been able to do is do something like print(hist((wexp), breaks=25, main="Simulation")) This gives me something
2002 Feb 12
1
increasing space available for labels
I've got a graph with really long labels. I've tried decreasing the font size, but they're still getting truncated. I've RTFMed & it seems that mgp should have something to do with this, but I can't make it work. I need about 2-3x as much space for labels as is available by default (or on the example below). boxplot(split(ranks,c(1:25)), names=items, horizontal=F)
2003 May 23
1
Summary statistics & plots of repeated measures data
I'm an R novice and my colleagues are about to convince me to get my data into SPSS, which will presumably be easier for someone who doesn't live in R to point and click his way into some kind of analysis that might be meaningful. I've got two groups of subjects (classkey in the table below). They've each received several different treatments. One measure is a 1-7 rating taken
2002 Feb 21
2
help understanding box plots
Another naive stats question. I'm trying to better understand what boxplots are telling me. I think what I see is the median and the boundaries of the 1st and 3rd quartiles. The whiskers represent the range of the data unless there are points which are outside "range" (default: 1.5) times the distance from the median to that quartile. Is that right? I've read the
2002 Jan 23
2
exporting plots
I'm running R (latest) on linux, using gnome. I was wondering how export the plots to an image file of sort sort. I can't find anything obvious in the documentation. Thanks in advace. Please CC me any replies, as I'm not subscribed to the list. -Aaron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Feb 14
1
Advice on using barplot
Greetings- I'm venturing into a new (for me) area of using R: some presentation graphics based on R data. I'd like to compare two distributions of ordinal variables in relatively small (N=203 and 207) subsets of an R dataset. I can get a reasonably good picture of the distributions' differences with: x11() plot(table(hcd.df$auth.sum[hcd.df$datecat==1]),
2002 Aug 07
1
No subject
I've got a table of 1 row per observation. 16 questions * n subjects * 4 classrooms (2 teachers * 2 conditions) I'd like to run some simple regressions that look something like this: lm(length ~ elapsed) I'd like to do the regressions several times, split out by questionkey, student, class. What I've been doing is using a series of which's to create new data sets (e.g.
2002 Feb 19
1
Smoothed lines over barplots
Greetings. I'd like to generate a graph that displays two distributions as side-by-side bar graphs, then plots a smoothed line of the distribution on top. The idea is to be able to visually compare the distributions. I've done the following, but the axes don't line up. Any suggestions? barplot(table(hcd.df$datecat, hcd.df$auth.sum), beside=TRUE,
2003 Jul 18
1
confused about x-coordinates and bar charts
Thanks for all the help on my previous histogram problem. I intend to summarize the solutions back to the list Real Soon Now, but first, I've got another problem. I've made a bar chart that reports means. I'd like to put the number of observations on top of each bar. Here's what I've got: barplot((subset$x), col=grey(.5), ylab="Mean Engagement
2005 Sep 06
7
Cookbook receipe for SCSI tape install requested.
I need to install an HP Surestore dlt on a Centos 4 machine and I am at a loss as to how to proceed. Can someone either provide or point me to an online reference on how to proceed to add and configure a SCSI adapter and tape drive. I have read, but not really understood, the man page entry for st. Does kudzu handle this? Regards, Jim I am a digest subscriber so the favour of an
2002 Jan 27
5
EPS->LaTeX problem
Greetings- I have a strange problem displaying a graph from R (1.3.1, linux) in a LaTeX document of documentclass seminar. I'm using graphicx to include the file: \usepackage{graphicx} ... \resizebox{\textwidth}{\textheight}{\includegraphics{crime.eps}} When I do this, the entire slide (including the page number) is rotated 180 degrees. Any ideas why this happens? The graph was created
2010 Jul 28
1
Help with specifiying random effects in lmer - psychology experiment
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable;
2005 Feb 12
4
Wireless - routing or bridging
I have added a 4th NIC to my setup, and want to set up wireless. I have started at the configuration Tom has for the last week, and my eyes are crossing. eth0 "net" goes to my internet connected firewall with a 192.168 address eth1 "loc" goes to my switch connected to local switch also 192.168.x eth2 "work" goes to my office with a 172. address eth3 Trying to
2012 Sep 18
4
[PATCH] EHCI/Xen: propagate controller reset information to hypervisor
Just like for the in-tree early console debug port driver, the hypervisor - when using a debug port based console - also needs to be told about controller resets, so it can suppress using and then re-initialize the debug port accordingly. Other than the in-tree driver, the hypervisor driver actually cares about doing this only for the device where the debug is port actually in use, i.e. it needs
2011 Oct 05
11
compiling kernel in Centos Domu
Hi, Im trying to compile kernel 3.0.4 inside Centos 5 DomU The steps I do are Make bzImage Make modules Make modules_install Depmod -a mkinitrd /boot/initrd.img-3.0.4 3.0.4 but them im getting this -bash-3.2# mkinitrd /boot/initrd.img-3.0.4 3.0.4 ls: /etc/modprobe.d/*.conf: No such file or directory No module ehci-hcd found for kernel 3.0.4, aborting. If I exclude the
2007 Jan 09
3
Can i manage part of a file ..
Can I use puppet to ensure that a file includes certain text but not be required to maintain the entire file? For example, I would like /etc/modprobe.conf to contain the following lines but the file will also contain lines that are system dependent. --------------------------------------------------------------------------------------- # Disable IPV6 alias net-pf-10 off alias ipv6 off
2013 May 21
2
Cambiando limites en hclust()
Buenas tardes a todos, Estoy interesado en cambiar los límites del eje y en un dendograma construído utilizando la función hclust(). A continuación un ejemplo: hc <- hclust(dist(USArrests), "ave") plot(hc) Hasta aquí todo bien. Si quisiera cambiar los límites del eje "y" de c(0, 200)? Al usar plot(hc, ylim = c(0, 200)) no observo efecto alguno. Qué puedo hacer?