Displaying 20 results from an estimated 100 matches similar to: "Linear regression - several response variables vs few ind variables"
2010 Dec 14
0
GLM with different factors
Hi R-Helpers,
I am stuck with my analysis. I wonder if anybody could have with this.
My data set looks like:
Squares
Hours
SppRichness
Feeding_guild
natprop
1
10
1
aq inverts
0.118697
2
25
2
aq inverts
0.605874
3
35
2
fish
0.61255
4
20
4
fish
0.764418
5
40
3
insects
0.810646
6
20
2
insects
0.832063
7
20
2
Omnivores
0.838509
n
20
3
Omnivores
2010 Jan 26
10
Detect file change
Hello everyone!
How can I detect if a folder have changed (sync logic) than run a script
if it's true?
I found this script over the net, but I think it's such complicated for
that simple thing...
#!/bin/bash
############### detectdir.sh by Jagbir Singh #################
#
# script to detect changes in directory.
#
2010 Jan 19
3
Moving the system from 5.3 to 5.4
Hello,
I built a system based on centos 5.3, now i'm planing to move to 5.4.
To do it I rebuilt all rpms making some changes.
When I use a common centos 5.3, it automatically detects that 5.4
is available and move update for it when i run yum update. How
does this work? How the system detects new version and update
for it?
I thought centos-release rpm just update repo for it, but I saw this
2006 Mar 28
1
Problems with pf + ftp-proxy on gateway
I'm trying to use pf + ftp-proxy n a 6.1-PRERELEASE machine.
I have this line on inetd.conf:
ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy
ftp-proxy -n
And this lines on pf.conf:
rdr on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port ftp-proxy
pass in quick on $ext_if inet proto tcp from any port ftp-data to
$ext_if:0 user proxy flags S/SA keep
2006 Oct 05
2
Writing Text into Plots
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have a simple question on the text() method in plots, e.g.:
text(3,4,adj=1,cex=1.0, expression(alpha == beta))
I know there exists a lot more like frac(), etc which could be used for
expression. But a help(frac) doesn't return any results - where do I
have to look for a documentation of possible text commands?
More in detail I'm
2011 Jun 01
3
conversion of matrix into list
Dear all,
I have a matrix X which consists of 2 columns. I would like to convert this
matrix into a list where every entry of the list consists of a single row of
the matrix.
Does anyone have a suggestions how to manage this?
Thank you for your efforts in advance!
Best,
Martin
[[alternative HTML version deleted]]
2011 Jul 20
2
Question about converting list items in matrix
Hi friends,
I have got a list where each element might have variable number of members.
$`4213`
[1] "214077_x_at"
$`164832`
[1] "225996_at" "235977_at"
$`339010`
[1] NA
$`23410`
[1] "221562_s_at" "221913_at" "49327_at"
$`285386`
[1] "229764_at"
$`2099`
[1] "205225_at" "211233_x_at"
2011 May 31
0
ENC: Using lm() combined with sapply
Hi Caio,
I just replied to a fellow who needed to run a series of regressions changing the dependent variables for the same period. I believe your solution might be similar to that one, just making the window dynamic instead. I used a lapply to store regressions and sapplys to extract stats from the lm()s. Please check the attachment and hope it?s useful.
Filipe Botelho
-----Mensagem
2011 May 13
3
Excel to R
Hello R-help
I am trying to copy and paste large column of data from windows Excel into R
base speed sheet using:
Data1<-edit(data.frame())
But I can only copy and paste one cell at a time which is time consuming.
Also how can assign each column to a variable.
[[alternative HTML version deleted]]
2011 Jul 07
3
coefficients lm of data.frame
Hi,
I've a data frame like this:
> as.data.frame(cbind(rnorm(1:12),rnorm(1:12)))
V1 V2
1 -1.30849402 -0.52094136
2 0.96157302 0.76217871
3 -0.44223351 -1.72630871
4 -0.10432438 -1.04732942
5 -1.38748914 0.95877311
6 -0.63965975 0.65494811
7 -0.24058318 0.19496830
8 -0.11172988 1.01680655
9 0.08065333 0.22168589
10 0.25196536 0.84619914
11
2006 Sep 25
2
Can't mix high level and low level plot functions.
Hey R-Comunity,
I'd like to print out an histogram of some experimental data and add a
smooth curve of a normal distribution with an ideally generated
population having the same mean and standard deviation like the
experimental data.
The experimental data is set as vector x and its name is set to
group.name. I paint the histogram as follows:
hist(data, freq=FALSE,
2010 Jan 19
1
Any news about missing SRPMs?
I noted centos-release source rpm is missing on repositories, and
after search a bit I found this thread:
http://www.linux-archive.org/centos/272321-centos-release-srpm.html
Anyone have news about this?
Thanks in advance
--
Renato Botelho
2011 Jun 10
4
Linear multivariate regression with Robust error
Dear all,
i am doing linear regression with robust error to know the effect of
a (x) variable on (y)other if i execute the command i found positive
trend.
But if i check the effect of number of (x.x1,x2,x3)variables
on same (y)variable then the positive effect shwon by x variable turns
to negative. so plz help me in this situation.
Barjesh Kochar
Research scholar
2006 Aug 16
1
Plots Without Displaying
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
R Help Mailing List,
I'd like to generate a plot that I could display and/or store it as e.g.
jpeg. But unfortunately always a plotting window opens. Is it possible
to prevent that?
I tried the following:
R> bp<-boxplot( sample(100), plot=FALSE)
This works somehow, but it only stores data (as discribed in the help)
in bp and it is not
2011 Jun 20
6
for loop and linear models
Hi,
I have two datasets, x and y. Simplified x and y denote:
X
Y
A B C A B C . . . . . . . . . . . . . . . . . .
I want to implement all possible models such as lm(X$A~Y$A), lm(X$B~Y$B),
lm(X$C~Y$C)... I have tried the following:
fun<- function(x,y){
for(i in 1:length(colnames(x))){
for(j in 1:length(colnames(y))){
2011 Jun 21
1
Doubit about ts() functions
Hi everyone
Please, I need one more help you
I have some data that need to make a forecast.
I´m using the command: Yst<-print(ts<-ts(Y,start=c(1,5),freq=7),calendar=T)
to create the dayly time series by the dataframe Y.
My data Y means: Y=measure dayly , start at 01/jul/2010 (thursday), for this
reason that I use c(1,5).
I need to create the time series aggregate by weakly (and not dayly as
2006 Aug 08
1
How to convert list elements to data.frames or vectors?
Dear R mailing-list comunity!
I'm currently trying to implement an R method. I have two sets of data
that I convert into a data.frame each. These data.frames I'd like to
append to a list:
# generate a list
listTable<-list()
# add one set of data
x<-1000 ;y<-1 ;listTable[[length(listTable) + 1]] <-
data.frame(matrix(rnorm(x*y), nrow=y)); rm(x); rm(y)
# add another set of
2004 Oct 28
0
sem : Error in solve.default(C[ind, ind]) : Lapack routine dgesv: system is exactly singular
Hi R-users:
When I run the R script (as the following), I got the error message:
Error in solve.default(C[ind, ind]) : Lapack routine dgesv: system is
exactly singular.
Any help is appreciated.
Ying
library(sem)
R.pw <- matrix(c(
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0.2137356, 0.2137356, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2009 Jun 27
1
Re: Wine crashes with ~/.wine on mount point with noexec set ind
Sjors Gielen wrote:
> Then I noticed that the partition /dev/sdb2 was mounted noexec, so I
> umounted ~/.wine and /media/sdb2, remounted /dev/sdb2 with exec, and
> remounted ~/.wine - and it all worked again.
>
> This is with Wine 1.1.24. Has this always been behavior, or is it a
> regression somewhere?
Wine will not work / run programs from mount mounted with noexec. It's
2009 Jun 28
0
Re: Wine crashes with ~/.wine on mount point with noexec set ind
Sjors Gielen wrote:
> Of course it won't. I guessed that was by design. Yet, crashing seems like a little too much for me.
There isn't much Wine can do, it's "crashing" outside of Wine. Wine doesn't even have a chance to load the program in question.