Displaying 20 results from an estimated 700 matches similar to: "Matrix: Problem with the code"
2009 Jan 10
3
Applying 'lm' in each group
Hi,
I want to do regression in each group. I made the group the following way. Now I want to run regression in each of the three groups..
Suppose ,
x<-c(0.5578196,6.5411662,13.2728619,2.0217271,6.7216176,3.37220617,2.5773252,7.2600583,15.3731026,3.4140288,8.1335874,
15..6476637,4.3014084,9.1224379,18.5605355,4.7448394,11.9296663,18.5866354,12.3797674,18.7572812,2.70433816,2.88924220,
2009 Jan 10
1
Setting a contingency table
Hi,
I want to set a make a contingency table which will look like this.. The problem is that I can't set the table like the following.
col1 col2 Total
row1 a b n10
rp1 rp2 100
cp1 cp2 rtp1
---------------------------------------------
row2
2009 Jun 11
1
Integrate function in R
Hi!
Can anyone please let me know what numerical integration procedure does the integrate function in package stats follow?
Thank you in advance
Shant
[[alternative HTML version deleted]]
2009 Jan 15
2
Interface to open source Reporting tools
Hi,
I am a new user of R 2.8.1. I use Tinn-R for code editing. I use a windows
2003 system with 1 GB RAM.
I am interested to generate dashboard and reports based on data from MS
Access. These reports need to be posted on a weekly basis to the web. The
reporting interface should provide facilities for "what if" scenarios.
Is it possible to interface R analysis results to good open
2007 Jun 24
1
errors in compiling R-2.5.0 and R-2.4.0[sec=unclassified]
Dear all,
I have encountered errors in compiling R-2.5.0 and R-2.4.0 in a linux
machine (power-pc). I can successfully build it from the source code if
I do not use the '--enable-R-shlib' option while executing the
'./configure' command as mentioned in rpy documentation. Using the
`--enable-R-shlib' option the configure step is executed properly but
the `make' crashes
2005 Dec 29
3
importing shapefiles into spatstat
Dear R users,
I am using spatstat to analyze point patterns (tree locations). I would
like to import the shapefile with the study area polygons (six total) into R
and use it to create the window for the spatstat analysis. I do not simply
want to use a rectangle because the study areas spread out over 40000 ha.
Any suggestions would be greatly appreciated.
Thanks,
Charlotte Reemts
Charlotte
2017 Aug 23
2
Scaling Matrix in qda() function in MASS package
Hello,
I am Souradeep Chattopadhyay and I am a graduate student at Iowa
State University Department of Statistics.
Can anyone please explain the mathematical formulation behind the scaling
matrix returned by the qda function in MASS package. I want to understand
how this scaling matrix is derived from the inputs given to the qda
function.
Example Code
The following example is using
2008 Dec 18
4
autologistic modelling in R
Hi,
I have spatially autocorrelated data (with a binary response variable and
continuous predictor variables). I believe I need to do an autologistic
model, does anyone know a method for doing this in R?
Many thanks
C Bell
2010 Apr 26
2
Using optim function for logistic model simulation
Hello!
I'm a college undergrad desperately trying to finish up my thesis. I
have a dataset on the distribution of a grassland bird from the
Breeding Bird Survey. I have a very straightforward and simple version
of the logistic growth model to describe changes in this bird's
abundance over time. The variables are the natural birth rate,
mortality, and carrying capacity. The equation itself
2009 Oct 02
1
How to select a subset <number of dimensions matter>
Hi guys,
I need your help.
I would like to select a subset from a dataset.
This is the dimension of the dataset.
> dim(data1)
[1] 72 36 1916
so, it's like.. there are 1916 of 72 * 36 matrix. ==> looks like 72 * (
36*1916 )
**
*1)*
And I would like to select the first 72*36 matrix. This is how I did:
> two=data1[,1:36]
Error in data1[, 1:36] : incorrect number of dimensions
2007 May 02
1
Degrees of freedom in repeated measures glmmPQL
Hello,
I've just carried out my first good-looking model using glmmPQL, and
the output makes perfect sense in terms of how it fits with our
hypothesis and the graphical representation of the data. However,
please could you clarify whether my degrees of freedom are
appropriate?
I had 106 subjects,
each of them was observed about 9 times, creating 882 data points.
The subjects were in 3
2020 Jun 16
2
LUKS layer / best practice
Hi all,
with regard to LUKS; should it placed before LVM or after? Any
recommendations? TRIM command fully supported through all layers etc?
--
Leon
2009 Dec 02
2
Replying to Posts Within Same Thread
Hi,
When I reply to a post, it generally appears as a separate thread,
rather than branching off the original post.
Anyone know what I'm doing wrong?
Noting I am currently receiving a couple of the lists in digest form.
kind regards
--
Charlotte Maia
http://sites.google.com/site/maiagx/home
2011 Sep 27
1
change rownames
Hi All,
How do I add "com" to the row names of a data frame, without
deleting the plot numbers?
Thanks
2010 Apr 26
3
Identifying breakpoints/inflection points?
Hello!
I have a dataset with the following two vectors:
year<-c(1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009)
2013 Sep 26
1
Grouping Matrix by Columns; OHLC Data
HI,
May be this helps:
set.seed(24)
?mat1<- matrix(sample(1:60,30*24,replace=TRUE),ncol=24)
colnames(mat1)<- rep(c("O","H","L","C"),6)
indx<-seq_along(colnames(mat1))
n<- length(unique(colnames(mat1)))
?res<- lapply(split(indx,(indx-1)%%n+1),function(i) mat1[,i])
lapply(res,head,2)
#$`1`
#????? O? O? O? O? O? O
#[1,] 18 56 51 24 24 52
#[2,]
2001 Aug 08
1
Package for variable clustering
Dear R users:
is there a package, similar to varclus in SAS or varclus in S, ported or
written for R? Also, is there any other package in R that was designed
for
grouping the variables under different measures of distance (in cases
where data is non-Gaussian, autocorrelated, and so on).
Janusz.
--
** Janusz Kawczak **
** UNC at Charlotte,
2020 Aug 25
3
[TableGen] What to do if there are overlapping instruction patterns?
I've been working on adding support for a (semi-proprietary) extension
for PowerPC called "Paired-Singles". It's a SIMD instruction set
supporting various operations on a vector of 2 32-bit floating point
numbers.
The Extension is found in the PowerPC 750CL, modified variants of it are
used in the Nintendo GameCube (Gekko), the Nintendo Wii (Broadway) and
the Nintendo Wii U
2000 Dec 28
1
function write
Dear R users,
how can i export data from R to excel (or text file)?
i use write funstion but i ve the following error message :
write(charlotte,"h:/hakim/charlotte/essai3.txt",nc=2)
Error in cat(list(...), file, sep, fill, labels, append) :
argument 1 not yet handled by cat
thx.
AXA Corporate Solutions
Nouveaux Produits
Nour-Eddine HAKIM
52 Rue d'Amsterdame - 75009
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
Updated packages
----------------
New reviews
-----------
This email provided as a service for the R community by
http://crantastic.org.
Like it? Hate it? Please let us know: cranatic at gmail.com.