blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60fc530837c1139e6c97f6f05fd301b3e5b29dc7 | 2ad28c625ccccf372e4dcd7d58f10dc39f55c0a8 | /man/search_stn_name.Rd | 13270c9d8cfe586efa5bc000dc5bce2c8a6eb64e | [
"Apache-2.0"
] | permissive | njatel/tidyhydat | 4c0e44328cf1ee38d70a2b84898413174506ec8b | 9954d53c4f8d6aa54b9de525a9264fdd93cf09ff | refs/heads/master | 2021-08-23T22:27:59.266678 | 2017-12-06T18:21:34 | 2017-12-06T18:21:34 | 113,370,923 | 0 | 0 | null | 2017-12-06T21:50:55 | 2017-12-06T21:50:55 | null | UTF-8 | R | false | true | 602 | rd | search_stn_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{search_stn_name}
\alias{search_stn_name}
\alias{search_stn_number}
\title{A search function for hydrometric station name or number}
\usage{
search_stn_name(search_term)
search_stn_number(search_term)
}
\arguments{
\item{search_... |
2dbd98e6041dafc7b5b52b4d2b92b54cf5ac3004 | 2d32305806855dc8793ab0348acef458b139f1be | /man/roxygen/templates/F_search_loops.R | 701b96516e697b673664dc8c66113d9409f5a25b | [
"MIT"
] | permissive | nmfs-fish-tools/SSMSE | 07a9ed4defb370833864183b7f4a775425c53b3c | 47445d973a537eaf9a7361f842d3f7a404bca247 | refs/heads/main | 2023-08-16T21:18:17.253400 | 2023-08-09T21:40:26 | 2023-08-10T12:20:30 | 197,069,801 | 16 | 5 | MIT | 2023-09-08T16:03:34 | 2019-07-15T20:44:06 | R | UTF-8 | R | false | false | 302 | r | F_search_loops.R | #' @param n_F_search_loops Number of times to try to find an F that achieves the
#' catches input in the OM. Defaults to 20.
#' @param tolerance_F_search How far apart the input catch and achieved
#' catch can be in tried to find an F that achieves the catch input in the
#' OM. Defaults to 0.001.
|
aa4d95bf2785bd64e95cd0d517b3cf8335e1fadf | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/zFactor/examples/multiplotStandingKatz.Rd.R | 5654e722d4089c6bff668dfc6522a03525c6210b | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 334 | r | multiplotStandingKatz.Rd.R | library(zFactor)
### Name: multiplotStandingKatz
### Title: Plot multiple Tpr isotherm curves in one figure
### Aliases: multiplotStandingKatz
### ** Examples
# plot Standing-Katz curves for Tpr=1.1 and 2.0
multiplotStandingKatz(c(1.1, 2))
# plot SK curves for the lowest range of Tpr
multiplotStandingKatz(c(1.05, ... |
6fca7e4c1080c89bde6ae187561e8a5c264c0a8d | 562204373b05dde8ea2a94862c0024ad5c67f21e | /man/n.Rd | 20fd937ae64ebd69724d7bf06c858c71052f24a2 | [] | no_license | sophiasun025/gSeg | 47698dc11a3c29559017a31be098fbf745ec94be | bd0f095dd47ea06ae8c793c3b55b9e0c2dccecca | refs/heads/master | 2022-12-21T06:15:46.614682 | 2020-09-24T08:10:12 | 2020-09-24T08:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 183 | rd | n.Rd | \name{n}
\alias{n}
\title{The Number of Observations in the Sequence}
\description{This is the variable name for the number of observations in the sequences in the "Example" data.
}
|
c3e07e5bc45484384be6f2f129fc0a6ba2edced5 | c9c42d0649822f08754141c0c7ef54ce70341853 | /man/listn.Rd | 511918e0e022ba364d40a026ce158b3fadfb187a | [] | no_license | luisgasco/openskyr | 33884f912eb2c4569938c4e01be398dc8decc43b | 35e64cbabb7d8c484055cbb0c37028305f584c44 | refs/heads/master | 2022-08-03T14:26:05.384936 | 2020-05-04T16:16:19 | 2020-05-04T16:16:19 | 83,914,360 | 7 | 2 | null | 2020-05-15T18:17:07 | 2017-03-04T18:13:50 | R | UTF-8 | R | false | true | 294 | rd | listn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{listn}
\alias{listn}
\title{Create a named-list.}
\usage{
listn(...)
}
\arguments{
\item{...}{list of variables used to create the named-list.}
}
\description{
Create a named-list.
}
\keyword{internal}
|
95fb898027c87bb403c9d22add8e792ea9afbda4 | 3f680c621d68cd817097e1a83915ceaead162e12 | /R/getAllFunnels.R | 64ea455962e576063c4d41572939170a3db48fdc | [] | no_license | rohan-shah/mpMap2 | 46273875750e7a564a17156f34439a4d93260d6c | c43bb51b348bdf6937e1b11298b9cdfe7a85e001 | refs/heads/master | 2021-05-23T20:34:59.327670 | 2020-07-19T10:24:09 | 2020-07-19T10:24:09 | 32,772,885 | 10 | 6 | null | null | null | null | UTF-8 | R | false | false | 5,349 | r | getAllFunnels.R | #' @title Get funnels
#' @rdname getAllFunnels
#' @description Get the order of the founding lines, as they contribute to each line in the final population
#' @details In multi-parent experimental designs, the founding lines of the population are combined together through initial mixing generations. For experiments wit... |
82df4d45d32108676457e3dff9304181c3ee467b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/EngrExpt/examples/cure.Rd.R | f065892461312ce05564acfb21681cfcafbb917a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | cure.Rd.R | library(EngrExpt)
### Name: cure
### Title: Yield from a chemical curing process
### Aliases: cure
### Keywords: datasets
### ** Examples
str(cure)
dotplot(temp ~ yield, cure, groups = time, type = c("p","a"),
jitter.y = TRUE, xlab = "Yield of parts")
summary(fm1 <- lm(yield ~ time * temp, cure))
|
da0a8260d25288704353f97204618d2c64231493 | 184d33fbe6d0ab73a260d0db9d3849df00d33786 | /rcmdr.temis/R/output.R | ca0420d62eb906e43f4e7fc594ab746314bbf8f8 | [] | no_license | nalimilan/R.TeMiS | 65660d9fbe4c8ca7253aeba5571eab4445736c99 | 3a8398038595807790087c36375bb26417ca606a | refs/heads/master | 2023-04-30T18:04:49.721122 | 2023-04-25T19:45:04 | 2023-04-25T19:45:04 | 81,315,737 | 25 | 7 | null | 2020-06-29T21:45:06 | 2017-02-08T10:07:16 | C | UTF-8 | R | false | false | 10,846 | r | output.R | setOutputFile <- function(..., browse=TRUE) {
file <- NULL
try(file <- HTMLGetFile(), silent=TRUE)
if(!is.null(file))
dir <- dirname(file)
else
dir <- "."
file <- tclvalue(tkgetSaveFile(title=.gettext("Select a file to save results"),
filetypes=spr... |
98934893badef5bd632da430f05a457f7e3955e3 | 2ddd0d8d4fc8f009fa51d0fde61d1d40825d4d2d | /man/filter_data.Rd | eb379d5deec9a96495312eaef99d3713fa1bdac0 | [
"MIT",
"CC-BY-4.0",
"CC0-1.0"
] | permissive | januz/comsldpsy-1 | 7029dbc5c0dcbe7893ca5ee67c59b1f5f81c0018 | fdf6248c53fdbc7cef4885fb630d5d188d8ff081 | refs/heads/master | 2020-04-10T21:36:55.722283 | 2018-12-12T17:56:54 | 2018-12-12T17:56:54 | 161,301,150 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 449 | rd | filter_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter.R
\name{filter_data}
\alias{filter_data}
\title{Filter data}
\usage{
filter_data(data, df_filter_cond)
}
\arguments{
\item{data}{tbl. The data frame to be filtered}
\item{df_filter_cond}{tbl. A data frame with exclusion criteria}
}
\v... |
5182dae12e5fd0a2c93dd9c3c3d71d416fbad2b7 | 80f66a992fc733aab681dfa1e103db8105609725 | /NYCTRS_Data_readMemberData_AV2016.R | 6550e8af0049ba1d1c3132475ff518014bee877c | [] | no_license | yimengyin16/RSF_NYCTRS | cd5cfcad260f1d03fe06f472a263f2e96325acb1 | 82326660d9bc525089772a84837851dfad3713f1 | refs/heads/master | 2021-06-05T16:12:11.367594 | 2019-03-17T14:30:25 | 2019-03-17T14:30:25 | 152,126,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,116 | r | NYCTRS_Data_readMemberData_AV2016.R | #This script loads demographic data as of June 30, 2016 provided in the 2017 CAFR of NYCTRS and FOIL data from NYCTRS
## Member Data from CAFR 2017
# Tables to load:
# Service retirees by age (as of Jun30, 2016) : p169 (Sheet8) Schedule 13 service retirement allowance - QPP
# Disability retirees by age (as of J... |
a714df591f07f25c64e36b8d38196412eef6cc27 | 0958797b18cb05c11859b1455a519aba91220dbb | /R/km.R | 7189debe7e2d2aa03ec811d49045990e29a14f00 | [] | no_license | sarupurisailalith/RStudioAddins | da8f97552ff2cf68e76df23919fc9fc4f44c466a | 7ad26c0cfeca4b529476635d2b86d081ecff2c36 | refs/heads/master | 2021-01-09T20:41:22.104779 | 2016-08-02T15:03:48 | 2016-08-02T15:03:48 | 64,377,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,576 | r | km.R | # K-means clustering model diagnostics
km_diagnostics <- function() {
require("shiny")
require("plotly")
require("miniUI")
require("cluster")
require("clValid")
ui <- miniPage(
gadgetTitleBar("k-means clustering model diagnostics"),
miniContentPanel(
fluidRow(
fluidRow(align = "... |
e046b58c70465f64b523e806338c055358bd556d | 72a445a223967b1abff6eb548e5c9908d9d08c52 | /man/isRT.Rd | dc4fc7523be619d2e1ae589bb3d4166f9d453681 | [
"MIT"
] | permissive | s0eren/mafun | 46a4e949152ccb747fcbd9c7a2a346d43b742695 | 92615b2a7a8559cba2f205f5b568fed7cb8ba17f | refs/heads/master | 2020-05-17T08:44:45.211693 | 2015-01-31T13:26:20 | 2015-01-31T13:26:20 | 26,682,893 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 647 | rd | isRT.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{isRT}
\alias{isRT}
\title{isRT}
\usage{
isRT(tweet)
}
\arguments{
\item{tweet}{A character string OR a vector of character strings.}
}
\description{
This function checks whether a specific Tweet-Input can be categorized as Retweet.
}
\details{
Retweets in Twitt... |
9f8bb8ca5c7cccc4264f1a1b607c5de866c2a778 | 47530697355af33b13df82d54b833f1210f13c54 | /clarity2sims/man/sim_clarity2_trial.Rd | a1c0d8579b1b70b78f28ec8d478a63b5f9a0c799 | [
"MIT"
] | permissive | michaeldymock25/clarity2 | 9f933c2ee96f704a7e5fa1c3427a3f9bb7b0c188 | 7d703c3540b473e2a52213a131f0af69319d6199 | refs/heads/main | 2023-08-20T08:41:51.670140 | 2021-11-02T00:19:16 | 2021-11-02T00:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 888 | rd | sim_clarity2_trial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clarity2sims.R
\name{sim_clarity2_trial}
\alias{sim_clarity2_trial}
\title{sim_clarity2_trial}
\usage{
sim_clarity2_trial(
mod,
n_seq = seq(600, 2100, 300),
p_assign = rep(1/3, 3),
alpha = stats::qlogis(cumsum(c(16, 29, 32, 13, 2, 1, ... |
3245f0d4e0c6b16c5a93e4ff716c1e7078384b08 | 37794cfdab196879e67c3826bae27d44dc86d7f7 | /Math/Poly.System.Hetero.Symmetric.S3.Theory.R | b650f2685aecac13d659b0472324ac5bc2dbed96 | [] | no_license | discoleo/R | 0bbd53a54af392ef53a6e24af85cec4f21133d17 | e9db8008fb66fb4e6e17ff6f301babde0b2fc1ff | refs/heads/master | 2023-09-05T00:43:32.381031 | 2023-08-31T23:03:27 | 2023-08-31T23:03:27 | 213,750,865 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 787 | r | Poly.System.Hetero.Symmetric.S3.Theory.R |
########################
###
### Leonard Mada
### [the one and only]
###
### Polynomial Systems: S3
### Theory
###
### draft v.0.1a
### Hetero-Symmetric S3 System
# - let P(x, y, z) = polynomial;
### System:
# P(x, y, z) = 0
# P(y, z, x) = 0
# P(z, x, y) = 0
### Trivial solution: x = y = z;
##... |
4a0246c2874bdcfdad781263f4afdcb5530bbc96 | c2ac3133ecaaf0e6ad8e751198c670dffdcbd410 | /man/UK.Rd | 0312bc54f3837531311bd2dd9e05f1cac7694891 | [
"MIT"
] | permissive | elenanikolova190/covidregionaldata | e4465cfceb4f990093e1bb5a1e2de70a0d0d6400 | eed4fea49a5f47173c0d4a6544c9acd8f2fd0a5d | refs/heads/master | 2023-04-11T07:29:50.650715 | 2021-04-14T18:16:45 | 2021-04-14T18:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 9,743 | rd | UK.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UK.R
\name{UK}
\alias{UK}
\title{United Kingdom Class for downloading, cleaning and processing notification
data.}
\source{
\url{https://coronavirus.data.gov.uk/details/download}
\url{https://coronavirus.data.gov.uk/details/download}
}
\desc... |
7136e02785c27966d9841664f90d72341f992fe1 | 384c3dbc571be91c6f743d1427dec00f13e0d8ae | /r/kernels/rodericksd-dr-titanic-on-kaggle-9-13-2016/script/dr-titanic-on-kaggle-9-13-2016.R | c2f28a9be1de0733dfcd2cc3c843e970e59e87ed | [] | no_license | helenaK/trustworthy-titanic | b9acdd8ca94f2fa3f7eb965596eed4a62821b21e | ade0e487820cf38974561da2403ebe0da9de8bc6 | refs/heads/master | 2022-12-09T20:56:30.700809 | 2020-09-10T14:22:24 | 2020-09-10T14:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,809 | r | dr-titanic-on-kaggle-9-13-2016.R |
# This R script will run on our backend. You can write arbitrary code here!
# Many standard libraries are already installed, such as randomForest
library(randomForest)
library (rpart)
library (caret)
#install.packages('rattle')
#install.packages ('rpart.plot')
#install.packages ('RColorBrewer')
#library(rattle)
libra... |
924c9183edb0d799b9928b238fcb6dc701ac14eb | a09b729d3dddcf139712c5e47fcd825a3d414cf3 | /man/midpoint.root.Rd | 0fa4f465bf9d3a6c7081e87ba17cb19ba2062866 | [] | no_license | olmen/phytools | 62fdab172b504362d417c49d5d768e9a88b92ff1 | 1c61ab64d38f92c487e1edd49e918c6a2d3a0965 | refs/heads/master | 2020-03-17T10:08:03.625735 | 2018-04-13T16:51:31 | 2018-04-13T16:51:31 | 133,501,475 | 1 | 0 | null | 2018-05-15T10:42:46 | 2018-05-15T10:42:45 | null | UTF-8 | R | false | false | 1,189 | rd | midpoint.root.Rd | \name{midpoint.root}
\alias{midpoint.root}
\title{Midpoint root a phylogeny}
\usage{
midpoint.root(tree)
}
\arguments{
\item{tree}{an object of class \code{"phylo"}.}
}
\description{
This function midpoint roots a rooted or unrooted tree (Farris 1972).
}
\details{
Midpoint rooting involves locating the midpoint of t... |
f4f3b1a961e038522d4dabfb39c2cfb1f30e1fc8 | a71f5727b67ecd4b9a3dd506749dd39c47264904 | /R语言统计分析与应用/《R语言统计分析与应用》配套程序/十三章/Example13_8.R | cd2af5788a8c0408e25a1e4033d51bfed18d9879 | [] | no_license | wwjvictor/test-R | 4085408ae64c48cda7dd34128e4dac3e1dd1a7a3 | be292db7c0288b02d9ce0a749b3af64043f99634 | refs/heads/master | 2020-12-14T00:01:31.140699 | 2020-01-17T15:08:09 | 2020-01-17T15:08:09 | 234,570,309 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 201 | r | Example13_8.R | > Example13_8 <- read.table ("example13_8.csv", header=TRUE, sep=",")
> attach(Example13_8)
> cor(Example13_8, method="spearman")
> cor.test(a, b, method="spearman")
> detach (Example13_8)
|
e0a91621fbce20ba8c5e28efe87c9ec9acec1511 | f9cd477265898f4466ea0acf4c784fb8328dcba9 | /HW5Pack/R/random_letters2.R | 45742c2e86abc28f106d8c00409add4a09a90d2c | [] | no_license | alexrblohm/Simulation | 7d0f935c475af2d6fbce4a513bb49df5a7436609 | 5a09e827cdc44e68df342963d9316e84327d6920 | refs/heads/master | 2020-07-04T21:22:51.060613 | 2019-11-26T17:57:58 | 2019-11-26T17:57:58 | 202,422,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | random_letters2.R | random_letters2 <-
function(){
sample(LETTERS, 1)
}
|
18c02f9b8d06011537be7baa419b096f7d6504b1 | 7d18e60a7da4b47b43bf9a90f0e7b47903e26c68 | /task2/NN/ATVHelper.R | ec73d5e304ed397187ddc2dce8b1c7ff3b2ab878 | [] | no_license | danranyiyu123456/Black-Swan | 74149e7667b3495b44507cac66382e637afcbd27 | 571839ff218b4b7f6dd999842b67f6230aa0c98c | refs/heads/master | 2022-11-23T03:49:52.482740 | 2020-08-01T05:52:34 | 2020-08-01T05:52:34 | 284,000,634 | 0 | 0 | null | 2020-07-31T09:53:42 | 2020-07-31T09:53:41 | null | UTF-8 | R | false | false | 8,658 | r | ATVHelper.R | ###################################################
#####The data List
###################################################
predictHourWindow <- c("[9,8]", "[18,17]")
dataHourList <- c(6,7,8,9,15,16,17,18)
nationDayList <- seq(as.Date("2016-10-01"),as.Date("2016-10-07"),1)
############################... |
90cb93fc5d9f96a9166f7706de18e7a242cf4a7e | 76ad703bce9a4796a10e8b5cf092ff31ff8db33c | /R/crayon_substitutes.R | f9953b8a662550b4d99fdd9048443a9fbd98a179 | [
"MIT"
] | permissive | robertzk/lockbox | e9d5bb963a8a8f0bd9a18336106805c9a5d44fd4 | 4e8d96f86fc34e7de09b2a2535d6b2ad6b1ec74f | refs/heads/master | 2020-05-21T23:36:00.445712 | 2018-01-16T14:31:04 | 2018-01-16T14:31:04 | 33,389,821 | 49 | 11 | MIT | 2018-01-16T14:31:05 | 2015-04-04T01:07:35 | R | UTF-8 | R | false | false | 309 | r | crayon_substitutes.R | crayon_blue <- function(string) {
paste0("\033[34m", string,"\033[39m")
}
crayon_red <- function(string) {
paste0("\033[31m", string,"\033[39m")
}
crayon_yellow <- function(string) {
paste0("\033[33m", string,"\033[39m")
}
crayon_green <- function(string) {
paste0("\033[32m", string,"\033[39m")
}
|
eb05dab950091ee339f96fa863a248639cd8d9e8 | 97c0ba9b73da48eecb1a5832b802915db59b2ae0 | /introjs.R | f80d6a3b4e6e7d33b9cbf7205932d7367cb20787 | [] | no_license | kpatel427/RShiny | e5bccdbce99cd3fa32a79076ab408e47c3679193 | 98f700bba8d72441bfeb59650a943767a8d9db39 | refs/heads/master | 2020-06-01T02:26:32.351228 | 2020-05-04T20:01:25 | 2020-05-04T20:01:25 | 190,596,525 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,227 | r | introjs.R | library(rintrojs)
library(shiny)
# Define UI for application that draws a histogram
ui <- shinyUI(fluidPage(
introjsUI(),
# Application title
introBox(
titlePanel("Old Faithful Geyser Data"),
data.step = 1,
data.intro = "This is the title panel"
),
# Sidebar with a slider input for number o... |
84f55e5bdd9f731ac5fe46bae1918e7cc9a2fd56 | 812ca561672990c77765107f58c75b7b71214328 | /twitterHashtagsAnalysis.r | 71b30e749692f42868faa5030dbaa99e83737d7a | [] | no_license | sciruela/twitterHashtagAnalysis | d0d19612afe92eb811f46aa8cb3db1573f5909a6 | 2e87d752983e5e2fb0840cf3f8947e021db4de3a | refs/heads/master | 2021-01-19T08:46:01.975418 | 2012-02-07T23:16:28 | 2012-02-07T23:16:28 | 3,382,422 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,670 | r | twitterHashtagsAnalysis.r | require(twitteR)
searchTerm='#SOPA'
rdmTweets <- searchTwitter(searchTerm, n=500)
tw.df=twListToDF(rdmTweets)
require(plyr)
tw.dfx=ddply(tw.df, .var = "screenName", .fun = function(x) {return(subset(x, created %in% min(created),select=c(screenName,created)))})
tw.dfxa=arrange(tw.dfx,-desc(created))
tw.df$screenName=f... |
234137938d6ae8eb8a0745a2cf877ddb3c2d70ab | eff628edd09eab16685431d8f9f95a57aff7952b | /cachematrix.R | eb417a02fa6862fe2cabe3c35930f24bafe69c50 | [] | no_license | nycmetro/ProgrammingAssignment2 | f8198f88d7f889139d7aa03cec178d9a71e48ebe | 5d05d1ea80632bf7638833fc77141c54b5de4c87 | refs/heads/master | 2021-01-19T07:07:37.214947 | 2014-12-21T04:29:18 | 2014-12-21T04:29:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | cachematrix.R | ## The functions in this module goal is to aid the step of carrying out an inversion
## of a matrix repeatly which can be an expensive operation for a large matrix by caching
## the creation step of the object - so expensive computation is carried out only once.
## Subsequent calls to get matrix inverse are fast.
## T... |
4dfad5b0b8fe73a86d1795e1df889356ee310d77 | c4a77d19da5d46766311c3b9eb68131bc696daf9 | /man/Resistance.Opt_single.scale.Rd | 0c33a3b811c96be3d4be4808d6159d16463b8f38 | [] | no_license | rmarrotte/ResistanceGA | ac57bff6c3e2bd05006e923f4af93eec9e1e18c1 | 6934cf25cf025baec0dccc3bf67311ca170c9808 | refs/heads/master | 2020-03-27T18:24:03.423010 | 2018-09-14T17:30:07 | 2018-09-14T17:30:07 | 146,920,028 | 1 | 0 | null | 2018-08-31T16:57:59 | 2018-08-31T16:57:59 | null | UTF-8 | R | false | true | 1,884 | rd | Resistance.Opt_single.scale.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OptimFunction_Single_scale.R
\name{Resistance.Opt_single.scale}
\alias{Resistance.Opt_single.scale}
\title{Optimize resistance surfaces individually with kernel smoothing}
\usage{
Resistance.Opt_single.scale(PARM, Resistance, CS.inputs = NULL... |
6942bf3e3b568d194747f1ee7491478dc58293c6 | 041d872d0f55b4a2d26a7a09ad6f7187d51fd4f7 | /man/getLloydTaylor.Rd | 40715fa9fa8c0e929c012a74e196d037a1a2e385 | [] | no_license | mjwang1010/RSCAPE | 9d1715e696729ce0f5e0fb7d9ea315c58e01b7fe | f81ace0d953a4f791430f493a12355e63c0d2aa7 | refs/heads/master | 2020-12-02T21:00:42.628528 | 2014-06-10T14:43:42 | 2014-06-10T14:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,080 | rd | getLloydTaylor.Rd | \name{getLloydTaylor}
\alias{getLloydTaylor}
\title{Estimate activation energy \eqn{E_a}{Ea} and time varying \eqn{R_b}{Rb} from temperature and efflux time series including uncertainty.}
\description{Function to determine the temperature sensitivity (\eqn{E_a}{Ea} value) and time varying
basal efflux (\eqn{R_b(i)... |
626a56dd3a18ccd1292dfcc0395c7a08c0b9aa88 | cb306ee1d47e69addb589fd3d9f8e2093e455c70 | /aux_fun_chains_START_fill.R | 003c855aea17ccc44612fa23e694cf184b8d04df | [] | no_license | IvanaGaneva/SocialDistancingDataManipulation | 705026703948a0ba65290d0becf573c29b2b3407 | ee4b3e35cb9ba49754135eed3b0e765b04baa12f | refs/heads/main | 2023-05-15T22:31:21.485951 | 2021-06-16T20:56:39 | 2021-06-16T20:56:39 | 344,110,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,544 | r | aux_fun_chains_START_fill.R | # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Ganeva, I.K.
# Covid 19 State Policy Data Cleaning
# Feb-Apr, 2021
# __________________________________________________________________________
# Nancy Fullman, Bree Bang-Jensen, Grace Reinke, Beatrice Magistro,
# Rachel Castellan... |
4f97cfdcf13bbfa99451d7b70c3bdad7888d4c24 | 0cff15b1ec8bf64acb0f6da3d660d0cc5edaed6f | /PHD-Pilot_jun_19.R | 8ec66d49faf88f26fd30a7495339c35bcd4b8b85 | [] | no_license | Rutmer/PHD-Pilot_jun_19 | 4ab2c4bf2419c41060b4e986f1cda650fa596b10 | 328290e7de1d74aa939cef9cef8323e93a2d0714 | refs/heads/master | 2020-06-23T15:13:10.087637 | 2019-08-22T12:35:05 | 2019-08-22T12:35:05 | 198,660,352 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,154 | r | PHD-Pilot_jun_19.R | install.packages("lavaan", dependencies = TRUE)
install.packages("svMisc")
library(foreign); library(lavaan); library(knitr); library(svMisc)
pilot <- read.spss("Pilot - Juli 2019.sav", to.data.frame = TRUE)
# Checking assumptions (outliers and multivariate normality) was done in spss
pilot [,c(11:89)] <- lapply(pil... |
bb2b81a4b40f8120f7fb1c989846e80fffc6795e | faf09020a6bb22aee4beb72cb7d684df27da20d7 | /inst/shinyApps/iBoard/output/outputTabsetpanels.R | 68fe7311d6ae1647fe33d8a26f46a08af5d6f734 | [] | no_license | cran/idiogramFISH | cf1f9b735c761fb718fb64429735a15b2392299e | 6cdf969071aa52869cb1c89796e70fc84e1fb993 | refs/heads/master | 2023-09-04T00:46:06.171086 | 2023-08-22T16:50:02 | 2023-08-22T18:31:05 | 211,358,009 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,642 | r | outputTabsetpanels.R |
output$tabsetpanel0UI <- renderUI({
tabsetPanel(
id = "tabsetpanel0",
tabPanel("1. Load example",
tags$head(tags$style(HTML(" wpanel .tab-content {margin-left:50px;}"))),
value = "exampleTab",
div(
class = "wpanel",
uiOutput("examplepanel")
)
)
)
})
output$tabse... |
dfb3268a688a4df4654e16ff564f8541b021af36 | 14f1f68a61710d38ea9636227329ece397304cdd | /r_for_ds/III Program/14_pipes.r | acc7b3fcd61e3ca520be35e62be321b4d04efa6f | [] | no_license | felix-ha/r_ds | 27f88d38fb7781668383438eb3600e3ec771775c | 121906d61e35924435eb68da1bb6b0c510d1dfc9 | refs/heads/master | 2020-05-24T22:01:41.698240 | 2019-08-03T11:27:42 | 2019-08-03T11:27:42 | 187,488,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 654 | r | 14_pipes.r | library(magrittr)
diamonds <- ggplot2::diamonds
diamonds2 <- diamonds %>%
dplyr::mutate(price_per_carat = price / carat)
pryr::object_size(diamonds)
pryr::object_size(diamonds2)
pryr::object_size(diamonds, diamonds2)
#does only work in current env, pipe live in own enviroment
assign("x", 10)
"x" %>% assign(100)
e... |
574b42680d0bae314203c4665bf8f6741ef18172 | 5bed56d19203d621ef28db176ab583f772f0f668 | /02_Demos/02_UI/03_fonctions_output/plotOutput.R | 306b0b2b54df165cc38fafef9ebba47f13ff7255 | [] | no_license | julomoppet/Formation_Shiny | 5f2e5035b8208a17fd1ad6e317991a37329220be | 94032dedc21c0f1e9c74b8dd6a9836613571839d | refs/heads/master | 2022-11-17T17:09:43.623523 | 2020-06-29T20:10:30 | 2020-06-29T20:10:30 | 274,126,865 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | r | plotOutput.R | library(shiny)
library(tidyverse)
ui <- fluidRow(
column(width = 6,
sliderInput(
"slider",
label = h3("Choisir le nombre d'observations"),
min = 1,
max = 50,
value = 25
)),
column(width=8,
plotOutput("plot")))
server <- function(input, output) {
output$plo... |
978021700c7cdc84f2bc86b17c705b32e24f012e | c830ddad211494ce1d407ee7b2b769e31248db79 | /Heatmap.R | acc6cafe6cd4a89023b895153b281eb2f49d93b4 | [] | no_license | chetkar/Matrix-Visualization | ba7233f105fef97930a842872ff4729fa934db7f | 005ba9207fcb9e7f4a6b81d5b0725809b89e9033 | refs/heads/master | 2021-01-09T06:01:37.458554 | 2017-02-04T23:45:37 | 2017-02-04T23:45:37 | 80,895,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,910 | r | Heatmap.R | #Graph Visualization Tutorial
#http://tutorials.iq.harvard.edu/R/Rgraphics/Rgraphics.html
#Grammar of Graphics
# data
# aesthetic mapping
# geometric object
# statistical transformation
# scales
# coordinate system
# position adjustment
# faceting
#Set Work Directory
wkdir <- "C:\\Users\\Certified ... |
47232584026689dfc3c1a08ebe023dbd54b04c1d | cffe264a50bd5eb8f4088e6f618b4dd4bd3cbde3 | /data_raw/data_cleaning.R | 54381f8b8fb827da7c9480ac970867a1d09aeaef | [] | no_license | zauster/easyMake | dc279968f6cb82aba9935d99d64c51418dd049bf | c13629fea61c826481cf08cfda39128aff7bf431 | refs/heads/master | 2021-01-17T21:12:15.245789 | 2019-05-21T18:56:06 | 2019-05-21T18:56:06 | 65,031,009 | 0 | 0 | null | 2016-08-05T15:54:33 | 2016-08-05T15:54:33 | null | UTF-8 | R | false | false | 250 | r | data_cleaning.R | io <- read.csv("data_raw/import_export_function.csv", stringsAsFactors = FALSE)
input <- as.character(io[ io$I.O == "input", "Name"])
output <- as.character(io[ io$I.O == "output", "Name"])
save( list = c("input", "output"), file = "R/sysdata.rda")
|
8cf150ebb6592fe384a6b17e29a896b7ba0ac762 | e7211133b68aa312c8031558d346f81da7c0f691 | /R/read1d_raw.R | c41364d654bae7544c0a9eda9f31bebe420b26e7 | [
"MIT"
] | permissive | tkimhofer/metabom8 | 542c7effc322db07bfca555ff130732d63caa088 | 37d04910d6a5e47c0e0702d122f345373949d0d4 | refs/heads/master | 2023-07-19T12:31:30.037418 | 2022-11-17T06:56:19 | 2022-11-17T06:56:19 | 262,197,875 | 2 | 7 | NOASSERTION | 2023-07-10T15:09:11 | 2020-05-08T01:32:06 | R | UTF-8 | R | false | false | 9,043 | r | read1d_raw.R | #### read fids
#' @title Read-in 1D NMR FIDs and process to spectra
#' @export
#' @param path char, path to file directory containing spectra
#' @param exp_type named list, filter for acquisition paramters of experiments to read-in (see Details)
#' @param apodisation named list, apodisation function and its parameter... |
2feb0a35dcab0debb647b486e59ee9e34ab138d3 | 2f212439e7d9a15b814c1b61ebc8626945cf59a8 | /man/EMcenso.Rd | 04c400cf0eade5f9d1a9c79e4850cf60c823be21 | [] | no_license | freephys/mcsm | 7d0b8e13d4faacdd52b5e91d95b5bc500c1d8c10 | b15b367fdd409985518bd640119463a1ab3a2897 | refs/heads/master | 2020-12-30T20:05:52.929932 | 2009-02-26T00:00:00 | 2009-02-26T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 459 | rd | EMcenso.Rd | \name{EMcenso}
\alias{EMcenso}
\title{EM paths for a censored normal model}
\description{
This function produces a series of EM paths for a censored normal model.
}
\usage{
EMcenso(repp = 10)
}
\arguments{
\item{repp}{Number of paths}
}
\value{
The outcome of this function is a plot.
}
\references{From Chapter 5 of \... |
5e14828218509d1dae8793ed9efb74b678f4e788 | 07a74984bf59ce4486e1bcaefafb8ce692b50d5a | /man/add_text.Rd | 494c68df4d24fd5a96d3a53d95d680809c572095 | [] | no_license | SymbolixAU/mapdeck | c3bc3a61b8d8ade69b9b67fa69a00f9294281630 | 6138c6845e37ab3479e4ff65d9b0fff29e20f070 | refs/heads/master | 2023-09-03T22:34:43.418728 | 2023-08-24T22:14:59 | 2023-08-24T22:14:59 | 141,350,341 | 344 | 50 | null | 2023-08-09T22:22:59 | 2018-07-17T22:06:34 | HTML | UTF-8 | R | false | true | 6,553 | rd | add_text.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/map_layer_text.R
\name{add_text}
\alias{add_text}
\title{Add Text}
\usage{
add_text(
map,
data = get_map_data(map),
text,
lon = NULL,
lat = NULL,
polyline = NULL,
fill_colour = NULL,
fill_opacity = NULL,
size = NULL,
angle... |
3a37c871ab8e76bb00558a7c187c9c487df6a7c6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/qtl/examples/effectscan.Rd.R | f140156e38fbd0aa4402473d9e7cf4f316f922cc | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | effectscan.Rd.R | library(qtl)
### Name: effectscan
### Title: Plot estimated QTL effects across the whole genome
### Aliases: effectscan
### Keywords: hplot
### ** Examples
data(fake.f2)
## Don't show:
fake.f2 <- subset(fake.f2, chr=c(1,13,"X"))
## End(Don't show)
fake.f2 <- sim.geno(fake.f2, step=2.5, n.draws=16)
# allelic effec... |
2692d8a051dc58853b378e332aff2618b4f526ec | 2eba14c211813af8791ae86476e8b0e6ce43b3be | /man/dot-jsonV.Rd | 5495d1bebabfceb53ac330af4a579f5dc65a9706 | [
"MIT"
] | permissive | frankkramer-lab/RCX | 2fe89e145a8f0f7508895d84f585a24fefdd11f3 | e17e5e4ce4b1ab545a9ed68bbf9c9a24eaf97041 | refs/heads/master | 2023-02-04T04:49:15.229622 | 2023-01-26T17:32:00 | 2023-01-26T17:32:00 | 99,221,216 | 8 | 2 | null | null | null | null | UTF-8 | R | false | true | 788 | rd | dot-jsonV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utils-json.R
\name{.jsonV}
\alias{.jsonV}
\title{Return data as a vector from a JSON list}
\usage{
.jsonV(data, acc, default = NA, returnAllDefault = TRUE)
}
\arguments{
\item{data}{json list}
\item{acc}{accession name}
\item{default}{defau... |
34108f72509c6dd3d11ce389e0fbde97895e4d8b | 9231c91ab94d7f745360bcc41db8b855dd1ab384 | /R/writeHDF5Array.R | 8939bfebd7ff63eccef07bcabbba5a4543c0eb26 | [] | no_license | Bioconductor/HDF5Array | 69199ded2b709fb452e9cbf960a1174de6545edc | 41fe4b17c7822a1d29f0bf03d89c79aabce94bcc | refs/heads/devel | 2023-09-03T07:01:23.767189 | 2023-05-04T20:27:16 | 2023-05-04T20:27:16 | 101,208,679 | 10 | 15 | null | 2023-08-16T09:58:22 | 2017-08-23T17:43:11 | C | UTF-8 | R | false | false | 8,748 | r | writeHDF5Array.R | ### =========================================================================
### writeHDF5Array()
### -------------------------------------------------------------------------
###
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### HDF5RealizationSink objects
###
### The HDF5Realization... |
e39d8bc88a9069801d0bf7d10137ab609d05d9ca | 823eb9fa96390e7c64b112ec054a0371331bda3f | /03-Reproductible/F-STUDY-05-Reproducible-Analysis-01-Assignement-test.r | ae702dd5b6c71b8b68bf5623171ee5c129fee90f | [] | no_license | AlexSickert/R-Code-Snippets | c3bb5ba04ce7b06343ef933ed40d96a8dcfd6157 | 8e01a1bfef2842c80f39461c329f5bcae93d964a | refs/heads/master | 2020-12-02T08:17:03.325768 | 2017-07-10T16:52:25 | 2017-07-10T16:52:25 | 96,800,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 931 | r | F-STUDY-05-Reproducible-Analysis-01-Assignement-test.r |
###library(plyr)
library(timeDate)
myData <-read.csv("activity.csv", sep = ",", header = TRUE, as.is = TRUE)
head(myData)
res <- aggregate(myData["steps"], by=myData[c("interval")], FUN=mean, na.rm=TRUE)
print(res)
rowIndex = which.max( res[,2] )
print(res[rowIndex,])
sum(is.na(myData$steps))
myData$day <- ... |
edb049611d25f3ae8b4bcbbcc8413fb8700bd036 | b3f764c178ef442926a23652c4848088ccd40dca | /man/CovControlMcd.Rd | a640f356022284ef8e73551826a29a6aa618101f | [] | no_license | armstrtw/rrcov | 23e7642ff2fd2f23b676d4ad8d5c451e89949252 | 684fd97cdf00750e6d6fd9f9fc4b9d3d7a751c20 | refs/heads/master | 2021-01-01T19:51:52.146269 | 2013-07-24T18:18:24 | 2013-07-24T18:18:24 | 11,597,037 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,036 | rd | CovControlMcd.Rd | \name{CovControlMcd}
\alias{CovControlMcd}
%
\title{ Constructor function for objects of class "CovControlMcd"}
\description{
This function will create a control object \code{CovControlMcd}
containing the control parameters for \code{CovMcd}
}
\usage{
CovControlMcd(alpha = 0.5, nsamp = 500, seed = NULL, tr... |
a58d73128e6634e21ea8ce1d7ca218ec61b035dc | ce8ec3a112edfb9865f04c321261da5aac2f9082 | /R/CLAYs.R | 5b9da1edf5b00d2858e543b282ca2258204e8ad4 | [
"MIT"
] | permissive | DrRoad/mapsRinteractive | 14c7c01756bcd4a4dcf74af3bdb7b0448db92cef | 5ac39688187556379ae58cf419a4015d3c1f2654 | refs/heads/master | 2022-04-10T09:24:25.159197 | 2020-03-05T19:28:57 | 2020-03-05T19:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 723 | r | CLAYs.R | #' @Title SLU farm (Brogarden) soil sample data -topsoil clay content
#'
#' @usage data(CLAYs)
#'
#' @format SpatialPointsDataFrame. Projected coordinate system: Sweref99TM
#' (epsg: 3006). Attribute: Lab analyzed topsoil (0-20 cm depth)
#' clay content (% of fine soil).
#'
#' @keywords datasets
#'
#' @refere... |
aa0abce9fcf263f854267344a25a2e5badea5fe3 | b2f436cf3b287396f4d30cfde682f7a72a387c5e | /tests/testthat/test_as_seqData.R | 98ab2daabed027175d69c6088709554993341c52 | [
"BSD-2-Clause"
] | permissive | pmartR/pmartR | 840c6f6409aa9de503aab0aa482ddb6fe7d1b7e0 | 14fcb28a766a85fe7aed74c7456c7eb4df61cdaf | refs/heads/master | 2023-08-17T13:56:46.883961 | 2023-08-16T23:46:40 | 2023-08-16T23:46:40 | 69,275,428 | 25 | 10 | NOASSERTION | 2023-09-12T17:17:51 | 2016-09-26T17:38:26 | R | UTF-8 | R | false | false | 18,476 | r | test_as_seqData.R | context('class: seqData')
### TO do: add emeta
test_that('as.seqData returns the correct data frame and attributes', {
# Load the reduced peptide data frames ---------------------------------------
load(system.file('testdata',
'little_seqdata.RData',
package = 'pmartR'
))
# Run as.seqData with agre... |
02b28803bd51eae8d7d2105b04d65b175ed9ffc8 | 18347ef9bc1f489e63e83cf03338b7211d21b7c8 | /man/modal_category.Rd | 8fd8300f13852d992c544eb5f2f329f52bdbff48 | [
"BSD-3-Clause",
"CC-BY-4.0"
] | permissive | stan-dev/posterior | cd1e0778f5b930b7ef97b9c1f09167f162fb9d7e | 55e92336c2984be1a2487cdd489552a07e273d70 | refs/heads/master | 2023-08-18T07:53:15.023052 | 2023-08-07T08:13:36 | 2023-08-07T08:13:36 | 212,145,446 | 105 | 20 | NOASSERTION | 2023-08-07T08:13:37 | 2019-10-01T16:30:28 | R | UTF-8 | R | false | true | 1,306 | rd | modal_category.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discrete-summaries.R
\name{modal_category}
\alias{modal_category}
\alias{modal_category.default}
\alias{modal_category.rvar}
\title{Modal category}
\usage{
modal_category(x)
\method{modal_category}{default}(x)
\method{modal_category}{rvar}(... |
71f7d9327f32f0250f2391286e6c911a59369165 | d74b710c899faef9b6eb1fd906c41fdbc88d100c | /man/find_first_neg_for.Rd | 9800784def0148361dfb82f1dbd5dec264fde4f3 | [] | no_license | sebschnell/spsintro | a085a245b596650398151552643a40ba507779d8 | d9bde7631ff326810998a479a893d145aa6aaeba | refs/heads/master | 2021-01-11T03:59:26.320575 | 2017-06-15T12:12:15 | 2017-06-15T12:12:15 | 71,263,777 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 416 | rd | find_first_neg_for.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{find_first_neg_for}
\alias{find_first_neg_for}
\title{Find first negative element in a vector and return its position}
\usage{
find_first_neg_for(x)
}
\arguments{
\item{x}{A vector of double}
}
\value{
Index of the first n... |
6c10e04d23fba98b9a322878a0087baa76db1bc5 | 96216dc92bf7cd4519bf236c37595f1808639042 | /Seminar/funkcije/funkcije.r | fd81e1c772bdd3abc4d37c0c3dac5253357c076f | [] | no_license | JakaSvetek/Simulacija-propada-zavarovalnice | 189f881ca393a6b3604ed1b7273dc5a48b8cc8f3 | 6d3aacb0b5d8bd75c110eac26faff64d6d8f321d | refs/heads/main | 2023-04-11T22:26:10.613153 | 2021-05-13T08:54:04 | 2021-05-13T08:54:04 | 366,989,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,012 | r | funkcije.r | # funkcije
simulacija <- function(zacetni_kapital, stevilo_dni, verjetnost){
S <- zacetni_kapital
n <- stevilo_dni
p <- verjetnost
i <- 0
dnevi <- runif(n, min = 0, max = 1)
for (dan in dnevi) {
i <- i + 1
if (S < 0){
break
}
else if (dan >= p){
S <- S + 1
}
... |
8025528ddfac519ad190a7afc67b0613313059cf | 7d9c406b15ecc4d78408a4a338a939c2d5cb40f5 | /2 - CITE-seq.R | 23caae7b690b105ebda18a253e235195c939836a | [] | no_license | afidanza/ScRNAseq_HPC_humaniPSCs | 4ada45da604b10e1eb3ab58453585c8804d5b548 | b5c240a2132da6e494ff8ffe82b3e57eddfb7898 | refs/heads/master | 2022-04-18T08:10:17.188475 | 2020-04-10T15:34:24 | 2020-04-10T15:34:24 | 177,476,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | 2 - CITE-seq.R | library(Seurat)
library(ggplot2)
# Read 10X data
data10x <- Read10X("outs/raw_feature_bc_matrix/")
# Create seurat object from the gene expression data only
seuratObj <- CreateSeuratObject(data10x$`Gene Expression`,
min.cells = 3,
min.features = 200,
... |
fd940551060805853734d74cac2c4e0eae2da02f | 427ab22e8751bb0987bf0ea23c1bc43b060226e5 | /exploratoryDataAnalysis/hw4/plot1.R | d580c3b377c413b6b12fa67930dc76fbc403d137 | [] | no_license | savourylie/dsSpecialization | da3b121dbf74c1142f21696c6282e61fb81c6e17 | bcda19827731ab19a4fb06c0927870abd77f7aa5 | refs/heads/master | 2021-01-21T13:21:09.046775 | 2016-05-03T14:50:06 | 2016-05-03T14:50:06 | 52,599,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 738 | r | plot1.R | # 1. Have total emissions from PM2.5 decreased in the United States from 1999 to 2008?
# Using the base plotting system, make a plot showing the total PM2.5 emission from all
# sources for each of the years 1999, 2002, 2005, and 2008.
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Co... |
081d37330b5ca1647f15c07921bd5c423a302f63 | bdb3a04b53a7320544bf34c330fdd23d2ba5dbb9 | /ARMA.R | 2f9227950d5a197a4488133e051e082cf7af8d1c | [] | no_license | duqiangcs/traffic_uncertainty | 82db5463ed0040206fbccfb9d0a0311ef9b0f766 | 679a27ec6cfbc88c29393b3035685269464e8fe3 | refs/heads/master | 2020-05-05T13:56:27.448266 | 2018-02-07T15:22:24 | 2018-02-07T15:22:24 | 180,100,354 | 1 | 0 | null | 2019-04-08T08:07:16 | 2019-04-08T08:07:16 | null | UTF-8 | R | false | false | 511 | r | ARMA.R | data1<-read.csv('traffic_900.csv');
library(forecast);
train<-data1[1:600,1];
test<-data1[601:900,1];
# off line training
sensor<-ts(train,frequency=15);
fit <- auto.arima(sensor,approximation=FALSE,trace=FALSE);
fcast <- forecast(fit,h=300,level=c(80,95));# typeof(fcast)
res <- data.frame(fcast[[4]],fcast[[5]],fcast... |
d5ccd3aac7300429467f2c24b0686de4165e5dba | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /mcga/inst/testfiles/ByteVectorToDoubles/AFL_ByteVectorToDoubles/ByteVectorToDoubles_valgrind_files/1613105782-test.R | 7762f2a5fb1c9fe18949e648dea9c3f0d616db48 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 95 | r | 1613105782-test.R | testlist <- list(b = -1536L)
result <- do.call(mcga:::ByteVectorToDoubles,testlist)
str(result) |
80eb466aa021978231646b196e6056eee8fcd150 | e1a95dde991308d9c3eef761c7a2650b7f4137b7 | /features/make/experiment/exploreR_0704.R | eef162ccaec198e21186ebc8582715aa1c3a2d79 | [] | no_license | surfingit/talking-data-click-fraud | d8b93286a3c8eea8dba8225fa6de41a593aa9984 | d6babcbd4e056d28665cf282ec0af113d61ce48c | refs/heads/master | 2020-04-18T23:32:20.968686 | 2018-05-20T14:57:35 | 2018-05-20T14:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,672 | r | exploreR_0704.R | #install.packages("fasttime")
rm(list=ls())
gc();gc();gc()
library(data.table)
library(RcppRoll)
library(fasttime)
library(Hmisc)
path = '~/tdata/data/'
#path = '/Users/dhanley2/Documents/tdata/data/'
trndf = fread(paste0(path, 'train.csv'))
tstdf = fread(paste0(path, 'test.csv'))
tstdf[device %in% c()]
trndf[, clic... |
89072a3ebecdd49a344adedcccd0a291e112bdf3 | d5facf2eb1940a5ef24399017845e17ca172ebf3 | /R/get_total_frame.R | 52592430fc12531c0b6440ad4000fa95f0d75a54 | [] | no_license | ailich/mytools | 3970d0254b4bc9b7bb23b2918f99ec7e966ddbbe | 2e8b244974483df793ae000d8a44f8904e44bc9a | refs/heads/master | 2023-01-13T23:41:50.623083 | 2022-12-29T17:56:54 | 2022-12-29T17:56:54 | 117,773,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | get_total_frame.R | #' Calculates Total Frame Number
#'
#' Calculates Total Frame Number by video number and seconds or frame number in
#' @param video_num vector video_numbers
#' @param video_sec vector of seconds in video (alternativelly could use video_frame)
#' @param video_frame vector of frames into video (alternativelly could use v... |
7113eb2e206da173b882c80737b50de151a5581f | cef3216fbd42b078c491f2581f9086aca199621e | /R/plotPeaks_gui.r | f2607a29db5a4446970ce29ad01d58ac1e92e684 | [] | no_license | mokshasoft/strvalidator | b0d171879144b7bedb694406df965b1cf02a739a | 434ef63c3d2c48b0455b58ae7008e07ee3574c47 | refs/heads/master | 2020-04-08T08:03:51.903497 | 2018-09-12T21:39:23 | 2018-09-12T21:39:23 | 159,163,549 | 0 | 0 | null | 2018-11-26T12:08:29 | 2018-11-26T12:08:28 | null | UTF-8 | R | false | false | 18,165 | r | plotPeaks_gui.r | ################################################################################
# TODO LIST
# TODO: ...
################################################################################
# CHANGE LOG (last 20 changes)
# 18.07.2017: Fixed "Warning: Ignoring unknown aesthetics: ymax".
# 13.07.2017: Fixed issue with butto... |
6454ab0fdb74eb353ac1e98a1ccfb1e98516481f | 68016683149f16eedfe6cdcba6a6f65a015f2a46 | /R/comments.R | a7c41eee69b6fa436befad136d173fa691239d79 | [
"MIT"
] | permissive | yonicd/basecamper | b1b1c328ae3ba5a051937ffa4b7287298b0b8f63 | bc707a17f1ef629a381d9dddbd6de9e036cd58cd | refs/heads/master | 2022-11-21T11:26:58.587160 | 2020-07-21T14:45:04 | 2020-07-21T14:45:04 | 265,820,935 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,997 | r | comments.R | #' @importFrom glue glue
#' @importFrom httr GET authenticate stop_for_status headers
#' @rdname get_api
#' @export
create_comment <- function(
scope = c('posts', 'milestones', 'todo_items'),
id = NULL,
host = Sys.getenv('BASECAMP_HOST'),
token = Sys.getenv('BASECAMP_TOKEN')){
if(is.null(id)) stop(glue::glue... |
bf255f01b103640fe0700cf3bf3f98a5e8c6bef7 | 08ac16cc8f66d4417296dffb9c5dee07334cec6d | /Src/LS_Evaluator.R | 84725b6d9e3ce11c3350fff40292b0a8180897d0 | [] | no_license | iffylaw/ThawSlump | 4ece12665f08ab9ca7480eb3f88a05aa3faafc08 | ac27b247242dec7fca7510fa9c965777488f2db8 | refs/heads/master | 2016-09-10T19:26:22.300058 | 2014-03-18T08:28:21 | 2014-03-18T08:28:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 255,801 | r | LS_Evaluator.R | ######################################################################
######################################################################
#### ####
#### ####
#### LANDSLIDE SUSCE... |
33a1cbbbb17929ed828cabcbc512712055a4d3d6 | 678a532bc05214556abb1f993b867b390ed5f7ab | /man/hit_plotter.Rd | 9facf807c70c8aba01cfe63a793afbdeb7a4cba9 | [] | no_license | rdocking/amlpmpsupport | d744aa67c8cb882e8fd022b6d2c1ba402c0210c4 | b1f843ab41b59ca1fc54b044f23cfbfa741f2ae0 | refs/heads/main | 2023-02-07T19:00:58.035482 | 2021-01-02T21:56:53 | 2021-01-02T21:56:53 | 271,644,653 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 730 | rd | hit_plotter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_functions.r
\name{hit_plotter}
\alias{hit_plotter}
\title{Generate a dot-plot of expression of selected genes, facetted by selected feature}
\usage{
hit_plotter(expression_df, feature_label)
}
\arguments{
\item{expression_df}{Data fr... |
8c18721ca9a287a30920c16902d30b004546568a | 6b4a1d51f6c8b7ea51be7a1349062dfe93987fba | /analyzeIPLBowlers/bowlerWicketsAgainstOpposition.R | 63f8032ea4c40e8eee63efa24bb4f891e0bc7e03 | [] | no_license | amolmishra23/IPL_CDA | 7315f2d44c40be07647f86cc70d86ac897f45f1a | 4c8535ce192dcc650226efb205e4c3c67e2570e6 | refs/heads/master | 2020-03-27T01:07:20.186591 | 2018-08-22T09:18:37 | 2018-08-22T09:18:37 | 145,683,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | r | bowlerWicketsAgainstOpposition.R | bowlerWicketsAgainstOpposition <- function(df,name="Bowler"){
meanWickets = numMatches = wickets = opposition = NULL
c <- summarise(group_by(df,opposition),meanWickets=mean(wickets),numMatches=n())
d <- mutate(c,opposition=paste(opposition,"(",numMatches,")",sep=""))
plot.title = paste(name,"- Wickets a... |
b5e3ac8b3ac0650578984c57cd426b5132e88592 | b13615a56f86eb734d513809b19b470bbddce1c7 | /makeDatabase/import_stage/calculate_season_breaks.R | e57fb558eeb0c566d95a07524abe3e305a54cd08 | [] | no_license | Conte-Ecology/westBrookData | 16766a3fbba8f0ca2342d0c2e5c9b72aacd7233e | 7218adfdaf12e35b14030b750e8f50ffa6a81a93 | refs/heads/master | 2022-07-01T05:35:36.779489 | 2022-06-14T18:47:52 | 2022-06-14T18:47:52 | 47,281,574 | 0 | 1 | null | 2022-06-14T18:47:52 | 2015-12-02T18:54:15 | R | UTF-8 | R | false | false | 2,006 | r | calculate_season_breaks.R | sampling <- dbGetQuery(con, "SELECT * FROM data_seasonal_sampling WHERE seasonal IS TRUE;")
#eliminate river specific data for determining seasons:
sampling<-sampling %>%
filter(drainage=="west") %>%
group_by(sample_name,sample_number,order,seasonal) %>%
summarize(start_julian_day=yday(min(start_date)),
... |
f25b8fbd79b5a0d69d327fc3e6184bda5118bccc | 139c32d5a68b74d9b1bab85b6ef81024bfab48d3 | /man/cnvEQTL.Rd | c951d7b170a1a3b08a8357eb870232bc15398566 | [] | no_license | marromesc/CNVRanger | 757c45c119cad5b1295488fa537b4cc1c95e5070 | 370085a3aad3a66acb1f46248e5588347f12dd64 | refs/heads/master | 2023-05-27T05:36:41.705717 | 2021-05-09T22:03:15 | 2021-05-09T22:03:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,487 | rd | cnvEQTL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expr_assoc.R
\name{cnvEQTL}
\alias{cnvEQTL}
\title{CNV-expression association analysis}
\usage{
cnvEQTL(
cnvrs,
calls,
rcounts,
data,
window = "1Mbp",
multi.calls = .largest,
min.samples = 10,
de.method = c("edgeR", "limma"),
... |
3c9943b052465f8d4daffb334a41f5156f661b1e | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Kronegger-Pfandler-Pichler/bomb/p5-1.pddl_planlen=13/p5-1.pddl_planlen=13.R | 56b9d02bd5f814860f03956d010c4545bfc7a847 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 69 | r | p5-1.pddl_planlen=13.R | 70b185c3c2722727ffc17c28ff41d241 p5-1.pddl_planlen=13.qdimacs 414 964 |
07c6d41d67652b07072b3e82147eeb6ceb91820e | fd2ccde676cc84644d4e3fd340dfde832d13d94a | /selective_sweep/pi.R | 05f855b02b372d847b701a77fb8b04123f6bbb6c | [] | no_license | wangchengww/pack-TIR | e601789bcde68708753ee1e4a1781422872e5eb6 | 5529e0793d0ed7bfe190f26b74f3301bf669d986 | refs/heads/master | 2023-05-27T06:18:30.491206 | 2020-09-23T12:23:15 | 2020-09-23T12:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 280 | r | pi.R | library(ggplot2)
PIX50000<-read.table("X-50000.pi")
names(PIX50000)<-c("pos","pi","group")
PX50K<-ggplot(PIX50000,aes(pos,pi,group=group,colour=group))+geom_point()+geom_line()+geom_vline(xintercept=2639224,colour="lightblue")+labs(x="POS(X:2639224)",title="X:2639224-50K") |
a68bf8bf6e4e308f2ea46895b93da2e5e738d4c3 | 71db4a78c8a989b58a0d839a77d58d1774dbec5f | /Code/R/apply1.R | 54c1a6a39bf4bca2d9efe0b339c39b147a269a32 | [] | no_license | saulmoore1/MSc_CMEE | 906a7bdf09528c39c0daf6e37f2d722b8ad7bd3d | 5bfd0a5f696c59a092aa9df5536169d905d7ab69 | refs/heads/master | 2022-04-30T20:14:59.660442 | 2022-03-30T11:28:15 | 2022-03-30T11:28:15 | 158,312,708 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 807 | r | apply1.R | #!/usr/bin/env R
# rm(list=ls())
# setwd("~/Documents/cmeecoursework/Week3/Code")
# A simple script to demonstrate the 'apply' function in R to calculate mean and variance of rows/columns in a matrix
# There are a family of functions called '*apply', that vectorise your code for you
# Use 'apply' when you want to ap... |
8da6a505ca1fd9f5884e3b00777949bed0942533 | e210b15fba8f7f29765c0c2fb0e36ab0916cc6fd | /server.R | 69fe33f987d1b1d5b0df440572abf00423b81307 | [] | no_license | tpgjs66/Albatross4Viewer | 65d7a3b91e0b5d90f0d8cafbd9473d48e8391bba | c59d7646e46ae45d76a7c25b512639c784deb218 | refs/heads/master | 2020-03-19T07:58:34.317630 | 2019-02-25T17:08:28 | 2019-02-25T17:08:28 | 136,165,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 80,660 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
server <- function(input, output, session){
## Maximum file input size: 500 MB
options(shiny.maxRequestSize = 500*1024^2)
## Load household data
myhh <-... |
5dd3f093b1309fc766b26bd85024ab1db79d8e31 | 3e33606d2fb598cfbfa4ab777b587b2aa20c3897 | /code/AFNI/matrix_corrs.R | 007d584676ec4131f70de25dbfb25792c1c5be87 | [] | no_license | TIGRLab/compare_task_tools | 2b2be0bcf7f71a86d723dac441f81eeda11b630a | b301694c17caed080c8d49c27ac82d1e3db0f655 | refs/heads/master | 2022-11-27T13:31:01.407039 | 2020-08-11T16:06:18 | 2020-08-11T16:06:18 | 263,997,287 | 0 | 1 | null | 2020-05-29T20:09:20 | 2020-05-14T18:43:28 | null | UTF-8 | R | false | false | 5,538 | r | matrix_corrs.R |
library(lineup)
library(ggplot2)
library(reshape2)
# set working dir
setwd("/projects/loliver/SPINS_GLM_Test")
#glob2rx("sub*spm_mat.csv")
# find spm and afni design matrices for each participant
spm_mat_list <- list.files(path= ".", recursive=T, pattern="^sub.*spm_mat\\.csv$")
afni_mat_list <- list.files(path= "./... |
796bdb4d56234fc0d77daa571cb81371515d56c6 | cd3bad7fb562ad5f0333728c261d23ed0661e8bf | /modelo_transporte/04.2_add-pop-to-hex.R | 8d1be109598a65ed2b62ce1217cc548dcefe7caf | [] | no_license | Joaobazzo/Master-thesis-scripts | 6bfeff05d6567ad5a11a6f8047229943d7b61aea | effe21e025993844209bf4af3cbdb7eeadbe34b1 | refs/heads/master | 2021-01-02T12:57:01.458385 | 2020-04-01T21:55:54 | 2020-04-01T21:55:54 | 196,636,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,729 | r | 04.2_add-pop-to-hex.R | #
# grade estatistica e hexagonos
#
#
# ---
rm(list=ls())
library(sf)
library(sp)
library(dplyr)
library(data.table)
library(geobr)
library(mapview)
library(readr)
setwd("L:/# DIRUR #/ASMEQ/bosistas/joaobazzo/master-thesis-repo1")
#
rmc <- c("full09","full08")
#
# grade
grade <- sf::read_sf("dados/IBG... |
da1109971d12931614a32788fa413d8d24515d70 | 068edb35f376dc3eb572b0763d62b800dfe172a9 | /three_ANA_sites/add_censored_status.R | a6a9aa4c2046d5885c27877304cc5875617f59e1 | [] | no_license | wdwatkins/loadflexBatch | 8888cb0ba8d4852640d274a8ce651898175a57a7 | 9e9093b2d0ac2f0510685328fd6db771f9831b6e | refs/heads/master | 2021-01-11T23:14:01.846607 | 2017-02-14T20:45:07 | 2017-02-14T20:45:07 | 78,558,430 | 0 | 2 | null | 2017-01-23T20:52:45 | 2017-01-10T17:47:59 | R | UTF-8 | R | false | false | 419 | r | add_censored_status.R | #add censored status column to wq inputs
#need wd set where this script is
lf <- list.files(c('PT', "NO3"), full.names = TRUE)
library(dplyr)
for(file in lf) {
df <- read.csv(file, stringsAsFactors = FALSE)
df <- mutate(df, status = rep(1, nrow(df)))
#randomly make some 0 or 2
df$status[sample(1:nrow(df)... |
2c7ecc56a7660987512ad2733fcc4bf8992b7a20 | 19972d587adb296a49a32da61cc42ad2dfd81bb4 | /R codes/Scatterplots_cBAAD+SS Media.R | 3e1b16a098ef42f94eb889bbcb37ebe4892b4a05 | [
"MIT"
] | permissive | bmomeni/nasal-community-modeling | 07997152bc80c70f057b0245bd115a2fecce4455 | b32732b4d6c2556ffc1cbafa9521c7090b91dc53 | refs/heads/main | 2023-04-06T08:39:12.408534 | 2023-03-27T21:25:34 | 2023-03-27T21:25:34 | 341,382,468 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,308 | r | Scatterplots_cBAAD+SS Media.R | #Last run 04/10/2020
#Clear Workspace
rm(list=ls())
#################################################
#Create scatterplots for GR-CC relationships
#################################################
####################################################################################################
#C. tub... |
13ee82275432590b01401dbf335686396cf04755 | 90f7665f8bba521f609dad44ab45566989693928 | /2019-10-23-mouse_c1_downstream/step5-linage-diff-and-annotation/step5.4-cluster-genes-annotate.R | f652a8b8d219bb3c939652829594afa98c955559 | [] | no_license | daisyyr/scRNA-codes | c8ec75e41da80a4f460fc49086e8bb4fd2bb9d82 | d7a2e1249927c460366c873211e8b847ab7b9c22 | refs/heads/master | 2022-04-07T07:45:32.670931 | 2020-02-03T14:06:32 | 2020-02-03T14:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | step5.4-cluster-genes-annotate.R | ### ---------------
### Creator: Yunze Liu (Reed Liu)
### Date: 2019-11-10
### Email: jieandze1314@gmail.com
### Title: Smartseq2-C1-小鼠性腺发育-聚类后的基因进一步注释
### ---------------
rm(list=ls())
options(stringsAsFactors = F)
library(clusterProfiler)
#############################
# 作者重新进行整合分组(17组变7组)
###########################... |
0bbdadb21d10740e5808710992b594b064b9f53d | 1fca6aad81042030067e7d0b3d29f45d6e68ebb5 | /HLEDecomp/Code/R/USAvsOther.R | f2d2de9e7bc31ff9c19c402e79ff10895a17f7a7 | [] | no_license | timriffe/HLEDecomp | ec07115d10b2cf4ddf88cdbcd18635f02f646f65 | 0b9525c1d579577f76e231a1ca6c13745d4f74e6 | refs/heads/master | 2022-09-08T04:36:16.777568 | 2022-08-27T08:36:07 | 2022-08-27T08:36:07 | 118,452,402 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,537 | r | USAvsOther.R |
# Author: tim
###############################################################################
library(HMDHFDplus)
CNTRS <- getHMDcountries()
CNTRIES_USE <- c("AUS", "AUT", "BEL", "CAN", "CHE",
"DEUTNP", "DNK", "ESP", "FIN",
"FRATNP","GRC", "IRL", "ISL", "ISR", "ITA",
"JPN", "KOR", "LUX", "NLD", "NOR", ... |
8e68f9001560b7a04dbdf47e8088eab48349938a | b16a5d56c2281543636ddc2b3cd15a61a94de7b0 | /genesets/corum.r | 8090909bbe4b21b4cd21a2e96e21a90d72951c00 | [
"Apache-2.0"
] | permissive | mschubert/ebits | b18bccde6198cb938c04be3704e9fdcff8e5be7d | e65b3941b44174e7267ee142387ffacafca11e53 | refs/heads/master | 2023-07-23T09:09:47.175229 | 2023-07-07T09:36:15 | 2023-07-07T09:36:15 | 18,678,011 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 841 | r | corum.r | import_package("dplyr", attach=TRUE)
.url = "http://mips.helmholtz-muenchen.de/corum/download"
.get_cached = function(fid) {
fname = sprintf("%s.txt.zip", fid)
dest = file.path(module_file("data"), fname)
if (!file.exists(dest))
download.file(sprintf("%s/%s", .url, fname), destfile=dest)
readr:... |
09b074d22b5b7098a009989760be4828a79cc40e | 97d0b8880dfdf59d691708ca4a9f45defa38538f | /SCRIPTS/09_Res2_Donation_Regs.R | eb11e4f01bf6d11f51bd0f240d9b6d194a92b2b9 | [] | no_license | JShuman20/Econ-Thesis | 59e2ab96746850b69ba5616482c76e2624c6f004 | 2bd0d4eaeed2958e2483c682ce32823daad7c8cf | refs/heads/master | 2023-03-01T19:18:03.078057 | 2021-02-14T14:11:10 | 2021-02-14T14:11:10 | 253,827,214 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,563 | r | 09_Res2_Donation_Regs.R | #-----------------------------------------------------------------------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------------------------------------------------------------------------#
#This Script Produces Regres... |
771ea2ba4b226ea2340c5c27f1f1f3b6037804dd | 5bebc5568f733312fc50605b7f4d287bfa249bfc | /R/afni_3drefit.R | b3ea8056567eb0f1c5e78076321117c8840c91bd | [] | no_license | neuroconductor/afnir | b583015d424a982939512b8f80080969eb2a9acf | 7f917abf9fe015104f013d711b81830332b9a283 | refs/heads/master | 2021-07-09T05:05:18.436785 | 2021-05-16T23:03:42 | 2021-05-16T23:03:43 | 93,069,314 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | r | afni_3drefit.R | #' @title AFNI 3drefit function
#' @description Wrapper for AFNI \code{3drefit} function
#'
#' @param file nifti object or NIfTI filename to change the header
#' @param opts Additional options passed to \code{3drefit}
#' @param ... not currently used
#'
#' @return Output filename of the image
#' @importFrom neurobase p... |
3a2114a635f64e85216d726668631c7ecfdbd646 | 9737af8e9a42072fce6d77d921655451b774f485 | /Project.R | 8e38869c5e67a28ee8a7a8a29a1ce2bbcd8575e1 | [] | no_license | Pulkit2810/RR1 | 83ce4b7b5425a354a8bf6fd4c89cf58f5ebffea7 | 2514205387b3e810e09a30e4d673ce60a4b6abb7 | refs/heads/master | 2022-10-23T04:21:42.886209 | 2020-06-13T08:46:39 | 2020-06-13T08:46:39 | 271,574,715 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,851 | r | Project.R | steps_by_day <- aggregate(steps ~ date, data, sum)
hist(steps_by_day$steps, main = paste("Total Steps Each Day"), col="green",xlab="Number of Steps")
rmean <- mean(steps_by_day$steps)
rmean
rmedian <- median(steps_by_day$steps)
rmedian
steps_by_interval <- aggregate(steps ~ interval, data, mean)
plot(steps_by_interv... |
bc8a2ca97824f7c2387e40854d6f22a1eecfc5a7 | 757c9a3ad35814d5db3dec3ece0f76e5ec372daa | /Analise.R | 77841c9c9429fd3cee341ae3710b914fd8c6e5ce | [] | no_license | LucasTerciotti/AnaliseExploratoria | c1ca9661ad3809ece1bc767c9cca8195ea0a558d | f5b783459321410b91eabc5356d185680855726f | refs/heads/master | 2020-03-20T03:08:42.965137 | 2018-06-29T15:00:50 | 2018-06-29T15:00:50 | 137,136,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,499 | r | Analise.R | #PREPARAÇÃO DOS DADOS - Feita posteriormente
titanic <- read.csv(("https://raw.githubusercontent.com/Efsilvaa/EPSMLRepo/master/Data/titanic.csv"),
stringsAsFactors=FALSE,
na.strings = c(""))
library(tidyverse)
library(ggplot2)
str(titanic)
titanic$Embarked <- as.factor(titanic$... |
8a859a9dcbeb45927a374dd05ad756805fcab496 | 771d9236b852638924858f6f38bbadb496e10426 | /R/RetrieveSaccades.R | 600bdbf99eae44502862126f623aaeecfdbf0e6e | [] | no_license | sascha2schroeder/popEye | e8c8de1de72d0c5f937c2710b8b03e9834ea7435 | ef6cfca89e71f324cbb7970061cdf23ece7b63b4 | refs/heads/master | 2023-05-24T14:11:35.312441 | 2022-09-08T10:17:15 | 2022-09-08T10:17:15 | 173,056,807 | 17 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,901 | r | RetrieveSaccades.R |
RetrieveSaccades <- function(dat, trial, env = parent.frame(n = 2)) {
# trial = 1
# setup output
dat$item[[trial]]$sac <-
data.frame(matrix(NA, (nrow(dat$item[[trial]]$fix) - 1), 12))
colnames(dat$item[[trial]]$sac) <-
c("num", "start", "stop", "xs", "ys", "xe", "ye", "msg", "lines", "linee",
... |
304566c8ef20b81b42505e4270a4936a0193fcf6 | 5416264e9a51f3f5e45940ae63e18594ada711e5 | /statCognition/R/value.R | b3822e4fe6db8b79475120831089f31a29feea50 | [
"MIT"
] | permissive | linnykos/statCognition | 452d31fe96a62875a24395483de443d6f0b5ab95 | f3f2867b0e50f6a2a0194c14d9d8404833d267c4 | refs/heads/master | 2021-06-16T18:38:26.955235 | 2017-05-14T17:58:02 | 2017-05-14T17:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,785 | r | value.R | #' Value function
#'
#' \code{surface} is a list that contains \code{hash} and \code{block_list}.
#' \code{hash} is a hash table with keys for example "1-5" (if there are two
#' state elements, meaning the currently evaluated region lies in the first block
#' of state element 1 and the fifth block of state element 5) a... |
af0506d199c468c1377b318205d6c458300febe1 | 91fc1f1d7404c7023c9e164f40cac9cad9b38e59 | /man/BalancedSample.Rd | d55167654a9bb083fe28ffef01c098f820d53451 | [
"MIT"
] | permissive | msenosain/denoisingCTF | 4ce6dd29e950b7d0c733acb31b7b6f7c443033a6 | 97701a018a2e20dea43aff296f1667b7b2ed1195 | refs/heads/master | 2021-07-04T15:20:05.898871 | 2021-01-27T22:33:10 | 2021-01-27T22:33:10 | 221,529,482 | 1 | 0 | MIT | 2019-11-18T15:13:59 | 2019-11-13T18:51:27 | R | UTF-8 | R | false | true | 739 | rd | BalancedSample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_building.R
\name{BalancedSample}
\alias{BalancedSample}
\title{Obtain a class-balanced sample}
\usage{
BalancedSample(df, sample_size = 5000, class_col = class_col)
}
\arguments{
\item{df}{An object of class \code{data.frame}.}
\item{s... |
423f4dab9aa5e85aa7f93981cc9530a1cc31dd68 | 98550ab8b21f1d86f5954886911fc01498ef7699 | /R/packageCountry.R | 3ec0bf779e8764506dd9c6d5ae932ba2a1cd43f7 | [] | no_license | lindbrook/packageRank | a68ee94e0ed3621e7f10239f1eb2d12dbb7c6530 | a83ebfaa05f6ee82b7e5ae76cf0b8a4c296b4dfb | refs/heads/master | 2023-08-04T21:18:01.261280 | 2023-08-01T22:00:29 | 2023-08-01T22:00:29 | 184,319,415 | 27 | 1 | null | 2023-08-01T22:00:20 | 2019-04-30T19:25:45 | R | UTF-8 | R | false | false | 2,354 | r | packageCountry.R | #' Package download counts by country.
#'
#' From RStudio's CRAN Mirror http://cran-logs.rstudio.com/
#' @param packages Character. Vector of package name(s).
#' @param date Character. Date. "yyyy-mm-dd". NULL uses latest available log.
#' @param all.filters Logical. Master switch for filters.
#' @param ip.filter Logic... |
6ab8c0afd99624b5a6584924c620cbcadfe8bff8 | 5be5233c70855f78773e177f9a2ff5795aafb8c5 | /cbsots/tests/testthat/test_get_ts_84328NED.R | 65c9888b7fa476150eeaf5d7f13e5a61e9767068 | [] | no_license | timemod/cbsots | 5057c3d38754aae175776d857f9c4916a9e5af73 | 3523b0eaa87eeee6425d80cbceb9668ca76c3ce1 | refs/heads/master | 2023-06-22T22:35:10.602907 | 2023-06-12T08:06:00 | 2023-06-12T08:06:00 | 121,116,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,604 | r | test_get_ts_84328NED.R | library(cbsots)
library(testthat)
rm(list = ls())
id <- "84328NED"
update_expected <- FALSE
dum <- Sys.setlocale("LC_COLLATE", "C")
# Use UTF-8 encoding, because the Titles contains diacritical characters
# and the data files have been created with UTF-8 encoding.
options(encoding = "UTF-8")
ts_code <- readRDS(... |
20ed8c0541d07ce4510d15b287d5b17a7759eeda | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /wordspace/man/normalize_rows.Rd | a62ae84e037809ce6dec509b0f11f5fb1f3ba8ca | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,319 | rd | normalize_rows.Rd | \name{normalize.rows}
\alias{normalize.rows}
\alias{normalize.cols}
\title{
Normalize Rows or Columns of Matrix to Unit Length (wordspace)
}
\description{
Efficiently normalize the row or column vectors of a dense or sparse matrix to unit length.
}
\usage{
normalize.rows(M, method = "euclidean", p = 2, \dots,
... |
9719ddb99b68f8e0f7a6fecedc59f07fec3db791 | cc6d892933070283e4ad343194fe80eed5396fe2 | /inst/tests/test-parameters.R | 777ced323f0eccf9e4d5b07e3c9964a956be9b21 | [] | no_license | opetchey/Revolve | 0fbfc3b90e8b53c1baaa4100555ba1b2dbf3e67b | ccf77ae16c4d9b08ed6fe5d9a260607ddfd4906c | refs/heads/master | 2021-05-27T15:42:19.423593 | 2014-08-04T00:53:16 | 2014-08-04T00:53:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,822 | r | test-parameters.R | source("helper-Revolve.R")
context("Parameter helper")
test_that("Corner cases fail", {
# Missing names
expect_that(make_parameters(list(1)), throws_error())
# Blank names
tmp <- list(1)
names(tmp) <- ""
expect_that(make_parameters(tmp), throws_error())
# Duplicated names
expect_that(make_parameters(l... |
499acf842099304b8b051f94eb860395bd84dcca | 288362daf4b36524a633148eae10e6857da2ec4f | /analysis_summary_plots.R | 56f41ef21831a98ec958578119da3017ad61277b | [] | no_license | mcdermottd/lfs_capstone | 11a7510dba8fc3c04ee3efa3a449b6b213053fc2 | 5b1446182bed250867c870b9c01b4f11faf0d5a6 | refs/heads/master | 2021-06-10T13:28:47.618149 | 2021-03-22T03:37:16 | 2021-03-22T03:37:16 | 53,220,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,169 | r | analysis_summary_plots.R | ######################################################################
# notes:
# - purpose: create summary plots of OHC characteristics
# - inputs: formatted analysis set
# - outputs: plots summarizing OHC characteristics
# - keywords: #brule
# - general:
###############################################################... |
a9d4b3991b910e3c99f1e9ad1bbf68fcbd271c07 | a7ff4aeaed4f82a2d777a806f46c97aee85904c8 | /man/dtCutoff.Rd | 2e595444abdbf66df35e36ea6237048f1fb82f8d | [
"MIT"
] | permissive | shwetagopaul92/NSForestR | 89015d2385a7dadc064516e3a24e806b96693928 | 34726e122264336bc358d6ff86e7d492a5f8c50f | refs/heads/master | 2020-04-19T19:22:42.745296 | 2019-04-16T16:01:01 | 2019-04-16T16:01:01 | 168,386,581 | 0 | 0 | null | 2019-02-07T20:46:04 | 2019-01-30T17:41:08 | Python | UTF-8 | R | false | true | 534 | rd | dtCutoff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NSForestR.R
\name{dtCutoff}
\alias{dtCutoff}
\title{to get expression cutoffs for f-beta testing}
\usage{
dtCutoff(binaryDF, clusterCol, dataDummy, dataFull)
}
\arguments{
\item{binaryDF}{data.frame}
\item{clusterCol}{numeric(1) cluster colu... |
691ba10868d682cc852e3a9090b603580bc92fb6 | 90bc0268ab54edfeb1eb2231e3d40c074b1fc784 | /man-roxygen/offline.R | 454b3d96c4812fedaae9627e740f71deea573ec6 | [] | no_license | jackwasey/jwutil | e920952f8f42ef609c6019f7107c4256836fb4a9 | d149051dc750a56412c8c7d7d07c1d3619d4f4b2 | refs/heads/master | 2021-01-17T09:26:51.710521 | 2020-01-18T19:58:17 | 2020-01-18T19:58:17 | 24,302,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 226 | r | offline.R | #' @param offline single logical, if \code{TRUE} then don't pull the file from
#' internet, only return path and file name if the file already exists in
#' data-raw. This is helpful for testing without using the internet.
|
900fa912076367542ad62b84212deb0a03f7387f | 3075543281d3798c5bf91f9539b40798ad758bea | /measurement/measureROC.R | 7f2664c32a65a03fde7df1596e1f8d6bea7567df | [] | no_license | m10223045/R | 9c3888d10f7bcd4c4c39ddbf76974a009dc22bb8 | bcef60900cf8d56dbbdae12d4c1b65d86de0022a | refs/heads/master | 2021-01-13T16:06:51.894391 | 2017-03-17T02:50:36 | 2017-03-17T02:50:36 | 81,721,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,473 | r | measureROC.R | measureROC <- function(actual, fitted, digits = 2){
t <- table(Actual=actual, Fitted = fitted)
# t <- table(Actual=testLabel, Fitted=pID3)
tFrame <- data.frame(t)
TP <- NULL
FP <- NULL
FN <- NULL
TN <- NULL
for(i in 1:length(tFrame[,1])){
if(tFrame$Actual[i] == -1 && tFrame$Fitted[i] == -1) TP... |
4aa98a5c3d1a4cde7a050944c0d0062081c3b274 | 8ed170e060bc2cbca171371344bc804055f940f3 | /day-14-simulate-tadpoles.R | 0d112c7dec4286b635552755d59304377494d648 | [
"MIT"
] | permissive | colt-jensen/maymester-bayes-2021 | d67cc6add1400652b25bd2f1e42a69688353738a | 693d03ab8c403494da39d687c27695f1dee385d9 | refs/heads/main | 2023-05-13T09:01:21.493735 | 2021-06-09T15:56:31 | 2021-06-09T15:56:31 | 370,819,540 | 0 | 0 | MIT | 2021-05-25T20:26:27 | 2021-05-25T20:26:26 | null | UTF-8 | R | false | false | 1,854 | r | day-14-simulate-tadpoles.R | ## Simulate tadpole mortality
library(tidyverse)
library(rethinking)
# hyperparameters
a_bar <- 1.5
sigma <- 1.5
nponds <- 60
Ni <- rep(20, nponds)
# simulate probability of survival in each pond
set.seed(42)
a_pond <- rnorm(nponds, a_bar, sigma)
# create a dataframe to hold our information
dsim <- data.frame(
po... |
de1da4bc9b67628fb6e21ff6f34f61305a569ff0 | 5fcc3f8421fa41dbb443204d206961ab18b1d45e | /man/sfn.Rd | c3dbb4cf48a8327057d0492949107bd94a2cc93b | [
"MIT"
] | permissive | fengweijp/RCyjs | 192f369e1024661686bc10b19578587824660f1c | 0f22b40382b63f4882d7204b54b650bbfbb59333 | refs/heads/master | 2021-10-26T16:10:46.523267 | 2019-04-13T18:38:52 | 2019-04-13T18:38:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 580 | rd | sfn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCyjs-class.R
\docType{methods}
\name{sfn,RCyjs-method}
\alias{sfn,RCyjs-method}
\alias{sfn}
\title{sfn}
\usage{
\S4method{sfn}{RCyjs}(obj)
}
\arguments{
\item{obj}{an RCyjs instance}
}
\value{
no return value
}
\description{
\code{sfn} selec... |
0358a98274f1b6a371a6c3084651c623caf6cdb8 | ea9001912ab3dbb04ebce13c4d4652e9a9101456 | /depo,with.R | d3a0fe88384847f6844be462780fa95731571960 | [] | no_license | kiki3700/investmentJounal | feb30f13ac07a7eb1b0dbfce369faf0442d565e4 | 7274a57d3d002fb18ab52fbcb86ec4715327c47d | refs/heads/main | 2023-04-29T00:34:17.765243 | 2021-05-18T02:21:59 | 2021-05-18T02:21:59 | 368,376,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | depo,with.R | #deposit
deposit<-function(price,date){
arrow_1_cash_balance<-read.csv('data/arrow_1/arrow_1_cash_balance.csv',row.names=1)
arrow_1_cash<-read.csv('data/arrow_1/arrow_1_cash.csv',row.names = 1)
#cash
arrow_1_cash<-rbind(arrow_1_cash,data.frame(date=date,distribution=price,balance=last(arrow_1_cash$balance)... |
f33770705ec3b2c299a97fb97fe38cb674e25b64 | 78f689caac190116528392d483416eb95d6fd5de | /GCSAdiagram.R | 4d42e7c75cdae9a47d0d7e00e15af75f7af3fb15 | [] | no_license | oscci/Genetic_analysis_SCT_twin | c096d231c4dbbd0fdd0f0ca7552c0d5cd98dd417 | 1c63e787394b4b547f6bdb410b3251ece17dfaa8 | refs/heads/master | 2021-06-06T09:14:13.653846 | 2021-05-19T08:29:58 | 2021-05-19T08:29:58 | 105,423,199 | 0 | 0 | null | 2018-06-13T14:47:26 | 2017-10-01T06:15:20 | R | UTF-8 | R | false | false | 2,032 | r | GCSAdiagram.R | library(DiagrammeR)
library(DiagrammeRsvg)
#x and y coords for SNP rectangles are hand-crafted by trial and error
#quartz()
grViz("
digraph SEM {
graph [layout = neato,
overlap = true,
outputorder = edgesfirst]
node [shape = rectangle,
fontname = Helvetica]
... |
8a2d6de5cd923954a1dcc9b4129599203f734ca0 | abfddfa8a9be36d19426cf16586381ef16a50d00 | /plot2.R | 835bf152bdf5fdb73949d1fe5ce239644336639e | [] | no_license | aru20/Household-Power-Consumption-Data-Plotting | ff3024aff5ad2d781a2480be3c84ce898c14eb00 | 0d1904a2c789ca0277238f7fc9e9af88f84d5f9b | refs/heads/master | 2023-07-21T08:26:21.625268 | 2021-09-01T22:56:29 | 2021-09-01T22:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | plot2.R | # R code for plot2
# If the data file does not exist in the working directory then download the file and unzip
# else read the data file
if(! file.exists("household_power_consumption.txt")){
####download the Zip file and Unzip the zip file
###household_power_consumption.txt is the file name
zip.url <- "https://d396qusz... |
e0bdf7481e0cf90a0d8e1ba97463405f8a3235b7 | e7d5e723eaae21a724740e320120f9daed267d96 | /src/figures/figure-regression.R | 5fbdde99c429193b61bf129e67542299a80d9e0f | [
"BSD-3-Clause"
] | permissive | dylanhmorris/sars-cov-2-temp-humidity | b811d67bc793b42df8481538901689be26df64b0 | d80dd0132be738753f1a77c99ce280219dc5afba | refs/heads/main | 2021-05-27T05:40:21.491503 | 2021-04-27T18:23:19 | 2021-04-27T18:23:19 | 304,516,612 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,177 | r | figure-regression.R | #!/usr/bin/env Rscript
########################################
## filename: figure-regression.R
## author: Dylan Morris <dhmorris@princeton.edu>
## plot main regression figure for environmental
## conditions analysis
#######################################
suppressPackageStartupMessages(library(virusenv))
suppressPa... |
01a86512b35526b9d0037fe2c965ebccad36a100 | 007dfb4f91d2e788a06dee41b33678f36ce85642 | /man/encrypt_token.Rd | ba33e2b2368cf7a37ef2084a6c21318367e2cab4 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | jdtrat/tokencodr | df8d3e36f575df8add2e081f651708beaa4887fa | 8ee27f88ad18498e5e80d20d31945eadd289606d | refs/heads/master | 2023-07-12T08:35:46.609323 | 2021-08-16T16:14:43 | 2021-08-16T16:14:43 | 396,803,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 893 | rd | encrypt_token.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/func_encrypt.R
\name{encrypt_token}
\alias{encrypt_token}
\title{Encrypt a token file}
\usage{
encrypt_token(service, input, destination)
}
\arguments{
\item{service}{Identifier of the service whose token will be encrypted.}
\item{input}{The... |
b6ce7a8795d58eec8cc6ac483423e2d120026e59 | 541a192813be04a1793959edd57dc7abb7834e22 | /R_code/main_empirical_CVaR_optimization.R | b53a5293d456cab41a92761670eb5cfeb863e9de | [] | no_license | jumping2000/MasterThesis | 03b2abc057fbfde4914c26dd03643b3424d5268f | f0b5dc44ae7e9e87380497d0d03bdfbf86f0e693 | refs/heads/master | 2021-10-26T16:00:09.891289 | 2019-04-13T16:56:07 | 2019-04-13T16:56:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,350 | r | main_empirical_CVaR_optimization.R | # empirical VaR portfolio optimization
source("MarkowitzMeanVariancePortfolio.R")
source("PortfolioVaROptimization.R")
load("returns.Rda")
load("data.Rda")
N_samples=dim(my_returns)[1]
N_assets = dim(my_returns)[2]/2 -1 # -1 to exclude vix
asset_names = colnames(my_returns[,2*(1:N_assets)])
percentage_returns = e... |
f419f04087ef1feb3cc9cc70fa348003808a9d10 | f5d94a4296966d7bc6e3194ebdf5ba76cf51cd2a | /euroformix_2.2.1/man/plotMPS2.Rd | 7511987bb510268531198a5536fbc4decd3f12e9 | [] | no_license | oyvble/euroformixArchive | 170c1b4d6fe11c0ccb3ce28e6691579fe57a650b | 2250b118ccfdb110079a008ac481e4afe615514d | refs/heads/master | 2021-01-03T12:20:14.421081 | 2020-02-12T18:34:11 | 2020-02-12T18:34:11 | 240,082,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,402 | rd | plotMPS2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotMPS2.R
\name{plotMPS2}
\alias{plotMPS2}
\title{plotMPS2}
\usage{
plotMPS2(mixData, refData = NULL, AT = NULL, ST = NULL,
grpsymbol = "_", locYmax = TRUE, options = NULL)
}
\arguments{
\item{mixData}{List of mixData[[ss]][[loc]] =list(ad... |
13cfcf703378b8925dd5ba43da0593b42d1f9096 | d2922aa04644cb228c0a33488fc8a6f7c4783050 | /R/CohortPercent2.R | caa9b0f126fa44f59904bc5020732ea501dcb118 | [] | no_license | caiostat/churnFunc | 76277eb02b75e96732cfa16135fe74709c59fd02 | 0eb3c100b2c027d1d353afef2df46c6a5820dee1 | refs/heads/master | 2020-03-22T05:54:03.704590 | 2018-08-01T14:49:17 | 2018-08-01T14:49:17 | 139,586,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 647 | r | CohortPercent2.R | CohortPercent2 <- function(df, c, var, cols, cols2){
x <- df %>%
mutate(MesCriacao = as.yearmon(DataCriacao)) %>%
group_by(!!!as_quosure(cols)) %>% dplyr::summarise(ChurnAlvo=n()) %>%
group_by(!!!as_quosure(cols2)) %>% mutate(Total = sum(ChurnAlvo),Percentual = round((ChurnAlvo/Total)*100,1))
ggplot(x,... |
a07f1c0f268b205ae0a7a286b36c1e49e6ba3b0c | 9982f88bf5d3c04f08107842511c1a29e1af89ba | /transform-your-r-code-into-api-with-plumber/adspool/R/add_ad.R | 44959bd70ff2f319405f7be09a288ec22b546156 | [] | no_license | riccardoporreca/MiraiLabs | f3c1ec8ab3545eb93467ac715026b259172ff872 | 0001ff70a5a9a00b9c4469779f6a038d1cb8f93b | refs/heads/master | 2023-01-01T15:51:59.888218 | 2020-10-14T08:55:15 | 2020-10-14T08:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,098 | r | add_ad.R | #' add_ad
#' @description
#' Add a new advertisement to the dataframe of advertisements.
#' The function assumes the existence of a file "ads_file":
#' - a dataframe ads, with minimal structure "ads" "subcats" "cats" "customer";
#'
#' @param newad new advertisement. Character string of name of new advertisement.
#' @p... |
12937528ed8d07e0ae395d738adcc470eb164a7c | 6d35b4de6b69532cb5b6908ca8b6aa69110c91d2 | /deploy/app.R | 1981e00113f1ea2910556ad15209328e38e12c45 | [] | no_license | templardrake/covid_shiny | 1dd07aa2f18c801ee7456839ba42d98d3bfc2392 | 15c61f6d3aaa3bde8f7ad7620121544d1baf8663 | refs/heads/master | 2022-04-15T03:55:21.741061 | 2020-04-11T21:57:00 | 2020-04-11T21:57:00 | 254,930,077 | 0 | 0 | null | 2020-04-11T18:29:09 | 2020-04-11T18:29:08 | null | UTF-8 | R | false | false | 5,774 | r | app.R | library(shiny)
library(shinyWidgets)
library(plotly)
library(shinydashboard)
# get population density-normalized cumulative COVID deaths data
source("data.R")
df_orig <- getData()
# function to turn a string term into a formula
tilde <- function(term) as.formula(paste0("~`", term, "`"))
# function to add a trace to ... |
5d980d54e9eef81f22dcda7b1653f4a00172bd42 | 2912ad9b06522abedad98f7cbd81cf8b0bae929a | /man/matrixGenerator.Rd | ba097762e5a63ec6b5bbcd609ddaf91e4cc0e050 | [] | no_license | ricardobatistad/sbm_theory | 185e98794f1f3b1e9d8b1b4351fd7151ee535532 | edce31f2f86d12b1dda21ee3e9a4259f3896c317 | refs/heads/master | 2020-04-09T01:59:48.776549 | 2018-12-01T08:50:16 | 2018-12-01T08:50:16 | 159,925,169 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 390 | rd | matrixGenerator.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graph_generator.R
\name{matrixGenerator}
\alias{matrixGenerator}
\title{Generate M matrix (see Lelarge)}
\usage{
matrixGenerator(params)
}
\arguments{
\item{params}{Full set of parameters}
}
\value{
Matrix M
}
\description{
Notice that some e... |
95eb311a9ea232bfc2cfaad51840743e38f8680a | 1bca04b4897d868ca0dccf168e6b90ed98455eb9 | /man/CESdata.Rd | 29a6f9948e1284c6bd145f23207a4f679b8b22b9 | [] | no_license | cran/nlWaldTest | c0c5edcb211bcb0cb13dc65d33a85d838ce96392 | b96104f4557400abd5fb3fd475a9f3c923609ef0 | refs/heads/master | 2021-01-21T21:54:02.768196 | 2016-03-25T00:12:23 | 2016-03-25T00:12:23 | 24,210,481 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 452 | rd | CESdata.Rd | \name{CESdata}
\alias{CESdata}
\docType{data}
\title{Data for testing CES production function}
\description{Data for estimation and testing CES production function: q-output, l-labor, k-capital}
\usage{CESdata}
\format{
A data frame with 25 observations on the following 3 variables.
\describe{
\item{\code{k}}{c... |
b4d0ecbcc9c1429ab7a423092dd012a393b935a8 | 0ffa84c1e3cb0fef567ee9a7be34b808a5f06f29 | /man/fs_search.Rd | 1cf1225813f87ad7101bd345fe6b0241ce710354 | [] | no_license | chris-lundberg/factsetr | 7f2170eeccf581b066f1c6313d7fd390eff3068a | 652a92428acfcf67b41cfad9cfc9988c38e16293 | refs/heads/master | 2021-01-07T00:40:57.403604 | 2020-02-22T16:53:56 | 2020-02-22T16:53:56 | 241,529,043 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 910 | rd | fs_search.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/search.R
\name{fs_search}
\alias{fs_search}
\title{FactSet Filesystem Search}
\usage{
fs_search(con, dir, type = c("pa", "spar", "dir", "accounts"))
}
\arguments{
\item{con}{A FactSet connection object.}
\item{dir}{A directory in the FactSet... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.