search for: site3

Displaying 20 results from an estimated 43 matches for "site3".

Did you mean: site
2011 Feb 03
3
R Data Manipulation - Transposing Data by a Given Column, Like User_ID
...couldn't find a function with options like PROC TRANSPOSE in SAS. The ideal solution handles variable quantities of SITE - but beggars can't be choosers. :-) Thank you in advance, Mike ## INPUT DATA USER_ID<-c(1,1,1,2,2,2,3,3,4) SITE <-c("SITE1","SITE2","SITE3","SITE1","SITE2","SITE3","SITE1","SITE2","SITE3") COUNTS <-c(10,13,22,10,12,12,13,44,99) RAW<-data.frame(USER_ID,SITE,COUNTS) RAW #ANSWER SHOULD LOOK LIKE a<-c(1,2,3,4) b<-c(10,10,13,0) c<-c(13,12,44,0) d<-c(22,12,...
2006 Aug 29
1
Bootstraping for groups and subgroups and joing with other table
...Spp02 4.43 RioJaneiro Site1 Spp01 3.31 RioJaneiro Site1 Spp03 6.25 RioJaneiro Site1 Spp01 3.40 RioJaneiro Site2 Spp01 9.12 RioJaneiro Site2 Spp01 0.80 RioJaneiro Site2 Spp01 6.37 RioJaneiro Site2 Spp02 1.66 RioJaneiro Site2 Spp01 3.49 RioJaneiro Site3 Spp02 8.98 RioJaneiro Site3 Spp02 5.96 RioJaneiro Site3 Spp01 8.28 RioJaneiro Site3 Spp03 1.51 Bahia Site1 Spp01 6.76 Bahia Site1 Spp01 9.99 Bahia Site2 Spp01 0.72 Bahia Site2 Spp02 6.63 Bahia Site2 Spp02 3.41 Bahia Site2 Spp01 8.85 Bahia...
2008 May 02
3
data transformation
...e names of the species (1st column), the lat information of the sites (2nd column) and the lon information of the sites (3rd column), as given in the below example? Thanks a lot for your help! Christian my dataframe: site lat lon spec1 spec2 spec3 spec4 site1 10 11 1 0 1 0 site2 20 21 1 1 1 0 site3 30 31 0 1 1 1 my desired new dataframe: species lat lon spec1 10 11 spec1 20 21 spec2 20 21 spec2 30 31 spec3 10 11 spec3 20 21 spec3 30 31 spec4 30 31 -- Christian Hof, PhD student Center for Macroecology & Evolution University of Copenhagen www.macroecology.ku.dk & Biodiversity &a...
2006 Aug 29
0
En: Bootstraping for groups (right data tables)
...p01,9.53 RioJaneiro,Site1,Spp02,2.29 RioJaneiro,Site1,Spp02,2.34 RioJaneiro,Site1,Spp01,6.01 RioJaneiro,Site1,Spp03,1.10 RioJaneiro,Site1,Spp01,9.57 RioJaneiro,Site2,Spp01,9.61 RioJaneiro,Site2,Spp01,6.00 RioJaneiro,Site2,Spp01,2.37 RioJaneiro,Site2,Spp02,6.33 RioJaneiro,Site2,Spp01,0.11 RioJaneiro,Site3,Spp02,7.53 RioJaneiro,Site3,Spp02,7.74 RioJaneiro,Site3,Spp01,3.16 RioJaneiro,Site3,Spp03,6.29 Bahia,Site1,Spp01,7.30 Bahia,Site1,Spp01,2.21 Bahia,Site2,Spp01,4.69 Bahia,Site2,Spp02,5.02 Bahia,Site2,Spp02,5.37 Bahia,Site2,Spp01,2.62 Bahia,Site2,Spp01,0.74 Bahia,Site3,Spp02,0.60 Bahia,Site3,Spp01,3....
2005 Feb 09
4
subset
...reserve rownames in the first column in the subset. Does anyone know how to extract all species that don't have rowSums equal to zero? Here it is: # dataset x <- data.frame( species=c("sp.1","sp.2","sp.3","sp.4"), site1=c(2,3,0,0), site2=c(0,0,0,0), site3=c(0,1,0,6), site4=c(0,0,0,0)) #I want extract the matrix: species site1 site2 site3 site4 sp.1 2 0 0 0 sp.2 3 0 1 0 sp.4 0 0 6 0 #extract data.frame of rowSums with x[,2:4] != 0 subset (x, apply (x,1,function(row) all(rowSums(x[,2:4] !=0))...
2018 Feb 20
2
SAMBA failed join domain DC
...-password=password > --realm=EXAMPLE.RU --site=SITE2 -d 4 'example.ru' is your dns domain name, you should be using your netbios domain name 'EXAMPLE' Who is 'vas.lah' ? does the user have the required permissions to join a DC to the domain ? > > samba find srv-site3-dc01 and failed join to server DC srv-site3-dc01 > As long as the DC the join command finds, is in the same REALM, it shouldn't matter which DC is used. Can you please try the join command: samba-tool domain join EXAMPLE DC -UAdministrator --password=password --realm=EXAMPLE.RU --site=SI...
2005 Oct 04
2
Joining Dataframes
...e. I have looked at the merge command, but have not been clever enough to figure out how to get it to do what I want. A simplified example of what I am trying to do: The dataframes I have look like this (they were generated using the table command) species1.effort site1 site2 site3 date1 5 5 5 date2 4 5 5 date3 4 5 5 species2.effort site1 site2 site3 date1 7 8 6 date3 8 7 8 date4 8 8 8 I would like to join these into a table that looks something like this...
2011 Feb 06
2
Subsampling out of site*abundance matrix
...240, 300, 300, 0, 360, 300, 0, 600, 0) abund2 <- matrix(data=abund1, nrow=4, ncol=7) colnames(abund2) <- c("spA", "spB", "spC", "spD", "spa", "spF", "spG") rownames(abund2)<-c("site1", "site2", "site3", "site4") ##### > abund2 spA spB spC spD spa spF spG site1 150 150 150 150 0 300 300 site2 300 300 0 0 300 300 0 site3 0 0 60 540 0 0 600 site4 360 240 0 0 240 360 0 How can I make a random subsample of 100 individuals from the abundances given fo...
2012 May 14
2
How to interpret an ANOVA result?
...the measured value (no artifact). OK, so let's do an ANOVA to make this more quantitative: > summary(lm(d ~ site*pos) Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 1378.000 3.078 447.672 < 2e-16 *** site2 11.500 4.353 2.642 0.02466 * site3 12.000 4.353 2.757 0.02025 * site4 17.000 4.353 3.905 0.00294 ** site5 1.000 4.353 0.230 0.82294 posR 4.500 4.353 1.034 0.32561 site2:posR -4.000 6.156 -0.650 0.53050 site3:posR -10.500 6.156 -1.706 0.11890 site4:...
2006 Sep 26
1
How to "Pack" a matrix
Hello, Suppose I have a matrix a where a= sp1 sp2 sp3 sp4 sp5 sp6 site1 1 0 1 1 0 1 site2 1 0 1 1 0 1 site3 1 1 1 1 1 1 site4 0 1 1 1 0 1 site5 0 0 1 0 0 1 site6 0 0 1 0 1 0 And I want to pack that matrix so that the upper left corner contains most of the ones and the bottom right corner contains most of the zeros so that matrix b is b= sp3 sp6 sp4 sp1 sp2 sp5 site1 1 1 1 1 0 0 site2 1 1 1 1 0 0...
2018 Feb 20
0
SAMBA failed join domain DC
Not join(( samba-tool domain join example.ru DC -Uvas.lah --password=password --realm=EXAMPLE.RU --site=SITE2 -d 4 samba find srv-site3-dc01 and failed join to server DC srv-site3-dc01 lpcfg_load: refreshing parameters from /etc/samba/smb.conf Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" pm_process() returned Yes GENSEC backend 'gssapi_spnego' re...
2018 Feb 20
3
SAMBA failed join domain DC
On Tue, 20 Feb 2018 14:10:16 +0500 "denis.shigapov" <denis.shigapov at stroylandiya.ru> wrote: It seems that the problem starts here: Could not find machine account in secrets database Yet near the top there is: Setting up secrets.ldb It seems that either 'secrets.ldb' doesn't contain the required info or 'vas.lah' doesn't have the required permissions
2004 Aug 31
4
rsync crashing Redhat RHEL3.0 server
...10 of our websites from dedicated server A to dedicated server B runing RHEL 3.0 and rysnc v2.6.3pre1 in a daemon mode. I am using the following crontab script command on dedicated server A: /usr/local/bin/rsync -avz -e "ssh -i /home/users/admin/publicKey-for-server-B" /home/serverA/site3 serverB::home/mirror Dedicated server B (where the mirroring of websites from server A is done) is sometimes crashing with the following error message from the linux kernel: Aug 29 22:47:02 ns2 kernel: eth0: Memory squeeze,deferring packet. Aug 29 22:47:23 ns2 kernel: eth0: NULL pointer enco...
2013 Feb 25
1
Multicast and Router mode
...icast). site1: 10.1.0.1/24 # ip route add 224.1.1.1/16 dev vpn # ip route list default via x.x.x.x dev eth0 metric 100 10.0.0.0/8 dev vpn scope link 224.1.0.0/16 dev vpn scope link # ip route get 224.1.1.1 multicast 224.1.1.1 dev alpha src 10.1.0.1 cache <mc> # ping -c 5 224.1.1.1 site3: 10.211.55.30/24 # ip route list 10.211.55.0/24 dev eth0 proto kernel scope link src 10.211.55.30 metric 1 192.168.0.0/16 dev vpn scope link 10.0.0.0/8 dev vpn scope link default via 10.211.55.1 dev eth0 proto static When I ping I see: Feb 25 18:05:26 site1 tinc.vpn[22928]: Read packet of...
2006 Oct 13
3
multiply two matrixes with the different dimension column by column
...ncol=3, dimnames=list(c("A","B","C","D"), c("stage1","stage2","stage3"))) Y<- matrix(1:28, nrow=4, ncol=7, dimnames=list(c("A","B","C","D"), c("site1","site2","site3","site4","site5", "site6","site7"))) I would like to multiply first column of the "Y"matrix (site1) to the all of the columns in "X"matrix. Then, the product will be three new columns (for example:site1stage1, site1stage2 and sit...
2009 Feb 03
1
overlaying plots from a list of data frames
...uot;), class = c("ordered", "factor")), data = c(0.00407113433104158, -4.51352402858745e-08, 8.33627186959167e-08, 2.27080257687498e-08, 0.0126359731744113, NaN)), .Names = c("year", "data"), class = "data.frame", row.names = c(NA, -6L)), site3 = structure(list( year = structure(1:7, .Label = c("2000", "2001", "2002", "2003", "2004", "2005", "2006"), class = c("ordered", "factor" )), data = c(0.0297773868339168, 0.0212836833675155, 0.030...
2018 Apr 18
3
How to replace numeric value in the column contains Text (Factor)?
...in a big table? but the column of the table is a factor (not numeric). Here is an example. I want to change dat[4:5,3]<-"20" but it generated NA> do you have any suggestions for me? dat<-structure(list(Sites = structure(1:5, .Label = c("Site1", "Site2", "Site3", "Site4", "Site5"), class = "factor"), temp = c(14, 15, 12, 12.5, 17), precip = structure(c(3L, 4L, 5L, 2L, 1L), .Label = c("15", "34", "high", "low", "medium"), class = "factor")), .Names = c("Site...
2007 Jul 07
2
random sampling with some limitive conditions?
I want to gain thousands of random sampling data by randomizing the presence-absence data. Meantime, one important limition is that the row and column sums must be fixed. For example, the data "tst" is following: site1 site2 site3 site4 site5 site6 site7 site8 1 0 0 0 1 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 sum(tst[1,]) = 3, sum(tst[,1])=4, and so on. When I randomize the data, the first row sums must equal to 3, and the first column sums must e...
2007 Aug 13
3
Very new - beginners questions
Dear all, I have 4 sites and want to determine how different they are from each other. For this I have decided to use R though it seems a bit daunting to learn. I have read data in from a CSV the structure is : Species1 Species2 Species3 Site1 4 4 7 Site2 3 1 0 Site3 0 99 6 Site4 75 3 33 There are many more species than shown above this is just an example. Here are the questions. How do I read one row of data so as to load site2 into a variable called site2? Once I plot a graph using ordiplot how do I extract it from R so that I can put it into a...
2012 Mar 30
1
removing NA from multidmension arrays
..., Species, Sites) replicates: 1 to 6 but ragged...not all sites equal ,,Site1 Sp1 Sp2 Sp3... Sp50 1 5 4 3 2 2 3 0 0 1 3 NA NA NA NA 4 NA NA NA NA 5 NA NA NA NA 6 NA NA NA NA ,,Site2 Sp1 Sp2 Sp3... Sp50 1 5 4 3 2 2 3 0 0 1 3 1 1 0 0 4 NA NA NA NA 5 NA NA NA NA 6 NA NA NA NA ,,Site3 Sp1 Sp2 Sp3... Sp50 1 5 4 3 2 2 3 0 0 1 3 1 1 0 0 4 5 4 3 2 5 3 0 0 1 6 1 1 0 0 Most appreciatively: Brian Campbell -- View this message in context: http://r.789695.n4.nabble.com/removing-NA-from-multidmension-arrays-tp4519369p4519369.html Sent from the R help mailing list archive at Nab...