similar to: Matrix from List

Displaying 20 results from an estimated 2000 matches similar to: "Matrix from List"

2008 Apr 13
1
Installing R in Ubuntu
Hello, I am new to Ubuntu (Linux in general) and I am trying to install R: so far, I am stuck. I have followed the instructions at the CRAN website with little luck. I read an exchange about the same issue posted before, but did not give me enough information to solve things by myself, hence, this email. Based on the former exchange I read, I am trying to include enough information to see if
2008 May 19
1
Least Squares Restricted Estimator
It is there any implementation of a Least Squares Restricted Estimator for a single equation in R? I have seen in the list some examples in which linear constraints are embedded within the equation, but let's say that I have a large number of coefficients (on factors) that I want them to sum up to 0 (so I can include an intercept, the full set of factors, and avoid the dummy trap). Is there
2008 Sep 04
2
Adding a legend to R graph device with several plots (no to individual plots!)
Dear Users, I already posted this question: it either went unnoticed, or it is to basic (if this is so, please sent me a hint). I would like to know if there is a way to add a common legend to an arrangement of plots. In the example below, I get four plots in my device. each one has a density for 1995 and one for 2006. I have found that using legend or smartlegend I can add a legend to each plot,
2023 Jun 01
1
ayuda sobre grafico de barras simple
El 31-05-23 a las 17:56, Javier Marcuzzi escribió: > Estimados > > José envio un archivo, pero no es privativo.  Hay varios programas > para abrir un documento word, pero, dicho de otra forma, es docx, > especificado en: > > Office Open XML - Wikipedia, la enciclopedia libre > <https://es.wikipedia.org/wiki/Office_Open_XML> > es.wikipedia.org
2009 May 30
0
improve efficiency of a loop
Dear All: I need advice about efficient looping/vectorization. I am trying to bootstrap a regression model with one lag of the dependent variable in the RHS. Specifically, let error^b_(t) be the bootstrapped error of the regression y_(t) = gamma y_(t-1) + beta x +error_(t) at time (t), y_(t) is the original dependent variable, and y^b_(t) the bootstraped y_(t) using parameter estimates gamma and
2023 Jun 03
1
Nuevo conjunto de datos
Hola, buenas estimados. Acabo de instalar, después de algún tiempo,  R versión 4.3  y Rcommander en Manjaro Linux, 6.3.5  Y me he dado cuenta que no existe la opción de crear un Nuevo conjunto de datos. ¿eso es así ahora? Muchas gracias por su tiempo. Saludos. -- Ps. Félix Pérez Villoria Centro Kumon & Ayudantía Pedagógica. https://www.ayudantiapedagogica.cl General Ordóñez 30 oficina
2008 Jan 14
2
plot POSIXct format data
Hi, everyone I've been trying to make a scatter plot of POSIXct format data to see the difference between two start time. Like X: [1] "1995-05-26 19:00:00" "1995-05-27 01:00:00" "1995-05-27 07:00:00" [4] "1995-06-29 01:00:00" "1995-06-29 07:00:00" "1995-06-30 13:00:00" [7] "1995-06-30 19:00:00" "1995-07-01
2006 Nov 23
1
how to loop this?
Hi, I have the next procedure: t1<-data.frame(table(substr(names(subset(lasker[[1]], lasker[[1]] >= 4)), 1, 7))) t1[1:5,] Var1 Freq 1 1988-02 3 2 1988-03 1 3 1988-04 1 4 1988-05 2 5 1988-06 3 How to make a new list?, dataframe? having 189 elements in the 'lasker' list: > str(lasker[[1]]) 'table' int [, 1:1274] 1 1 3 2 1 5 4 1 1 4 ... -
2011 Jun 02
2
Counting occurrences in a moving window
Hi list, based on the following data.frame I would like to create a variable that indicates the number of occurrences of A in the 3 years prior to the current year: DF = data.frame(read.table(textConnection(" A B 8025 1995 8026 1995 8029 1995 8026 1996 8025 1997 8026 1997 8025 1997 8027 1997 8026 1999 8027 1999 8028 1995 8029 1998 8025 1997 8027 1997 8026 1999 8027 1999
2006 Nov 22
3
dataframe manipulation
Hi, Having a dataframe 'l1' (dput output is below): >dim(l1) 1274 2 >l1[1:12,] Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30 1 6 1988-02-01 5 7 1988-02-08 4 8 1988-02-14 1 9 1988-02-16 1 10 1988-02-18 4 11 1988-02-24 2 12 1988-03-04 1 I want to extract the times
2008 Feb 22
3
projection.matrix() {popbio} for more than one matrix
Hello, I am trying to use the projection.matrix( ) function and am following the example given. I have my data formatted very similar to the test.census example. > str(AsMi05mat) `data.frame': 1854 obs. of 6 variables: $ Tag : num 501 502 503 504 505 506 507 508 509 510 ... $ Year : int 1995 1995 1995 1995 1995 1995 1995 1995 1995 1995 ... $ Length : num 34
2011 Mar 10
1
Timezone issue with strftime/strptime and %z and %Z
Hello! I've been trying to get this right for quite a while now and fear there is an easy solution I just don't see. I did not have this problem in Linux, and I searched r-help and Google but did not find a solution, but of course I am grateful for and resources I might not have found our not understood yet. I try to parse a time stamp with time zone. I essentially just want to parse the
2008 Aug 27
3
Calculating total observations based on combinations of variable values
Hello: As someone making the move from STATA to R, I'm finding it difficult at times to perform basic tasks in R, so forgive me if I've missed an obvious and easily obtained solution to my problem. I've searched the help guides and the archives and have not been able to find a solution that works. I have a data frame with thousands of observations that looks something like this:
2004 Dec 17
1
reshape and split
Dear R-users, I am trying to reshape the DF "dat2" in the "long" format, but can't figure out how to use the "split"-option: > dat2 a.1995.z b.1995.z a.1996.z var 1 100.00000 100.00000 100.00000 Neue Anlagen insgesamt 2 40.09904 23.60890 40.88960 Neue Ausr??stungen 3 59.90096 76.39110 59.11040 Neue Bauten This
2013 Apr 19
5
how to subtotal by rows
Dear R-users, I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid. fid      year     rice     wheat      maize ------------------------------------------------ 1        1995      5        NA           NA 1        1995      NA        3           NA 1        1995      NA       NA           2 1        1996      4        NA           NA 1  
2007 Oct 25
1
subsetting
Dear all, I have received some data on birds that looks sth like this: # a unique id for each individual id <- c(1,1,1,2,2,2,3,3,3,4,4,5,6) # the year the bird was measured year <- c(1995, 1996, 1997, 1995, 1996, 1997, 1996, 1997, 1998, 1996, 1997, 1997, 1998) # the year the bird was hatched year.hatch <- c(1995, 1995, 1995, 1995, 1995, 1995, 1996, 1996, 1996, 1996, 1996, 1997, 1998)
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
I am trying to learn how to format Ascii data files for scan or read into R. Precisely for a quickie project, I found some code (at end of this email) to do exactly what I need: To cluster and graph a dendrogram from package (stats). I am stuck on how to format a text file to run the script. I looked at the dataset USArrests (which would be replaced by my data and labels) using UltraEdit. That
2008 May 09
2
Tabulation of aggregated data.frame
Hi useRs! I would like to know how to make aggregated data.frame with aggregate() tabulated. For example, I run the following command to aggregate re with respect to group1 and group2. > (aggr <- with(final, aggregate(re, group1, group2, mean))) Group.1 Group.2 x 1 1992 15 0.16392 2 1993 15 0.15467 3 1994 15 0.15456 4 1995 15 0.15391
2011 Apr 14
1
Create matrices for time series
Hi list, I would like to use the following data.frame to generate matrices over a 3 year moving window: DF = data.frame(read.table(textConnection(" A B C 80 8025 1995 80 8026 1995 80 8029 1995 81 8026 1996 82 8025 1997 82 8026 1997 83 8025 1997 83 8027 1997 84 8026 1999 84 8027 1999 85 8028 1995 85 8029 1998"),head=TRUE,stringsAsFactors=FALSE)) Function to be
2023 May 31
2
ayuda sobre grafico de barras simple
Estimados José envio un archivo, pero no es privativo. Hay varios programas para abrir un documento word, pero, dicho de otra forma, es docx, especificado en: https://es.wikipedia.org/wiki/Office_Open_XML? Bajo esas especificaciones es posible crear reportes escritos con extensión docx, o pdf, la diferencia es que uno es creado por Microsoft y otro por Adobe. Yo se utilizar lo especificado y