Displaying 20 results from an estimated 27 matches for "stni".
Did you mean:
sti
2008 Jul 14
2
question about a small "for" loop
R 2.5.1 on WinXP
I'm trying to create new variables in a dataframe called jaw, as powers
of jaw$age up to the sixth power, and name them
jaw$age.(--the digit corresponding to the power--)
Obviously none of these work (silly for me to try, I suppose):
for (i in 2:6) {
jaw$age.'i' <- jaw$age^i
}
for (i in 2:6) {
jaw$age.i <- jaw$age^i
}
for (i in 2:6) {
2008 Oct 30
1
trying to figure out reorder.factor in gdata
I'm trying to make a factor with levels for day of week, appear as
Monday-Sunday, rather than alphabetically. I'm using reorder.factor
from gdata package, but obviously not using it properly. What am I
doing wrong? Thanks.
>data <- read.table("DataEarly2008.txt", sep=" ", header=T, as.is=1:2)
>str(data)
'data.frame': 7953 obs. of 9 variables:
$
2007 Jul 13
3
THANK YOU: Updating R version
Based on the feedback received, I did the following:
a) moved my lib sub-directory from the existing installed R version to
c:\myRLib
b) installed the updated R version
c) created .Renviron file in the home directory (C:\R-2.5.1) with the line
R_LIBS=c:/myRLib
d) used .libPaths() command to confirm that the new R installation was
recognizing the myRLib sub-directory
e) deleted my old R
2009 Jan 27
2
using Sweave with a master file that has several iputted .tex files
Suppose I have a Master.Rnw file that looks something like this:
\documentclass[12pt]{mypaper}
\usepackage[margin=1in]{geometry}
\usepackage{setspace}
\usepackage{url}
\usepackage{indentfirst}
\usepackage{fancyhdr}
\usepackage{Sweave}
\pagestyle{fancy}
\lhead{sonographic rectal diameter and ADHD}
\rhead{ }
\usepackage{abbrevs}
%\usepackage{natbib}
%\usepackage{apacite}
2008 Jun 26
2
stuck on making a line graph across time, with 4 categories
I can't seem to find just what I'm looking for in R help, Everitt and
Hothorn HSAUR, Murrell's book, or the R graphics gallery at
http://addictedtor.free.fr/graphiques/. Probably not looking
efficiently, but anyway,
If my data look like this:
> head(data)
cat startyear studentid
1 other 2001 12
2 UHS 2001 17
3 Lourdes 2001 10
4
2007 Nov 29
1
extracting items from R objects and using them in \Sexpr with Sweave--problem with $
Running R 2.5.1 on WinXP with Tinn-R, and using Sweave via MikTex.
I am having trouble with the code below:
-------------------------------------------------------
<<lowerCI95>>=
lowerCI95713 <- t.test(data713, alternative="greater")
lowerCI95713.bound <- lowerCI95713$conf.int[1]
@
Thus a lower 95\% confidence bound on the mean octane concentration is
2009 Jan 21
1
trouble converting an array to a dataframe
I start with a dataframe called xrays. It contains scores on films from
each of two radiologists. It is in "long" format. I used the reshape
package to melt a data frame and then cast it into "wide" format, one
line for each patient (identified by redlognumb) with scores from both
radiologists for a given patient on the same line.
I named the result of the casting xrays.data.
2007 Jul 11
0
installing, removing, upgrading, and downgrading packages
I'm very new to R, trying to learn it. I started with R 2.4, but I have
since upgraded to 2.5.0, on WindowsXP. I understand that 2.5.1 is now
available.
Last night in the course of things I loaded libraries "coin" and
"survival". I received warning messages that they had been built under
version 2.5.1. However, as far as I could tell, they worked OK. But
this brought
2007 Sep 17
0
color schemes in Tinn-R
A question for anyone using Tinn-R: I find that using the default color
scheme with the white background on my laptop hard on the ole' eyes. I
see the drop-down menus leading to the ability to change the colors of
individual components (numbers, commmands, strings, etc, and the
background for each of those.) I can play around with background colors
and foreground colors. However, I'm
2008 Jul 24
0
OT: course in research administration
I'm currently enrolled in the distance education masters degree program
in statistics at Texas A&M University. I'm hoping the program will help
me develop skills useful in advancing my primary care research
endeavors. Having a great time so far, learning a lot.
I have one semester in which to take a non-statistical elective. What
I'd like to learn in that semester is some of
2008 Dec 31
2
Off-topic -- an eye on a stats presentation for clinicians?
I've got a 20 slide Powerpoint set up against the expected day someone
says "Mitch, could you talk for a short while to the residents on how
to use statistics?"
It looks good at this end, but I'd love to get at least one more pair
of eyes on it.
Any volunteers?
--
Due to the recession, requests for instant gratification will be
deferred until arrears in scheduled
2009 Jan 23
0
high values of my response variable get chopped off of lattice dotplots
I am trying the following lattice graphics code:
> library(lattice)
> attach(junk)
> summary(junk)
mean.barr variable value
Min. : 3.50 item15 :15 Min. :0.0000
1st Qu.: 9.50 item14 :14 1st Qu.:0.0000
Median :11.00 item16 :14 Median :0.0000
Mean :11.64 item1 : 0 Mean :0.6744
3rd Qu.:16.00 item2 : 0 3rd Qu.:1.0000
Max. :20.00 item3 :
2001 Mar 27
1
Street Atlas 8.0?
Hi,
Lotus Notes 5.05 works great! Thanks....now, has any one gotten Street
Atlas 8.0 to run with wine?
I get the starting splash screen from SA8.0 and a bunch of fixme:font
messages (I don't think I care about these?). Then I get both a
Windows box stating "Failed to create empty document." and get
"err:msg:DispatchMessageA BeginPaint not called on WM_PAINT for hwnd
2001 Oct 10
1
X Error of failed request: BadWindow (invalid Window parameter)
Hi,
I got a new laptop and have been updating all my tools. All the wine apps
I need working are running fine except Street Atlas 8.0 which I got running
fine on my old laptop.
I am failing with the latest wine-cvs from Oct 9th with the following:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed
2007 Jul 22
1
summary of linear fixed effects model is different than the HSAUR book
Running R 2.5.1 and a newly downloaded lme4 package on WinXP
I'm trying to work my way through Everitt and Hothorn's "Handbook of
Statistical Analyses Using R," c 2006. (No, it's not homework.)
Chapter 10 discusses linear mixed effects models for longitudinal data.
I've called my long data frame BtheB.long
Here's the model from the book, which I run.
lmer1 <-
2004 May 03
3
R 1.9.0 on AIX, 64-bit
I'm trying to get R 1.9.0 running on AIX 5.1 with the standard AIX
compilers (xlc, xlf) and it is failing 2 of the tests,
test-Reg in reg-tests-1.R like this:
bash-2.05b$ tail -30 reg-tests-1.Rout.fail
[,1] [,2]
[1,] 1 3
[2,] 2 4
[3,] 1 3
[4,] 2 4
> stopifnot(typeof(res) == "list")
> ## were not implemented in 1.8.1
>
>
> ## Date objects with
2008 Dec 31
1
finding yap.exe with Sweave
Dear all:
Just to make sure I am on the same page as everyone else.
I just got a new computer and had to reinstall MikTex and of course R and Tinn-R. In order to be able to generate PDF's with Sweave I had to install notepad++ to tell Sweave where Latex.exe and yap.exe where located under MikTex path. So,I have two questions:
1- Do I need to have a Miktex editor in order to use Sweave? I am
2009 Jan 30
1
problem using identify() after plot()
I can't seem to use the point-and-click identify() function properly.
I'm running R 2.5.1 (I know, I need to get around to upgrading) under
Win XP. The problem is, when I click on a point on the graph, I get an
error, "no point within 0.25 inches." But in some areas, I can click
where there is no visible point anywhere close, and an identify() label
will pop up. The troublesome
2002 Jul 16
2
R 1.5.1 on AIX 5.1
I'm trying to get R running on AIX 5.1 with the native AIX compilers, VisualAge C++
5.0.2.0 and XL Fortran Compiler 7.1.0.0. R compiled fine, but in running the test
cases, the base-Ex.R tests fail in the Choleski decomposition with the following:
> x <- matrix(c(1:5, (1:5)^2), 5, 2)
> m <- crossprod(x)
> Q <- chol(m)
Error in chol(m) : NA/NaN/Inf in foreign function call
2000 Jan 11
1
A strong case for IPX support in Samba and smbfs
I would benefit from IPX support in both Samba and smbfs.
I subscribe to Road Runner, a cablemodem service run by Time Warner
Cable. The cablemodem hooks up to an ethernet hub. The ethernet hub is
hooked to three computers. One of those computers runs Windows 98. The
other two can dual boot between Windows 98 and Linux. TCP/IP works
perfectly on all the computers, in both Win98 and Linux