Displaying 20 results from an estimated 900 matches similar to: "model.tabels warning refers to wrong function (PR#6839)"
2003 Oct 13
1
extracting quoted text from character string
Hello all,
I am trying to solve a problem, and my solution is rather ugly and not very
general. The posts for "[R] help with gsub and grep functions" seemed
relevent
and gave me hope for a more refined and more general solution.
The Problem:
line <- "'this text has spaces' 'thisNot' 3 4 5 6 7 8 9 10"
bad.line <- "'this text has spaces'
2002 Nov 19
5
help reading a variably formatted text file
Dear R-Help,
I have a generated file that looks like the following:
----- Begin file -----
#
# Output File
#
float Version 2002.700000000000
int Numdays 31
int NumOFEs 1
#
# Hillslope-specific variables
#
char HillVarNames[ 3 ]
{Days In Simulation}
{Hillslope: Precipitation (mm)}
2003 Dec 02
1
Is there a way to use CGIwithR in Windows?
Dear R-Help,
Does anyone know of a way to use CGIwithR in Windows? David Firth the
author of CGIwithR states "It ought to be possible to adapt it for use also
in conjunction with web servers running under Windows NT ... but the author
has no plans for that." I have developed some applications in R that I would
like to make available through a web interface using CGIwithR but at this
2002 Jan 28
4
Type III Sums of Squares
I am trying to reproduce an analysis done in SAS from which Type III Sums of
squares are used. How can you get Type III sums of squares in an aov similar
to what SAS provides?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management
Mail Stop 2125
Texas Tech University
Lubbock, Texas 79409-2125
(806) 742-2843 Voice
2002 Apr 29
2
Lotos 1-2-3 date to POSIXct
I have some data that was created for import into a Lotus 1-2-3 spreadsheet
and on of the columns is time. The
time is akin to Julian were the value 1 is mapped "01-Jan-00 12:00:00 AM" in
Lotus 1-2-3. Is there a function in an R package that can convert this
numeric vector to a POSIXct vector?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department
2002 Jan 10
4
Test if beta is different from something other than 0
Is there a function/package that will allow you to test the hypothesis beta1
= x in a
simple linear regression, where x is a constant? The AOV tests if beta1 in
different from
0 but what if I want to know if beta1 one is different from 1?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management
Mail Stop 2125
Texas
2003 Jan 21
1
Modified F-test for heterogeneous error variances
Dear R-help:
Does anyone know of a package in R that will do Welch's modified F-test
for heterogeneous error variances? Are there other statistical techniques
available in R that test the equality of means when homoscedastisity
is violated? 't.test' does this in the pairwise sense when var.equal =
TRUE.
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Support
2002 Aug 20
1
override ask = TRUE in plot.formula
I am having difficulty with plot.formula.
For example:
-------------------
dat <- data.frame(y = c(1,1,1,2,2,2,3,3,3,4,4,4),
x1 = as.ordered(c(1,1,1,1,1,1,2,2,2,2,2,2)),
x2 = as.ordered(c(1,1,1,2,2,2,1,1,1,2,2,2)))
plot(y ~ x1 + x2, data = dat) # Works fine "interactively" asking:
# "Hit <Return> to see next plot:"
#
2002 Apr 17
4
Problem w/ axis and distortion in a plotting function
I have a function for plotting soil texture that I am having a problem with.
The function is:
plot.psd <- function(sand, clay, ...) {
conv.ter <- function(x, y) {
x.con <- 100 - x - y*cos(1/3*pi)
y.con <- y*sin(1/3*pi)
data.frame(x=x.con, y=y.con)
}
plot(conv.ter(sand, clay), xlim = c(0,100), ylim = c(0,100*sin(1/3*pi)),
axes = FALSE, xlab="",
2011 Jan 22
1
R TABELS
Hi
ihave one table that look like
SNP1 SNP2 SNP3 SNP4 SNP5
SIRE1 1 -1 -1 1 -1
SIRE2 1 -1 1 1 1
SIRE3 -1 -1 1 1 0
SIRE4 -1 1 1 0 1
SIRE5 -1 1 -1 -1 1
SIRE6 0 0 0 1 -1
SIRE7 -1 0 -1 1 1
SIRE8 1 -1 NA 0 NA
SIRE9 -1 1 1 -1 -1
SIRE10 1 1 1 1 1
table 2 only one line
SNP1 SNP2 SNP3 SNP4 SNP5
SIRE100 -1 -1 1
2003 Feb 15
1
tests for spericity
Dear R-help,
Does any one know of a function/package in R that will test the assumption of
spericity in a split-plot analysis of variance? How are people dealing with
this issue in R?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Support Scientist
University of Idaho
Northwest Watershed Research Center
800 Park Blvd, Plaza IV, Suite 105
Boise, ID 83712-7716
(208) 422-0718
2004 Feb 05
1
What is the correct way of using function C() for factors:
The funciton c() works differently for strings and for factors:
For strings:
> l = c('a', 'b')
> l
[1] "a" "b"
For factors:
> l = c(factor('a'), factor('b'))
> l
[1] 1 1
What should be the right technique for merging factors?
--
Svetlana Eden Biostatistician II School of Medicine
2003 Nov 14
6
index of max value ?
Is there a function in R, which would return index of maximum value
in a vector ?
e.g.
> v <- round(10*rnorm(8))
> v
[1] 6 -3 -6 15 7 9 0 -19
> max(v)
[1] 15
??? index.max(v)
??? 4
2005 Dec 27
3
What is the best way of setting up the following model:
Hi, I am new to Rails (and Ruby) and for what i have seen sofar i like
it a lot! But i can''t figure out what the best sollution would be for
the following:
Lets say i want to setup a CRM system and i have to sorts of contacts:
Customers and Prospects. A part of the info is the same (addresses,
company info etc) for both customers an prospects and a part is
different.
What i would
2010 Jun 06
2
How to make an SQL querey Within a partial, is that possilbe??
Hello,
I''m quite new to Rails and english is even not my first language, so
please excused nescience and clerical mistake.
I''ll try to explain my problem as good as possible.
I try to implement a page where a profil is shown, this is searched by
ID.
within this profil page I want to include the comments that refer to
this profil.
In the back I have to database tabels, the one
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
Hello all.
Sorry for reposting this message, but I accedently sent it in
HTML-format the first time.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I
2006 May 16
9
Array in database?
Hello, I wanted to know how to make an aray in the database. I''m making
a "backpack" for my game. So i''m gana use it in a array.
--
Posted via http://www.ruby-forum.com/.
2004 Jul 20
3
regression slope
Hello,
I'm a newcomer to R so please
forgive me if this is a silly question.
It's that I have a linear regression:
fm <- lm (x ~ y)
and I want to test whether the
slope of the regression is significantly
less than 1. How can I do this in R?
I'm also interested in comparing the
slopes of two regressions:
fm1 <- lm (x ~ y)
fm2 <- lm (a ~ b)
and asking if the slope of fm1 is
2006 Jun 15
6
[OT] Tables VS divs for form layout.
I''ve been using tables to get my forms to line up. ( I have usually one
column for labels, and a column for values ). Should I be using divs
instead? I''ve been reading some CSS design books lately. They tend to
recommend divs over tables for general page layout stuff. But, what about
the forms elements? What''s the ''best practice'' in this regard?
2004 Sep 15
5
replacing NA's with 0 in a dataframe for specified columns
I know that there must be a cool way of doing this, but I can't think
of it. Let's say I have an dataframe with NA's.
> x <- data.frame(a = c(0,1,2,NA), b = c(0,NA,1,2), c = c(NA, 0, 1, 2))
> x
a b c
1 0 0 NA
2 1 NA 0
3 2 1 1
4 NA 2 2
>
I know it is easy to replace all the NA's with zeroes.
> x[is.na(x)] <- 0
> x
a b c
1 0 0 0
2 1 0 0
3 2 1