Displaying 20 results from an estimated 5000 matches similar to: "Standardized Beta?"
2006 Oct 14
2
regression analyses using a vector of means and a variance-covariance matrix
R 2.2.0
windows XP
How can I perform a regression analyses using a vector of means, a
variance-covariance matrix? I looked at the help screen for lm and did
not see any option for using the afore mentioned structures as input to
lm.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D.
2003 Mar 31
4
"font problems in X11 with linux R"
Hello,
I''m inexperienced with linux, X11 and R. A font problem have surfaced. When I
use pairs in John Fox''s car library e.g.:
> pairs(cbind(prestige, income, education, women))
Error in text.default(x, y, txt, cex = cex, font = font) :
X11 font at size 16 could not be loaded
In addition: Warning message:
freeing previous text buffer in GText
>
Evidently
2001 Mar 19
3
3D plots
Hi all,
I've got at really basic Q for you all: How do I produce a 3D plot in R?
Like the one in the screenshot on the R-project wab-page.
What is the command?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and Linguistics
Ume? University
S-901 87 UME?
SWEDEN
Tel: +46 90 786 56 84 Web:
2002 Mar 01
3
Split plot in colors/pch??
Hi all
This seems like a very easy question, but I have not found a simple
answer to it:
If you have a dataframe, how to you plot two of then in different colors
depending on a third variable?
All help appreciated!
/Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2005 Aug 08
2
Groups in histograms?
Dear list,
I would like to create histograms for up to three groups, with
distincive colour/pattern, in a trellis panel. However, I have not
been able to find a way to do this. histogram does not seem to have a
group argument.
Please help.
/Fredrik
2009 Jun 26
4
How do I get just the two last tokens of each string in a vector?
Dear list,
Sorry for asking this very silly question on the list, but I seem to
have made my life complicated by going into string manipulation in
vectors.
What I need is to get the last part of a sting (the two last tokens,
separated by a space), and of course, this should be done for all
strings in a vector, creating a new vector of exual size.
So,
a <- c(" %L H*L L*H H%",
2008 Dec 18
2
X11 is not availble
Hi there,
after several problems with installing R on a Debian server It now
finally works at least roughly. With roughly I mean that the 'core'
function do work properly, but I'm still having problems with the
image export. When I try to call
png(filename="my_file.png", width=800, height=300, pointsize=12, bg =
"white")
I just get the error message
2001 Mar 02
3
Post Hoc on repeated measures?
Hi all,
I'm a potential new user of R and have to know this before I start using it:
SPSS does not let you do a Post Hoc analysis on repeated measures data.
This is a problem for me, since that is what I will have to do.
Will R let me do this?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and
2009 Jun 17
2
Urgent - odfWeave produces graphs /images with Read-Error
Dear list,
I have been working on a report with around 60 images in it, and
everything has been fine, until now. I find that the image output that
is produced by odfWeave produces images that are NOT readable by
OpenOffice or NeoOffice. I get empty boxes with Read-Error written in
them. While generating the file using odfWeave, I can see them being
generated on the screen, and they all seem fine.
2002 Mar 25
2
Logistic regression in R?
Hi all!
I want to do some logistic regression. Is there a fintion in R that does
this, or do I have to do the variable conversion by hand?
Thankful for all the help I can get.
/Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2002 Mar 08
3
Unbalanced ANOVA in R?
Hi all
I'm trying to complete a textbook example originally designed for SPSS
in R, and I therefore need to find out how to compute an unbalanced
ANOVA in R.
I did a search on the mailinglist archives an found a post by Prof.
Ripley saying one should use the lme function for (among other things)
unbalanced ANOVAs, but I have not been able to use this object.
My code gives me an error.. Why
2002 Dec 01
1
generating contrast names
Dear R-devel list members,
I'd like to suggest a more flexible procedure for generating contrast
names. I apologise for a relatively long message -- I want my proposal to
be clear.
I've never liked the current approach. For example, the names generated by
contr.treatment paste factor to level names with no separation between the
two; contr.sum simply numbers contrasts (I recall an
2002 Nov 02
1
problem with expand.model.frame
Dear R list members,
I'm encountering a problem with expand.model.frame(): Suppose that I define
the following simple function (meant
just to illustrate the problem):
> fun <- function(model){
+ expand.model.frame(model, all.vars(formula(model)))
+ }
>
and I have the following model, created with an explicit data argument:
> mod
Call:
2017 Oct 15
2
Bootstrapped Regression
Hello Rui,
Thanks for your helpful suggestions. Just for illustration, let's use the
well known Duncan dataset of prestige vs education + income that is
contained in the "car" package. Suppose I wish to use boot function to
bootstrap a linear regression of prestige ~ education + income and use the
following script:
duncan.function <- function(data, indices) {data =
2005 Aug 18
1
How do I make a Sweave + latex table out of this ?
Dear list,
I have a table that I would like to convert to latex for inclusion
into a Sweave file.
> round(ftable(prop.table(xtabs(~agemF + votcat + Type , data=work),margin=2))*100,1)
Type Voiced Voiceless unaspirated Voiceless aspirated
agemF votcat
18 - 24 Prevoiced 2.6 8.7
2005 May 11
2
Subset with selection variable from function argument. Is there another way?
Dear list,
I'm making my current code more generic and would like some advise.
The basic problem is subset and the name of the column to be compared
for selection.
What I've come up with is
> data(mammals)
> set <- bottompremolars"
> subset(mammals, eval(parse(file="",text=set)) > 2)
This seems a bit odd. Is there a nicer way?
/Fredrik
2017 Oct 15
0
Bootstrapped Regression
Hello,
Much clearer now, thanks.
It's a matter of changing the function boot calls to return the
predicted values at the point of interess, education = 50, income = 75.
I have changed the way the function uses the indices a bit, the result
is the same, it's just the way I usually do it.
pred.duncan.function <- function(data, indices) {
mod <- lm(prestige ~ education +
2008 Mar 07
2
Trouble using RESTful helper
Hi,
I am trying to get into this REST thing, I have a nested resource
whith the following route:
ActionController::Routing::Routes.draw do |map|
map.resources :members
map.resources :clubs do |club|
club.resources :members
end
map.connect '':controller/:action/:id''
map.connect '':controller/:action/:id.:format''
end
Everything worked ok for this
2002 Oct 16
5
Database newbee problem...
Hi all,
This is a potentially very stupid question about MySQL <-> R
interaction, but I have not been able to solve it.
I'm just trying to connect R to my MySQL databse, and gets this:
> library(RMySQL)
Loading required package: methods
> m <- dbDriver("MySQL")
> con <- dbConnect(m,group="testdb")
Process R segmentation fault at Wed Oct 16 07:04:30
2010 Mar 22
2
Factors attribute?
I noticed that when I fit a linear model using 'lm' there is an attribute called "factors" that is added to the "term". It doesn't seem to appear for 'model.matrix', just 'lm'. I have been unable to find where it gets constructed or what it means? It looks like a two dimensional array that I may be able to use so I would just like to get some