search for: 0l

Displaying 20 results from an estimated 846 matches for "0l".

Did you mean: 0ul
2013 Mar 15
1
merge two matrices
Dear R-help members I would be grateful if anyone could help me with the following problem: I would like to combine two matrices (SCH_15 and SCH_16, they are attached) which have a species presence/absence x sampling plot structure. The aim would be to have in the end only one matrix which shows all existing species and their presence/absence on all the different plots(an_1, an_2 etc.) To do
2011 Feb 04
1
read.table error
...L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L), DD = c(11L, 11L, 11L, 11L, 11L, 11L, 11L, 12L, 12L, 12L, 12L, 12L, 2L, 2L, 3L, 3L, 5L, 5L, 10L, 16L, 16L, 16L, 16L, 20L, 20L, 20L, 20L, 20L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 2L, 23L, 23L, 23L, 23L, 24L, 24L, 24L, 24L, 24L, 27L, 27L, 27L, 27L, 27L, 27L, 30L, 30L, 30L, 30L, 30L,...
2009 May 15
1
data summary and some automated t.tests.
...and.silt etc.) with a mean and sd for each of the treatments (up or down), and out put this as a table.... I am having a hard time starting- maybe it is to close to lunch. Any suggestions would be greatly appreciated. Stephen Sefick x <- (structure(list(sample. = structure(c(1L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 2L, 3L, 4L, 5L, 6L, 1L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 2L, 3L, 4L, 5L, 6L, 25L, 28L, 29L, 30L, 31L, 32L, 33L, 34L, 35L, 26L, 25L, 28L, 29L, 30L, 31L, 32L, 33L, 34L, 35L, 26L, 27L, 25L, 28L, 29L, 30L, 31L, 32L, 33L, 34L, 35L, 26L, 15L, 17L, 18L, 19L, 20L, 21L, 22L, 23L, 24...
2012 Sep 26
1
Write table with data in other .csv template
Hi, I have a table with data, as below: dput(table): structure(list(Adrian.Cole = c(0L, 0L, 0L, 0L, 0L, 0L), Alison.Wong = c(0L, 0L, 0L, 0L, 0L, 0L), Andrei.Savu = c(0L, 0L, 0L, 0L, 0L, 0L), Bruno.Dumon = c(0L, 0L, 0L, 0L, 0L, 0L), Edward.J..Yoon = c(0L, 0L, 0L, 0L, 0L, 0L), Eugene.Koontz = c(0L, 0L, 0L, 0L, 0L, 0L), Jakob.Homan = c(0L, 0L, 0L, 0L, 0L, 0L), Kelvin.Kakugawa =...
2024 Oct 17
2
DPLYR Multiple Mutate Statements On Same DataFrame
...ould like to know if there is a way to execute this in a single step; so simply go from df0 to df1 while executing all the transformations. See example below. Guidance would be appreciated. --John J. Sparks, Ph.D. library(dplyr) df0<-structure(list(SeqNum = c(1L, 2L, 3L, 4L, 5L, 6L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 18L, 19L, 21L, 22L, 23L), MOSTYP = c(37L, 41L, 41L, 13L, 3L, 27L, 37L, 37L, 15L, 14L, 13L, 37L, 4L, 27L, 37L, 26L, 17L, 37L, 37L, 17L), MGEMOM = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, 1L, 2L, 1L), MGODRK = c(3L, 2L, 2L, 3L, 4L, 2L, 2...
2018 Jan 30
2
Could the Odds represent weight in Generalized Linear Model?
...55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 58, 59, 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 61, 62, 62, 62, 62, 63, 64, 64, 65, 65, 67, 74), Times = c(6L, 6L, 16L, 6L, 9L, 23L, 33L, 6L, 14L, 17L, 36L, 4L, 9L, 15L, 20L, 26L, 28L, 30L, 33L, 6L, 11L, 14L, 20L, 26L, 28L, 30L, 32L, 4L, 4L, 6L, 9L, 17L, 26L, 28L, 30L, 33L, 44L, 47L, 4L, 6L, 23L, 26L, 32L, 4L, 9L, 11L, 11L, 14L, 14L, 15L, 17L, 18L, 20L, 23L, 26L, 36L, 44L, 50L, 4L, 9L, 28L, 30L, 32L, 4L, 17L, 23L, 4L, 6L, 9L, 9L, 11L, 14L, 25L, 33L, 33L, 51L, 4L, 6L, 1...
2012 Oct 05
5
Missing data (Na) and chi-square tests
Dear everyone I am a bit of a computer imbecile and are having problems with R. I am using R in my research project to do chi-square tests on data imported from excel . However I have som missing data in one of my variables (columns) and I need R to "exclude" these and make chi-square test on the data that I have. I use a formula to make 2x2 tables which is: data <-
2011 Feb 19
1
problem in plotting numeric x by POSIXt class with lattice
# hi all, # I'm trying to plot temperatures by date in a trellis plot by their stations # I'm plotting the following data.frame library(lattice) h <- structure(list(station_name = structure(c(3L, 4L, 2L, 10L, 11L, 12L, 6L, 7L, 5L, 8L, 9L, 3L, 4L, 2L, 10L, 11L, 12L, 6L, 7L, 5L, 8L, 9L, 3L, 4L, 2L, 10L, 11L, 12L, 6L, 7L), .Label = c("Ashqelon", "Beer Sheva", "Beit Dagan", "Eden", "Ein Carmel", "Jerusalem", "Negba", "Nir HaEmek&quo...
2018 Jan 30
1
Could the Odds represent weight in Generalized Linear Model?
...56, 56, 56, 56, 56, 56, 56, 56, 56, 56, > 57, 57, 57, 57, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 58, 59, > 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 61, 62, 62, 62, 62, > 63, 64, 64, 65, 65, 67, 74), Times = c(6L, 6L, 16L, 6L, 9L, 23L, 33L, > 6L, 14L, 17L, 36L, 4L, 9L, 15L, 20L, 26L, 28L, 30L, 33L, 6L, 11L, 14L, > 20L, 26L, 28L, 30L, 32L, 4L, 4L, 6L, 9L, 17L, 26L, 28L, 30L, 33L, 44L, > 47L, 4L, 6L, 23L, 26L, 32L, 4L, 9L, 11L, 11L, 14L, 14L, 15L, 17L, 18L, > 20L, 23L, 26L, 36L, 44L, 50L, 4L, 9L, 28L, 30L, 32L, 4L, 17L, 23L, 4L, > 6L, 9L, 9L, 11L, 14L, 25L, 33L,...
2024 Oct 18
1
DPLYR Multiple Mutate Statements On Same DataFrame
...a way to execute this in a single step; so simply go from df0 to df1 while executing all the transformations. See example below. > > Guidance would be appreciated. > --John J. Sparks, Ph.D. > > library(dplyr) > df0<-structure(list(SeqNum = c(1L, 2L, 3L, 4L, 5L, 6L, 8L, 9L, 10L, > 11L, 12L, 13L, 14L, 15L, 16L, 18L, 19L, 21L, 22L, 23L), MOSTYP = c(37L, > 41L, 41L, 13L, 3L, 27L, 37L, 37L, 15L, 14L, 13L, 37L, 4L, 27L, > 37L, 26L, 17L, 37L, 37L, 17L), MGEMOM = c(1L, 1L, 1L, 1L, 1L, > 1L, 1L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, 1L, 2L, 1L), > MGODRK = c...
2018 Jan 30
0
Could the Odds represent weight in Generalized Linear Model?
...56, 56, 56, 56, 56, 56, >> 57, 57, 57, 57, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 58, 59, >> 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 61, 62, 62, 62, 62, >> 63, 64, 64, 65, 65, 67, 74), Times = c(6L, 6L, 16L, 6L, 9L, 23L, 33L, >> 6L, 14L, 17L, 36L, 4L, 9L, 15L, 20L, 26L, 28L, 30L, 33L, 6L, 11L, 14L, >> 20L, 26L, 28L, 30L, 32L, 4L, 4L, 6L, 9L, 17L, 26L, 28L, 30L, 33L, 44L, >> 47L, 4L, 6L, 23L, 26L, 32L, 4L, 9L, 11L, 11L, 14L, 14L, 15L, 17L, 18L, >> 20L, 23L, 26L, 36L, 44L, 50L, 4L, 9L, 28L, 30L, 32L, 4L, 17L, 23L, 4L, >> 6L, 9L, 9L, 11L...
2010 Dec 27
1
Can't merge on datetime?
x = structure(list(date = structure(list(sec = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), min = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), hour = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), mday = c(1L, 2L, 3L, 4L, 5L, 8L, 9L, 10L, 11L, 12L, 15L, 16L, 17L, 18L, 19L, 22L, 23L, 24L, 25L, 26L, 29L), mon = c(10...
2025 May 19
3
Looking for a function or a set of steps
...//stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. Hello, A simple way is to treat x as logical and negate its values. Then coerce to integer. x <- c(0L, 0L, 1L, 0L, 0L, 1L, 1L, 0L, 1L, 0L, 1L, 1L, 1L, 0L, 1L, 1L, 0L, 0L, 1L, 0L, 1L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 0L, 1L, 0L, 1L, 1L, 0L, 0L, 0L, 0L, 1L, 0L, 1L, 1L, 0L, 0L, 1L, 0L, 0L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 1L, 0L, 1L, 0L, 0L, 0L, 1L, 1L, 1L, 1L, 0L, 1L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 1L...
2025 Mar 27
1
Problem with minimization that I failed to understand
...therefore, shouldnt I expect that StartingValue = c(0.12, 0.04, 0.07, 0.03, 0.06, 0.07, 0.07, 0.04, 0.09, 0.08, 0.02, 0.02, 0.03, 0.06, 0.02, 0, 0.07, 0.05, 0.02, 0.02, 0.02) Fn(q1$par) < Fn(StartingValue) ## FALSE Below is the corrected code that can be reproduced: MyDat = structure(list(c(50L, 0L, 0L, 50L, 75L, 100L, 50L, 0L, 50L, 0L, 25L, 50L, 50L, 75L, 75L, 75L, 0L, 75L, 75L, 75L, 0L, 25L, 75L, 75L, 0L, 75L, 100L, 0L, 25L, 100L), c(75L, 0L, 0L, 50L, 100L, 50L, 75L, 75L, 100L, 25L, 0L, 25L, 100L, 0L, 50L, 0L, 25L, 25L, 100L, 75L, 0L, 0L, 0L, 50L, 0L, 75L, 75L, 0L, 50L, 25L), c(50L, 0L,...
2025 Mar 27
1
Problem with minimization that I failed to understand
?s 18:35 de 27/03/2025, Daniel Lobo escreveu: > Hi, > > I have below minimization problem > > > MyDat = structure(list(c(50L, 0L, 0L, 50L, 75L, 100L, 50L, 0L, 50L, 0L, > 25L, 50L, 50L, 75L, 75L, 75L, 0L, 75L, 75L, 75L, 0L, 25L, 75L, > 75L, 0L, 75L, 100L, 0L, 25L, 100L), c(75L, 0L, 0L, 50L, 100L, > 50L, 75L, 75L, 100L, 25L, 0L, 25L, 100L, 0L, 50L, 0L, 25L, 25L, > 100L, 75L, 0L, 0L, 0L, 50L, 0L, 75L, 75L, 0L, 5...
2025 Mar 27
1
Problem with minimization that I failed to understand
...StartingValue = c(0.12, 0.04, 0.07, 0.03, 0.06, 0.07, 0.07, 0.04, 0.09, > 0.08, 0.02, 0.02, 0.03, 0.06, 0.02, 0, 0.07, 0.05, 0.02, 0.02, 0.02) > Fn(q1$par) < Fn(StartingValue) > ## FALSE > > Below is the corrected code that can be reproduced: > > MyDat = structure(list(c(50L, 0L, 0L, 50L, 75L, 100L, 50L, 0L, 50L, 0L, > 25L, 50L, 50L, 75L, 75L, 75L, 0L, 75L, 75L, 75L, 0L, 25L, 75L, > 75L, 0L, 75L, 100L, 0L, 25L, 100L), c(75L, 0L, 0L, 50L, 100L, > 50L, 75L, 75L, 100L, 25L, 0L, 25L, 100L, 0L, 50L, 0L, 25L, 25L, > 100L, 75L, 0L, 0L, 0L, 50L, 0L, 75L, 75L, 0L, 5...
2025 Mar 27
2
Problem with minimization that I failed to understand
Hi, I have below minimization problem MyDat = structure(list(c(50L, 0L, 0L, 50L, 75L, 100L, 50L, 0L, 50L, 0L, 25L, 50L, 50L, 75L, 75L, 75L, 0L, 75L, 75L, 75L, 0L, 25L, 75L, 75L, 0L, 75L, 100L, 0L, 25L, 100L), c(75L, 0L, 0L, 50L, 100L, 50L, 75L, 75L, 100L, 25L, 0L, 25L, 100L, 0L, 50L, 0L, 25L, 25L, 100L, 75L, 0L, 0L, 0L, 50L, 0L, 75L, 75L, 0L, 50L, 25L), c(50L, 0L,...
2010 Aug 30
2
reordering levels error
...apply(v, x, FUN, ...) : arguments must have same length ? I suspect that I need to add the levels before I melt the dataset ?but either way I have only use 'reorder' once before and can't figure ?out how it works..Thanks for any advice. ? winter <- (list(week = c(26L, 27L, 28L, 29L, 30L, 31L, 32L, 33L, 34L, 35L, 36L, 37L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L, 47L, 48L, 49L, 50L, 51L, 52L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23L, 24L, 25L, 26L), BY2010 = c(0L, 0L, 460L, 1126L, 1755L, 11153L, 27998L, 56336L, 124...
2013 Jun 30
0
Help: argument is not numeric or logical: returning NA
...(data.list[[i]], V1 == 6 & V6 > 300 & V6 < ?: ? argument is not numeric or logical: returning NA Would anyone be able to help me with this problem? I am relatively new to R, so I cannot seem to recognize exactly what the problem is. Thanks so much! list(structure(list(V1 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), V2 = 0:19, V3 = structure(c(2L, 4L, 4L, 2L, 2L, 2L, 4L, 2L, 4L, 4L, 2L, 4L, 2L, 2L, 4L, 4L, 2L, 2L, 4L, 4L), .Label = c("NEG", "NON", "POS", "SUI"), class = "factor"),...
2010 Aug 13
1
assign multiple variables at once
..., 1, 1, 1, 1), SITENUM = c("102", "104", "104", "104", "101", "101", "102", "103", "101", "101", "101", "101", "103", "103", "103" ), CURTIM = c(1450L, 1736L, 1755L, 1804L, 1950L, 2007L, 1150L, 1450L, 2000L, 1003L, 1030L, 1036L, 1300L, 1310L, 1320L), GRPFSH = c(2L, 2L, 2L, 2L, 2L, 3L, 1L, 2L, 3L, 2L, 4L, 1L, 1L, 3L, 1L), EEFF = c(11.5, 19, 5, 20, 0, 0, 5, 8, 0, 0, 0, 0, 3, 12, 6), ESP1 = c("SMB", "SMB", "SMB", &q...