Questions tagged [replicate]
280 questions
-1
votes
1 answer
For every unit increase in one column value , another column entries increase
I have a simulation dataset with 500 replicates - each replicate contains 300 ids. When rep = 1, id ranges from 1-300; when rep = 2, id again ranges from 1-300 and so on.
I want to get the following: when rep = 1: id 1-300; when rep = 2: id 301-600…

andy dey
- 1
-1
votes
1 answer
Replicating tables SQL Server 2008
I need to replicate 6 tables in SQL server 2008 every 30 mins.
Any Idea how to implement it?
Environment will be the server
Thanks,
Ryl

user2617053
- 323
- 3
- 5
- 13
-2
votes
2 answers
set.seed and replicate 100 times
I use set.seed=(7) and find a random sample of size 4 from the standard normal distribution with replicate(n=100, rnorm(4)) Now I have data 4 rows and 100 column.
How can I use the replicate function to run the mean of each column (100 column…

Zee
- 7
- 2
-2
votes
1 answer
How to replicate rows of a table having specific string pattern just above the table
I have a table in a file. There is a character line before the table starts. The table in a file looks like this
XYZ=1
1 40 3 24 4
2 40 4 16 21
3 40 3 12 16
XYZ=2
1 40 5 27 8
2 40 4 16 21
3 40 2 14 24
I want to have output with…

Mrinal Mishra
- 25
- 3
-2
votes
4 answers
How to duplicate div by checking box?
I want a user to be able to create an undetermined number of questions. Once a user has created one question I want another one (question 2) to appear and so on..
How would I go about this?
Thanks

Joe Tindall
- 3
- 2
-3
votes
1 answer
How to print diamon in sql
enter image description here
I wanted to draw a dimaond like this in Sql. Can you help me please

Hüseyin Öztürk
- 19
- 2
-3
votes
2 answers
delete branch/tag in gerrit web page successfully but not deleted in gitlab backend
What steps will reproduce the problem?
Select a branch and delete it in gerrit web page.
What is the expected output?
Delete the branch successfully in gerrit web page and also deleted the branch in gitlab.
What do you see instead?
Not deleted in…

guang11cheng
- 1
- 2
-3
votes
2 answers
Calculating the mean of every replication
I have the following code
set.seed(30)
nsim <- 50 ## NUMBER OF REPLICATIONS
demand <- c(12,13,24,12,13,12,14,10,11,10)
res <- replicate(nsim, {
load <- runif(10,11,14)
diff <- load - demand ## DIFFERENCE BETWEEN DEMAND AND LOAD
…

kelamahim
- 577
- 1
- 4
- 21
-3
votes
1 answer
Use html to replicate spreadsheet sum formulas to create an agenda
I have created an agenda in a spreadsheet. I am moving this to a webpage where i use html. I can create a table and list every cell, but I would like to replicate the spreadsheet formulas so that if I change the duration of one lesson, the rest of…

emkskier
- 1
- 1
-4
votes
1 answer
Is it possible to duplicate / clone of a machine learning algorythm with output results?
Is there any way to train a machine learning algorithm to learn from results of another and then clone it?
Tried clone with scikit learn but keeps getting different results with the same input data

tdoxox
- 1