similar to: changing the dimensions of a matrix in a real specific way

Displaying 20 results from an estimated 700 matches similar to: "changing the dimensions of a matrix in a real specific way"

2011 Mar 08
1
creating additional column
Hello everybody, I have a little problem in good old R. It is basically the following. I have this small database with 3 rows and the following columns: d1, d2, d3 and Highest d value - which selects the highest value from d1, d2, d3 in each row. d1 d2 d3 Highest d value 1 51.398426 39.111721 11.6086220 51.398426 2 4.057801
2011 Mar 01
2
bootstrap resampling question
Hello there, I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody. I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4, 5, ... 18, 19, 20). I would like to resample this database many times for the bootstrap process with
2011 Mar 21
1
recalling different data frames (the way you do in Excel VB)
Hello everyone, I'd like to ask you a question again, basically focusing on referring to different objects. Let's suppose we create the following databases this way: id <-c(1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3) a <-c(3,1,3,3,1,3,3,3,3,1,3,2,1,2,1,3,3,2,1,1,1,3,1,3,3,3,2,1,1,3) b <-c(3,2,1,1,1,1,1,1,1,1,1,2,1,3,2,1,1,1,2,1,3,1,2,2,1,3,3,2,3,2) c
2011 Mar 21
1
recalling different data frames (the way you do in Excel VB but now) in
Hello everyone, I'd like to ask you a question again, basically focusing on referring to different objects. Let's suppose we create the following databases this way: id <-c(1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3) a <-c(3,1,3,3,1,3,3,3,3,1,3,2,1,2,1,3,3,2,1,1,1,3,1,3,3,3,2,1,1,3) b <-c(3,2,1,1,1,1,1,1,1,1,1,2,1,3,2,1,1,1,2,1,3,1,2,2,1,3,3,2,3,2) c
2011 Apr 18
4
altering identity column
Hi there, I have a huge dataframe containing 70,000 observations. I have filtered this dataframe (let it's name be "transformed_dataframe") as I wanted to select only those observations which are greater than or equal to 60,001 regarding the very first identity column. So I have a transformed dataframe now including 10,000 obeservations (from 60,001 - to 70,000) and if you send
2011 Feb 10
3
help - "the condition has length > 1 and only the first element will be used"
Hello there, I don't know if I'm addressing my question to the right e-mail address, I hope I do. Actually I have a little problem concerning writing a code in R. I try to briefly sum up my problem. As you can see below, I created the functions "Equation1" and "Equation2" with some conditions. Equation1 <-function(x){ if
2011 Mar 17
1
calculating the occurrences of distinct observations in the subsets of a dataframe
Hello everybody, I have a data frame in R which is similar to the follows. Actually my real 'df' dataframe is much bigger than this one here but I really do not want to confuse anybody so that is why I try to simplify things as much as possible. So here's the data frame. id <-c(1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3) a
2011 Mar 19
2
persuade tabulate function to count NAs in a data frame
Hi, I'd like to ask you a question again. It is basically about data frames, NAs and tabulate function. I have this data frame. I already used this in one of the previous questions of mine. It intentionally looks this simple, my real 'df' dataframe is much bigger actually and again, I am not willing to annoy anyone with huge databases... So, my database: id
2011 Mar 11
1
changing one character in the name of dataframes repeatedly
Dear R-community, I'd like to ask you a question concerning R again. I try to keep this simple because I am not willing to confuse you at all. I have a little data frame which I have created the following way: a <-c(1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6) b <-c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30) df
2011 Mar 01
2
bootstrap resampling - simplified
Hello there, I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody. I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4, 5, ... 18, 19, 20). I would like to resample this database many times for the bootstrap process with
2011 Mar 28
1
quantile function -> I need only the quantile value itself
Hi, I am using the quantile function currently and I have just bumped into a little problem. I have a very small data frame something like this: small_df <- c(7,3,4,7,1,10,12,1,12,4,4,8,6,11,9,10,4,13,3,9,6,5,2,10,7,14,2,7,10,10,7,8,2,11,3,10,11,3,11,14,12,7,6,11) small_df Now in the next step I would like to calculate the quantile value of the previous data frame at the probability of 95%
2011 Mar 28
2
deleting the first two characters in each row of a factorized column
Hello, I'd like to ask you something again. I have a database and it has a column which looks like this one here: small_factor <- factor(c("d_variable1","d_variable2","d_variable3")) small_factor Now the thing is that I would like to convert each element of this factorized column. Basically I want to rewrite the words in it without the first two characters:
2018 Nov 01
0
AD GlobalNames zone
Hi, MS AD feature the GlobalNames DNS zone. Is there the same feature in Samba AD (with bind9 DLZ)? ifeher Ez az e-mail és bármely melléklete kizárólag a címzettnek szól. A címzett személyes adatait a küldő fél a www.e77.hu oldalon ITT elérhető adatkezelési tájékoztatóban foglaltak szerint kezeli. Az ott leírtak szerint ön jogosult tiltakozni személyes adatainak kezelése ellen. A jelen
2013 Nov 19
0
[SOLVED] ibm x440 xen not boot (rootfs not found)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All. Just in then case if anyone is using some old piece of hardware like the ibm x440, I could successfully run xen 4.2.3 on it. I have a working kernel .config and a set of xen boot parameters, along with some tuneups in the x440''s BIOS. The problem was quite complex (irq handling pci bus problems, ethtool magics, etc). Occasionally (once
2013 Nov 13
4
start VM Windows
Fresh Ubuntu 13.10 server build with all the latest patches, installed Xen 4.3 and XCP-XAPI. Got Xenbr0 working properly and created an LVM storage repository and a CIFS ISO repository. I can create VM''s no problem at all but whenever I try to start them I get the following error from the log. Only Windows VM. The error comes up almost instantly when trying to start it. Not sure where to
2005 Jul 08
1
DSL Provider
First of all sorry for the little offtopic post :-) For one of our customers i need to make a vpn between the Netherlands and Hungary. Over this vpn two * machines are gonna talk IAX and employees in Hungary are gonna use the Exchange server located in the Netherlands. So far no problem... The problem: I'm from in the Netherlands and don't understand the .hu websites :-( First question:
2006 May 09
1
Rmpi instlation problem (PR#8846)
Ive tryed this: R CMD INSTALL Rmpi_0.5-2.tar.gz But occurred this error: gcc -shared -L/usr/local/lib64 -o Rmpi.so conversion.o internal.o RegQuery.o Rmpi.o -lmpi -llam -lutil -lpthread -L/usr/local/lib64/R/lib -lR /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin /ld: /usr/local/lib/libmpi.a(infoset.o): relocation R_X86_64_32 can not be used when making a shared
2004 Oct 18
0
GNU/Linux Router with poptop problem
Hello, I have a problem with my GNU/Linux router. I mean, I am trying to configure a VPN conection for the clients of the LAN and allow to connect them to the Internet trought the router. I have installed in the server a QoS policy and I have configured the firewall for allowing all the clients to connect. I attach the script. The idea is that when a client connect this pc the dhcp gives him an
2007 Apr 25
0
attributable risk
Hi everybody, Does anyone know a function to compute the attributable risk of a factor in a logistic regression or a proportional hazard cox model (both with confounding variables)? I need also obtain the confidence interval. Thanks in advance. Isaac Subirana. -------- La informació continguda en aquest missatge i en qualsevol fitxer adjunt és confidencial, privada i d'ús exclusiu
2007 Mar 09
0
Right truncation data
Hi, Does anybody know how to perform a Cox model analysis for right truncated data? All my data is right truncated, since I only have patients who entered in a hospital for a particular desease, and I would like to modelate the age at hospital entrance as the response variable. Thanks in advance. Isaac Subirana. isubirana@imim.es -------- La informació continguda en aquest missatge i