Displaying 7 results from an estimated 7 matches for "nyg".
Did you mean:
ng
2012 May 02
1
scanning a data set for strings
...g for what I'm sure is a quick answer. I'm working with a data set
that looks like this:
Week Game.ID VTm VPts HTm HPts
Differential HomeWin
1 1 NFL_20050908_OAK at NE OAK 20 NE 30 10
FALSE
2 1 NFL_20050911_ARI at NYG ARI 19 NYG 42 23
FALSE
3 1 NFL_20050911_CHI at WAS CHI 7 WAS 9 2
FALSE
4 1 NFL_20050911_CIN at CLE CIN 27 CLE 13 -14
FALSE
5 1 NFL_20050911_DAL at SD DAL 28 SD 24...
2012 May 11
2
moving data from one frame to another
...two different data frames, and I'd like to move data from
one to the other. Here is the first frame:
> head(five)
Week Game.ID VTm VPts HTm HPts HDifferential VDifferential
1 1 NFL_20050908_OAK at NE OAK 20 NE 30 10 -10
2 1 NFL_20050911_ARI at NYG ARI 19 NYG 42 23 -23
3 1 NFL_20050911_CHI at WAS CHI 7 WAS 9 2 -2
4 1 NFL_20050911_CIN at CLE CIN 27 CLE 13 -14 14
5 1 NFL_20050911_DAL at SD DAL 28 SD 24 -4 4
6 1 NFL_20050911_DE...
2008 Apr 30
3
missing values in document
...le, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1743 did not have 14 elements
I believe the error occurs becouse line 1743 has an empty cell. How do I read in the file without first checking for missing values and changing them to NAs myself?
Thank you for you time,
Monna Nygård
_________________________________________________________________
[[alternative HTML version deleted]]
2008 Jun 17
4
PCA analysis
Hi,
I have a problem with making PCA plots that are readable.
I would like to set different sympols instead of the numbers of my samples or their names, that I get plotted (xlabs).
How is this possible? With points, i don´t seem to get the right data plotted onto the PCA plot, as I do not quite understand from where it is taken. I dont know how to
plot the correct columns of the prcomp
2008 May 02
3
removing rows from matrix
Hi, I have a problem regarding matrix handeling. I am working with a serie of matrixes containing several columns. Now I would like to delete those rows of the matrixes,that in one of the columns contain values less than 50 or greater than 1000. How would this be possible, I have tried to create a simple function for this, but I just don't seem to get it right.Thank you so much for your help,
2008 Aug 07
2
colouring a tree
Hi all.
I would be very pleased if someone could help me, as I do not seem to get the different branches of my tree painted in different colours. The closest I get is colouring the names of my samples(=names of the branches). Here is the code.
data <- read.table(file = "S://SEDIM//TRFLP//B12.5_50-700bp.txt" , as.is = TRUE, header = TRUE, sep = "\t", row.names =
2009 Sep 19
3
Replacing values in dataframes
Hi,
This is a question of a newbie getting into the exciting world of R.
I have several dataframes in the same format as NAD:
> NAD[1:3,1:3]
Sample.Id Main.abs..1 Main.abs..2
148 10a 0.04836 0.04994
167 11a_1109 0.32245 0.36541
173 11b_1109 0.29293 0.32815
What I want to do is to replace the Sample.Id with a corresponding number.The number