Displaying 2 results from an estimated 2 matches for "file2open".
2011 Aug 03
1
Need help with xyplot
...sons and also color them with respect to the Age of Persons. So far, I have this code:
FilePath = "C:\\Documents and Settings\\All Users\\Documents\\Desktop\\Fayez\\ResearchWork\\Pajek_Work\\Program\\2011-03-07-Wed-FriMeetingApr15\\RPractice\\"
NumberOfyears <- c(0, 1, 2, 3, 4 ,5);
File2Open = paste(FilePath, "FriendshipNetExample.txt", sep = "")
# print(File2Open)
DataTable = read.table(File2Open, header = TRUE, sep = "\t")
# print(DataTable)
print(xyplot(FriendsAtYear0 + FriendsAtYear1 + FriendsAtYear2 + FriendsAtYear3 + FriendsAtYear4 + FriendsAtY...
2012 Apr 09
1
Panel.abline would not show beyond a certain slope value
...ode and data following. Problem appears in lines 37 - 42 of the code. I am using R.2.13.0 on WinXP.
Regards,
Fayez
PowerLawGraphsAblineQn.R?
library('reshape')
library(lattice)
library(igraph) # to use power.law.fit function
library(latticeExtra) # to use panel.lmlineq in loglog xyplot
File2Open = "C:\\Documents and Settings\\All Users\\Documents\\Desktop\\Fayez\\RPractice\\PowerLawGraphsAblineQnData.txt"
DataTable = read.table(File2Open, header = TRUE, sep = "\t")
md <- melt(DataTable, id.vars = c('Range', 'TheValue', 'TheNo')) # removed '...