search for: karinlag

Displaying 20 results from an estimated 21 matches for "karinlag".

Did you mean: karina
2009 Apr 15
1
performing function on data frame
...;From this I want to get a new data frame which contains the z scores based on the values found in each row. For instance for element [C,y], I would like to calculate (-0.3602656 - mean(column y)/stddev(column y)). Thanks! -- Karin Lagesen, Ph.D. karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Feb 18
3
tabulation on dataframe question
...he requirement was Distances == 0.2 Alpha Beta Alpha 1 2 Beta 2 0 This resulting table would be symmetrical. I hope I am able to convey what I would like, and TIA for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2007 Oct 01
3
"continuous" boxplot?
...edian and quantiles, and possibly also all of the outliers somehow. Are there any facilities in R for doing something like this, or would I need to do this the hard coded way? Thankyou very much for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 May 21
1
problems with data frames, factors and lists
...invalid factor level, NAs generated Now, this is a pain in the neck. How can I merge these lists to the data frame and still have the value $twogrp as a factor? Thanks, and I hope my code makes some sense! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2011 Mar 29
3
producing histogram-like plot
...n which plot type to use. Thanks in advance! Karin -- Karin Lagesen, Ph.D. Centre for Ecological and Evolutionary Synthesis (CEES) University of Oslo, Dept. of Biology P.O. Box 1066 Blindern 0316 Oslo, Norway Ph. +47 22844132 Fax. +47 22854001 Email karin.lagesen at bio.uio.no http://folk.uio.no/karinlag
2008 Jun 21
2
using the stepfun to plot histogram outline.
...X I think is the same as bbb above. I am however uncertain of how I would go about getting the data needed for y, given that the data I have is on the same format as testdata above is. Thanks for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Aug 05
1
xyplot key issue - line colors
...at indicates which line is which) are still blue and magenta, and not gray and skyblue. I have seen something about superposing lines on top of this somehow, but I couldn't figure out how to do it. Thanks! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Feb 26
1
combine vector and data frame on field?
...hints on how to do this? cbind just adds the vector onto the end, and I couldn't quite figure out if I could somehow say that the level should correspond to the PID. Thanks a lot for your helpin advance:) Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Mar 10
1
hclust graphics - plotting many points
...f these improved anything much. So, now I am wondering if any of you have any tips for how I can get something like I get in the x11() window which I can also store and potentially show other people. Thanks! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2007 Oct 11
1
creating summary functions for data frame
...n the top, and a count of each kind of feature within each grp? I realize that this is probably pretty easy to do, but I do not know enough R yet to know which words to look for in the mail archives...:) TIA, Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2010 Nov 10
1
plotting histograms/density plots in a triangular layout?
...s possible, but the question is how :D TIA, Karin -- Karin Lagesen, Ph.D. Centre for Ecological and Evolutionary Synthesis (CEES) University of Oslo, Dept. of Biology P.O. Box 1066 Blindern 0316 Oslo, Norway Ph. +47 22844132 Fax. +47 22854001 Email karin.lagesen at bio.uio.no http://folk.uio.no/karinlag
2007 Sep 19
2
function on factors - how best to proceed
...data frame within the function, or should I get just the numbers out of the factors and input that into the function? Or is my solution way off from how things are done in R? Thankyou very much for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Jun 05
5
vector comparison
I know this is fairly basic, but I must have somehow missed it in the manuals. I have two vectors, often of unequal length. I would like to compare them for identity. Order of elements do not matter, but they should contain the same. I.e: I want this kind of comparison: > if (1==1) show("yes") else show("blah") [1] "yes" > if (1==2) show("yes") else
2008 Jun 27
1
xyplot and separate abline per plot
..., but I don't know how to incoporate that into the xyplot command, and I don't know how to specify which values I want plotted in each plot. I hope I am able to convey what I want:) Thanks in advance, karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Jan 25
1
accessing the indices of outliers in a data frame boxplot
...ain of how to do this withhout doing it manually. The factor I am plotting against contains 17 levels, and I'd thus like to see if there is a somewhat more general solution available. Thanks for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2007 Sep 27
1
problem loading hexbin associated package colorspace
...other attached packages: lattice "0.14-9" > The colorspace package is version 0.95. Is this an error with my system, this code, or something else? Thanks for having this list btw...:) Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2009 Aug 12
1
inserting into data frame gives "invalid factor level, NAs generated"
I am calculating some values that I am inserting into a data frame. From what I have read, creating the dataframe ahead of time is more efficient, since rbind (so far the only solution I have found to appending to a data frame) is not very fast. What I am doing is the following: # create data frame goframe = data.frame(goA = character(10), goB = character(10), value = numeric(10)) goframe[1,] =
2008 Feb 20
1
clustering problem
...thin each group (I think). I have looked at hclust and it seems like it should be able to do what I want. However, I am unsure of how to use it to get what I am looking for. Thankyou in advance for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Jan 22
2
contingency table on data frame
...same, ergo 3 No 3 # No has these ys: 1,4,5 Perhaps 2 # Perhaps has these ys: 2,4,2 My dataframe has lots of other colums too, but I only want this information out. Thankyou for your help! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag
2008 Apr 22
2
cloud plot has white(transparent?) background
...h a nice gray background that makes things easier to see. Mine comes out with a white, potentially transparent background and also the point colors have changed. How do I get the nice gray color back? Thanks! Karin -- Karin Lagesen, PhD student karin.lagesen at medisin.uio.no http://folk.uio.no/karinlag