Displaying 20 results from an estimated 399 matches for "7l".
2011 Jan 19
1
Using subset to filter data table
...e ghosts left behind (that is, all of the
LithClass *.Labels* remain after subset)
> dput(tcc)
structure(list(Density = c(1.84, 1.91, 2, NA, 1.95, 2.04, 2.11,
1.85, 1.97, 2, 2.27, NA, NA, 2.18, NA, NA, 1.9, 2.68, 2.69, NA,
-- snip --
1.45, 1.49, 2.11), LithClass = structure(c(6L, 6L, 5L, 6L, 7L,
7L, 6L, 6L, 5L, 5L, 5L, 2L, 3L, 2L, 3L, 7L, 7L, 4L, 4L, 2L, 7L,
3L, 2L, 2L, 3L, 7L, 2L, 2L, 3L, 2L, 6L, 5L, 5L, 5L, 6L, 6L, 7L,
2L, 3L, 7L, 7L, 7L, 7L, 2L, 7L, 7L, 2L, 7L, 5L, 5L, 5L, 5L, 5L,
5L, 6L, 7L, 3L, 2L, 2L, 3L, 2L, 7L, 3L, 5L, 6L, 6L, 6L, 3L, 6L,
3L, 7L, 2L, 3L, 3L, 3L, 7L, 3L, 2L, 2L, 7L...
2009 May 28
2
ggplot2 legend
...to accomplish that but the problem is that the legend only displays every other sample. How can I force the legend to show all of my Muestreos? Thanks in advance.
fish_ByMuestreo <- structure(list(data = structure(list(SampleDate = structure(c(3L,
3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 16L, 16L, 16L, 7L, 7L, 7L, 7L,
10L, 10L, 10L, 13L, 13L, 13L, 13L, 13L, 27L, 27L, 27L, 27L, 27L,
17L, 17L, 17L, 17L, 20L, 20L, 20L, 20L, 24L, 24L, 24L, 24L, 24L,
30L, 30L, 30L, 30L, 42L, 42L, 42L, 42L, 42L, 33L, 33L, 33L, 33L,
36L, 36L, 36L, 36L, 36L, 39L, 39L, 39L, 39L, 39L, 39L, 14L, 14L,
14L, 14L, 14L, 14L, 5L, 5L...
2009 Oct 09
1
Placing text in a ggplot
...4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
5L, 5L, 5L, 5L, 5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
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L...
2011 Jun 09
1
lattice plot query
...ructure(list(Subj = structure(c(3L, 3L, 3L, 3L, 3L, 3L, 3L,
3L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 11L, 11L, 11L, 11L,
11L, 11L, 11L, 11L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L,
8L, 8L, 8L, 8L, 8L, 1...
2008 Jun 04
1
dotchart
I am trying to plot the following data using dotchart
intersect.data<-structure(list(X = structure(c(1L, 3L, 8L, 9L, 10L, 11L, 12L,
13L, 14L, 15L, 2L, 4L, 5L, 6L, 7L), .Label = c("1-100", "1001-1100",
"101-200", "1101-1200", "1201-1300", "1301-1400", "1401-1500",
"201-300", "301-400", "401-500", "501-600", "601-700", "701-800",
"...
2011 Jun 13
1
Heatmap in R and/or ggplot2
...d below.
library(ggplot2)
df <-structure(list(x = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
2L, 2L, 2L, 2L, 2L, 2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 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L,
8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L,
8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L...
2009 Aug 07
1
ggplot2-ddply question
...se the ddply function to estimate the mean of 'Total','Fry','Smolt' and 'Fry.Eq' columns without success. I have the dput of my dataset below. I wonder if someone can give me a hand with this function.
# dput(winter)
winter <-structure(list(IDDate = structure(c(37L, 48L, 59L, 62L, 63L,
64L, 65L, 66L, 67L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L,
47L, 49L, 50L, 51L, 52L, 53L, 54L, 55L, 56L, 57L, 58L, 60L, 61L,
68L, 79L, 90L, 93L, 94L, 95L, 96L, 97L, 98L, 69L, 70L, 71L, 72L,
73L, 74L, 75L, 76L, 77L, 78L, 80L, 81L, 82L, 83L, 84L, 85L, 86L,
87L, 88L, 89L, 91L...
2012 Nov 14
2
indexing for Wilcoxon test (take 2)
...ect, for example, trial 1 vs. trial 4 (not exactly sure how to set that
up either) but it would save me a ton of time if there was a way to do all
the comparisons at once - but for one response variable (e.g., removed) at
a time.
Thanks so much!
Jeff
structure(list(id = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L), trial...
2013 Oct 30
2
disculpe las molestias ...ayuda con MICE
...ot;", dec=",")
dataset <- data.frame(x)
library(mice)
md.pattern(x)
md.pairs(x)
imp <- mice(dataset,method="polyreg",maxit=5)
mice.impute.polyreg(dataset, nnet.maxit = 100,nnet.trace = FALSE,
nnet.maxNWts = 1500)
traceback()
MI TABLA
structure(list(ï..psraid = c(202517L, 202518L, 202520L, 202523L,
202527L, 202537L, 202543L, 202544L, 202551L, 202566L, 202570L,
202571L, 202606L, 202619L, 202624L, 202629L, 202631L, 202632L,
202633L, 202648L, 202657L, 202663L, 202676L, 202683L, 202685L,
202706L, 202708L, 202709L, 202710L, 202734L, 202735L, 202736L,
202737L, 202746L, 2...
2009 Oct 17
2
Putting names on a ggplot
...4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L,
8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L,
8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L...
2013 Oct 30
1
disculpe las molestias ...ayuda con MICE
...pero claro en una muestra de 50 datos se ejecuta, en la
muestra original de 1000 registros
me tira error :(
2013/10/30 daniel <daniel319@gmail.com>
> Amalia,
>
> No obtengo tus resultados. Corrí tus formulas y datos y el resultado es
> x <- structure(list(ï..psraid = c(202517L, 202518L, 202520L, 202523L,
> + 202527L, 202537L, 202543L, 202544L, 202551L, 202566L, 202570L,
> + 202571L, 202606L, 202619L, 202624L, 202629L, 202631L, 202632L,
> + 202633L, 202648L, 202657L, 202663L, 202676L, 202683L, 202685L,
> + 202706L, 202708L, 202709L, 202710L, 202734L, 202735L,...
2012 May 04
7
Breaking up a Row in R (transpose)
I have the following:
Time A1 A1 B1 B1 C1 C2
x y x y x y
0 5 6 6 7 7 9
1 3 4 4 3 9 9
2 5 2 6 4 7 4
I want to change it to the following:
0 1 2
x y x y x y
A1 5 6 3 4 5 2
B1
2011 Jun 24
4
ggplot2 month and year boxplot x axis order problem
Hi
I am very new to R, I am attempting to produce a monthly boxplot with the
following fish thermal telemetry data:
ID Temp Date.Time Month.Year Month Week Shortdate
1 1734 4.4140 04/05/2010 11:56 05,2010 May 19 04/05/2010
2 1734 4.1002 04/05/2010 12:06 05,2010 May 19 04/05/2010
3 1734 3.9433 04/05/2010 12:09 05,2010 May 19 04/05/2010
4 1734 3.6295
2011 Nov 08
2
nesting scale_manual caracteristics in ggplot
..., 3L, 3L, 3L, 3L,
3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L), treatment =
structure(c(1L,
1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L, 4L, 4L, 4L, 5L, 5L, 5L, 6L, 6L,
6L, 7L, 7L, 7L, 1L, 1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L, 4L, 4L, 4L,
5L, 5L, 5L, 6L, 6L, 6L, 7L, 7L, 7L, 1L, 1L, 1L, 2L, 2L, 2L, 3L,
3L, 3L, 4L, 4L, 4L, 5L, 5L, 5L, 6L, 6L, 6L, 7L, 7L, 7L, 1L, 1L,
1L, 2L, 2L, 2L, 3L, 3L, 3L, 4L, 4L, 4L, 5L, 5L, 5L, 6L, 6L, 6L,
7L, 7L, 7L, 1L, 1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L...
2013 Oct 30
0
disculpe las molestias ...ayuda con MICE
Amalia,
No obtengo tus resultados. Corrí tus formulas y datos y el resultado es
x <- structure(list(ï..psraid = c(202517L, 202518L, 202520L, 202523L,
+ 202527L, 202537L, 202543L, 202544L, 202551L, 202566L, 202570L,
+ 202571L, 202606L, 202619L, 202624L, 202629L, 202631L, 202632L,
+ 202633L, 202648L, 202657L, 202663L, 202676L, 202683L, 202685L,
+ 202706L, 202708L, 202709L, 202710L, 202734L, 202735L, 202736L,
+ 202737L,...
2024 Oct 17
2
DPLYR Multiple Mutate Statements On Same DataFrame
...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, 2L, 2L, 3L, 4L, 3L, 2L,
3L, 1L, 2L, 3L, 4L, 4L, 3L, 3L), MOSHOO = c(7...