search for: task2

Displaying 20 results from an estimated 23 matches for "task2".

Did you mean: task
2003 Nov 04
2
help with nomogram function
I have fitted a logistic regression model > failed.lr2$call lrm(formula = failed ~ Age + task2 + Age:task2, data = time.long, na.action = na.omit) using the Design package functions and would like to generate a nomogram from this model. the datadist information is generated and stored in > ddist time.long$Age time.long$task2 Low:effect 45...
2012 Nov 07
1
Newbie question : selecting subset of a Matrix
I have a matrix, I would like to use it like I use where query on an SQL table Let's say my matrix is > wok who task 1 joe task1 2 joe task2 3 joe task3 4 jack task1 5 jack task2 I want to extract a matrix that contains only rows where who = "joe" and task != "task2" The result would be the following matrix 1 joe task1 2 joe task3 How can I do that with R ?
2011 Apr 10
1
Help with basic loop
...will be explained there. Also, I would recommend that you draw a random number for every iteration of the loop. Defining the random vectors outside the loop make sense to me only if they are the same length as n. prob<-numeric(1000) for (n in 1:1000) { task1 <- runif(1, min=0.8, max= 0.9) task2 <- runif(1, min=0.75, max= 0.85) task3 <- runif(1, min=0.81, max= 0.89) prob[n]<-task1*task2*task3 } If you wanted to store the individual probabilities (task1..3), you would proceed accordingly by defining them outside the loop and storing the value in the loop as the n-th element of t...
2018 Apr 22
3
Gantt Chart Using Plotrix
...Begin Code --- # 1st read in the spreadsheet with stringsAsFactors set to FALSE > abc <- read.csv("gntr1.csv", header=TRUE, stringsAsFactors=FALSE) > abc code tasks.labels start end depends done 1 101 task 1 2018-04-01 2018-04-15 101 100 2 102 task2 2018-04-15 2018-05-31 101 50 3 103 task 3 2018-06-01 2018-06-30 102 0 # Next convert the date strings to POSIXct format: # The Idea here is to take each of the individual columns in the spreadsheet # and convert them to the required format and then assemble the dataframe ba...
2018 Apr 23
0
Gantt Chart Using Plotrix
...in the spreadsheet with stringsAsFactors set to FALSE > >> abc <- read.csv("gntr1.csv", header=TRUE, stringsAsFactors=FALSE) >> abc > code tasks.labels start end depends done > 1 101 task 1 2018-04-01 2018-04-15 101 100 > 2 102 task2 2018-04-15 2018-05-31 101 50 > 3 103 task 3 2018-06-01 2018-06-30 102 0 > > > # Next convert the date strings to POSIXct format: > # The Idea here is to take each of the individual columns in the spreadsheet > # and convert them to the required format and th...
2018 Apr 22
0
Gantt Chart Using Plotrix
...read.csv("gntr1a.csv") > > # The above csv file was generated from MS .xlsx file containing the tasks and corresponding dates > >> abc > code tasks.labels start end depends done > 1 101 task 1 2018/04/01 2018/04/15 NA 100 > 2 102 task2 2018/04/15 2018/05/31 101 50 > 3 103 task 3 2018/06/01 2018/06/30 102 0 >> gantt.chart(abc) > Error in `$<-.data.frame`(`*tmp*`, priorities, value = numeric(0)) : > replacement has 0 rows, data has 3 >> > > Manually adding the required tasks and d...
2018 Apr 22
2
Gantt Chart Using Plotrix
...ain this information. abc <- read.csv("gntr1a.csv") # The above csv file was generated from MS .xlsx file containing the tasks and corresponding dates > abc code tasks.labels start end depends done 1 101 task 1 2018/04/01 2018/04/15 NA 100 2 102 task2 2018/04/15 2018/05/31 101 50 3 103 task 3 2018/06/01 2018/06/30 102 0 > gantt.chart(abc) Error in `$<-.data.frame`(`*tmp*`, priorities, value = numeric(0)) : replacement has 0 rows, data has 3 > Manually adding the required tasks and dates (as given in the help fil...
2007 Feb 05
0
simple rights question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. Groups: everyone is a member of "Domain Users", and that's always the primary group. And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2 A" etc. The simple idea is to give everyone access to Bu...
2007 Feb 08
0
simple right question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. I've got groups, a groups, everyone is a member of "Domain Users", and that's also always the primary group. And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2 A" etc. The simple idea is to...
2012 May 09
3
R exercises - too confusing for me.
...in that to me... 1. http://r.789695.n4.nabble.com/file/n4619850/task1.gif Well, the first part is of course no problem but I have really trouble with the tasks i) and ii). just don't know how to write the function and why I should use rexp... 2. http://r.789695.n4.nabble.com/file/n4619850/task2.gif Oh I love loops. Well - "I think" I have to solve the first task to solve this... Well there is more but I'll tried to fight with it a few more hours. Thanks for helping! -- View this message in context: http://r.789695.n4.nabble.com/R-exercises-too-confusing-for-me-tp46198...
2009 Jan 25
1
Multiple lattice plots on a page: aligning x-axes vertically
...= c(0,0,1,0.35)) print(plot.density, position = c(0.0988,0.22,0.98,1), newpage = FALSE) } example.data <- data.frame(subject_ID = c('A01','B01','A02','B02'), subject_group = c('pop1','pop2'), task= c(rep('task1',32),rep('task2',32)),dependent_measure=rnorm(64)) plotdensitymeans(example.data, measure=c('dependent_measure'), xlab="dependent measure (units)", xlim=c(-3,3)) ##END Example --- Daniel Myall PhD Student Department of Medicine University of Otago, Christchurch Van der Veer Institute for P...
2011 Jun 09
1
what is the mistake?? the coding still not function. no result display
...SS), error=function(err) + # if this produces an error: + install.packages("MASS",repos="http://cran.ms.unimelb.edu.au/")) > > # > # Prepare the data matrix > # > # Read in the .csv file > data<-read.csv("C:/Users/nadya/Desktop/praktikal UTM/TASK2/new(40data)S2 100 >EMS EPI 300-399.csv", sep=",", row.names=1, header=TRUE) > # Get groups information > groups<-data[,1] > # Remove groups for data processing > lda_data<-data[,-1] > # Replace any missing values (see Notes) > lda_data[is.na(lda_data)]<...
2011 Jun 21
1
(no subject)
...SS), error=function(err) + # if this produces an error: + install.packages("MASS",repos="http://cran.ms.unimelb.edu.au/")) > > # > # Prepare the data matrix > # > # Read in the .csv file > data<-read.csv("C:/Users/nadya/Desktop/praktikal UTM/TASK2/new(40data)S2 100 >EMS EPI 300-399.csv", sep=",", row.names=1, header=TRUE) > # Get groups information > groups<-data[,1] > # Remove groups for data processing > lda_data<-data[,-1] > # Replace any missing values (see Notes) > lda_data[is.na(lda_data)]<...
2020 May 31
0
[PATCH v3] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
...e at arm.com> Date: Sat, 30 May 2020 09:38:28 +0800 > When client on the host tries to connect(SOCK_STREAM, O_NONBLOCK) to the > server on the guest, there will be a panic on a ThunderX2 (armv8a server): ... > The race condition is as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found sk) > lock_sock_nested > vsock_remove_sock > sock_orphan > sk_set_socket(sk, N...
2020 May 29
0
[PATCH] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
...] vhost_vsock_handle_tx_kick+0x360/0x408 [vhost_vsock] > [ 463.719041][ T5040] vhost_worker+0x100/0x1a0 [vhost] > [ 463.719048][ T5040] kthread+0x128/0x130 > [ 463.719052][ T5040] ret_from_fork+0x10/0x18 > > The race condition as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found) > lock_sock_nested > vsock_remove_sock > sock_orphan > sk_set_socket(sk, NULL) > ....
2020 May 29
0
[PATCH v2] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
...vhost_worker+0x100/0x1a0 [vhost] > [ 463.719048][ T5040] kthread+0x128/0x130 > [ 463.719052][ T5040] ret_from_fork+0x10/0x18 ^ ^ Maybe we can remove these two columns from the commit message. > > The race condition as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found) > lock_sock_nested > vsock_remove_sock > sock_orphan > sk_set_socket(sk, NULL) Here we c...
2009 Aug 17
1
R : how does %in% operator work?
...frame_rownames) to work I have changed the predictor and coef_dataframe_rownames to all different data types ,like both vectors ,both dats frames, predictor to character and coef_dataframe_rownames to vector…But nothings seems to work. [ If predictor is in coef_dataframe_rownames do task 1 else task2 ] Here predictors_values is a data frame of all possible predictors when one particular element ‘s regression is to be done.And coef_dataframe_rownames is the data frame of rownames of the coefficients table which was produced as a result of regression function. *Problem-2:--* I wanted somethi...
2004 Jun 27
3
memdisk: DOS as a PreOS
Hello! Is it possible to load a virtual DOS Floppy with memdisk to do a few things (e.g. scan for viruses, copy a hard disk image from the network to the local disk) and continue booting from the local hard disk without a reboot? Cheers Alex
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...''Project1'' => nil, ''Project2'' => nil, ''Project3'' => { ''task1'' => nil, ''task2'' => nil, ''task3'' => nil } }, ''Contract3'' => { ''Project1'' => nil }, ''Contract4''...
2018 Apr 22
0
Gantt Chart Using Plotrix
> On Apr 22, 2018, at 11:50 AM, bbb_aaa at verizon.net wrote: > > Hi > > I am trying to generate a complex Gantt chart using the gantt.chart function in the plotrix package. > > Ideally I would like to use a spreadsheet to populate the activities (tasks) and start and end dates that this function expects and then export the spreadsheet file as a .CSV text file so I can read