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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53e4d40086d979605c7d3f61d7a9345a066b9bbd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SMITIDvisu/examples/updateTimeLine.Rd.R | 76bc5d9cb453e0b7ed67a89de832e48d408dce47 | [] | 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 | 421 | r | updateTimeLine.Rd.R | library(SMITIDvisu)
### Name: updateTimeLine
### Title: updateTimeLine
### Aliases: updateTimeLine
### ** Examples
## Not run:
##D ## server.R
##D ## output server variable
##D output$timeline <- renderTimeLine({
##D timeLine(data.frame(), "")
##D })
##D ## ui.R
##D timeLineOutput("timeline")
##D #... |
702e72177e6edbe9b20f19ef5a1cc9699c810102 | 12a74036fd925b7a7087fec6d773b8f0061a6500 | /R/create_ggtheme.R | 37f9e90064aef0e08c582a3c94ca092522a71bb7 | [
"MIT"
] | permissive | jmhome/rPlotter | 283a1af741995b263f9841dccaa9d6740be894a4 | 7b47b9ba0897a55a86d35760acf2edca3cc7da9d | refs/heads/master | 2021-01-24T16:52:00.867998 | 2014-09-27T00:32:40 | 2014-09-27T00:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | create_ggtheme.R | #' Create customised themes for ggplot2 object
#'
#' This function creates a ggplot2 theme object based on my favourite templates.
#'
#' @param theme The name of the temaplate (blank, xkcd, more to come ...)
#'
#' @examples
#' theme_blank <- create_ggtheme("blank")
#' theme_xkcd <- create_ggtheme("xkcd")
#' @export
#... |
9489f96ada175478c62b68261c098c6b89d66fce | 3b3168707c67aefbd85934bae572b6f686b479e0 | /inst/shiny-examples/simpleVis/ui.R | 99a558edbf93a8e21fc07f76ad8a46633aa8d175 | [] | no_license | qenvio/hicvidere | e114869c279da21e5de178b7961432fbded5a191 | 65df8c6a2d5a9ba9d7e138da776afd3b47ab7f6e | refs/heads/master | 2021-01-10T04:44:26.737390 | 2016-01-25T15:56:53 | 2016-01-25T15:56:53 | 43,735,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | ui.R | ui <- shinyUI(fluidPage(
titlePanel("HiCvideRe"),
sidebarLayout(
sidebarPanel(
fileInput('file1',
'Choose TSV File',
accept=c("text/tab-separated-values",
".tsv")),
uiOutput('selection')
),
mainPanel(
plotOutput('plot_mat... |
94f569e79a02daac37dcc917dcac00a14bf5d879 | 79526a578700b558b4b9d269afb9adcbcd53d570 | /cachematrix.R | fcbc03eb8446cc6b8f21a66d84485fcdb5bef332 | [] | no_license | MSFlk921/ProgrammingAssignment2 | e4b301b2d9d1881a696011c212cf51f96a692794 | 67de5ca4dcf5736bf566da36d11002f183cf1f76 | refs/heads/master | 2021-01-18T10:40:44.092917 | 2015-04-23T22:35:52 | 2015-04-23T22:35:52 | 34,482,254 | 0 | 0 | null | 2015-04-23T21:22:46 | 2015-04-23T21:22:43 | null | UTF-8 | R | false | false | 878 | r | cachematrix.R | ## The first function make the Matrix and the second cache the value of inverse
## For example, you can make the Matrix
## m <- makeCacheMatrix(matrix(1:4,2,2))
## and then get the catch of the inverse
## cacheSolve(m)
## [,1] [,2]
## [1,] -2 1.5
## [2,] 1 -0.5
##
## This functon create the Matrix a... |
411b0142c34b8f468cb25fc039f7f117cc4d4d2d | bb16a53ad0ffafa4f8be4d98081b5513b004704e | /intro to R class 2.R | 236370d7e8f16535b348c461cf03e6e02eeecdcc | [] | no_license | mosesaron/Intro-to-data-Analysis-using-R | 00359fc07a6a6f42df639ef209d67fc6f5165659 | 4e48c3605950aa208d05674ecb9a8b225aa0d918 | refs/heads/master | 2022-11-23T00:39:12.004362 | 2020-07-30T12:05:17 | 2020-07-30T12:05:17 | 283,734,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,758 | r | intro to R class 2.R | # We need to set our working directory
setwd("~/Desktop/Intro to R")
# remove everything in my work space
rm(list =ls())
# import the data but we have to install the necessary package
#install.packages("readxl")
library(readxl)
#install.packages("haven")
library(haven)
#install.packages("tidyverse")
library(tidyver... |
aca935f4a2a67e463f1ee87ca1fcd369fc1fc331 | 99144fe0beb697c124e5271a1d395ab6477d405a | /man/conditionalize.data.frame.Rd | 11529da1b7f165e4065597667bdb14f2071657b8 | [] | no_license | cran/yamlet | 233e29fc38d75205d4cc04db5a81af49dc05a5d5 | 3f494a19ab2e1cdb426606af40304309c78603ca | refs/heads/master | 2023-09-04T00:52:18.417901 | 2023-08-24T05:00:02 | 2023-08-24T06:31:30 | 236,960,454 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,951 | rd | conditionalize.data.frame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conditionalize.R
\name{conditionalize.data.frame}
\alias{conditionalize.data.frame}
\title{Conditionalize Attributes of Data Frame}
\usage{
\method{conditionalize}{data.frame}(x, column, attribute, test, value, ...)
}
\arguments{
\it... |
d2ce771cb6835599598abf3e36052d8d02145c16 | b1da3e6d4a851428d48314e848e7d865ecbff895 | /man/Oyster_plot_cross_section.Rd | 5e6df3257f28e7bd70e4bcbfeeb8cc60e79b8448 | [] | no_license | cran/shelltrace | ee2476844d44cce51e1c9738c1ae9f156bf6087c | c7156d5f8d7583bc29192fdd9541f3bd727f95a5 | refs/heads/master | 2021-07-07T15:30:42.634309 | 2017-10-06T10:35:20 | 2017-10-06T10:35:20 | 105,997,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,543 | rd | Oyster_plot_cross_section.Rd | \name{Oyster_plot_cross_section}
\alias{Oyster_plot_cross_section}
\title{Plot the converted shell cross section}
\description{Simple function that returns a plot of the shell cross section
after it has been converted to a common X-axis.
de Winter, N. J. (2017) <doi:10.5194/gmd-2017-137>}
\usage{
Oyster_p... |
2dbc8848b9af526392e3ebdedede667fa980c491 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/galgo/examples/bestFitness.Galgo.Rd.R | f987d1fb6a631adb34bcdd33a868d85b8b8dbe2a | [] | 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 | 734 | r | bestFitness.Galgo.Rd.R | library(galgo)
### Name: bestFitness.Galgo
### Title: Returns the fitness of the best chromosome
### Aliases: bestFitness.Galgo Galgo.bestFitness bestFitness.Galgo
### bestFitness,Galgo-method bestFitness
### Keywords: methods internal methods
### ** Examples
wo <- World(niches=newRandomCollection(Niche(chromos... |
204282a6019d7a552758ad7ca5017b43c13e6630 | 7aee837d5d59a606d8a8eebc7567982bab96300c | /plot1.R | d3023ca81459eb00e987080c7a0202fd2c3ec2b5 | [] | no_license | jorditejedor/ExDA_4 | 4e07b74a28094025842394df112613f7e6cc04a8 | b3a2bcc3e4bde411dfa62e31a24b33c77cfe2ea4 | refs/heads/master | 2023-08-14T17:12:35.427075 | 2021-10-21T17:30:46 | 2021-10-21T17:30:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 589 | r | plot1.R | source("~/R/ExDA_4/DownloadData.R")
if(!("pm25" %in% ls())) {
pm25 <- get_pm25()
}
# Question 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,... |
c80cba9c1bf9ccdd752e95cfdb552d8ab36156bd | 59c608e9f0ea550529a90f52356a3a7bb3a63df9 | /code/GTFS files - Combining all databases.R | 956296f2c66089cbcc2bbff7c5a0b27838056373 | [] | no_license | cgettings/NYC-Subway-Data | bd7d29bdf6a6549676119460e8d5fac82e36f4f0 | a210d7224f6152ebf5fe53dba69dd910883bff66 | refs/heads/master | 2021-04-26T22:53:15.928032 | 2018-03-05T09:10:18 | 2018-03-05T09:10:18 | 123,891,295 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,298 | r | GTFS files - Combining all databases.R | ############################################################################-
############################################################################-
##
## NYC Subway GTFS Real Time Archive - Combining all monthly databases ----
##
############################################################################-
####... |
8b41dadcdf4d36b0f055761ada9d6237299566af | 54149d7b01a2aa6f5715d8425a7137747b182f3e | /getBrazil.R | acf501df2c51a0f37c8da3aa8805261a3d41afe4 | [
"MIT"
] | permissive | benflips/nCovForecast | 9c70d1499a156a6a8304e60ee17caface97b282c | 35988f40bf7772869ec6e5b9a16f216e66f34e78 | refs/heads/master | 2022-04-30T16:56:07.367007 | 2022-03-24T00:48:47 | 2022-03-24T00:48:47 | 246,886,253 | 51 | 43 | MIT | 2022-03-24T00:48:48 | 2020-03-12T16:52:44 | R | UTF-8 | R | false | false | 76 | r | getBrazil.R | source('getDataGeneral.R')
getDataCovid19datahubWithoutRecovered('Brazil')
|
0c0f4bd0089d044390949f41e5c73504352ee9d1 | 701f69c6fe2f51801d1ebd12c4ae82d7b077989e | /ncbi_functions.R | b626c54656ec89887707205e538b99b876f09c0f | [] | no_license | lmjakt/ncbi_R | ddac4b43be3558e7ed4ef32550dbcd8e9de3678c | 675819076e15b84f3ad0217a250197020a2a853f | refs/heads/main | 2023-07-02T22:23:20.623602 | 2021-08-06T08:07:36 | 2021-08-06T08:07:36 | 393,291,327 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,568 | r | ncbi_functions.R | ## in R we can simply use
## readLines to read in a web page. We can presumably also use
## open(), readLine to process bigger web-pages. But here we simply get the simplest
## ones.
## Seems wrong to define variables here; instead we will make a function
## that returns a list of base urls and other useful things.
u... |
c65dfaa8502e5e1143dfdfc24cac3d369b95cbe9 | c20629bc224ad88e47849943e99fe8bc6ccb1f17 | /2018-10-05_rms-package-test-drive.R | b1b2acd26ca6a8aef9ca0ade7dea730d25d585a0 | [] | no_license | nayefahmad/R-vocab-and-experiments | 71a99e4d3ff0414d1306a5c7cabfd79b49df17f9 | 4384d3d473b0a9d28d86c3d36b0b06a1f91b862e | refs/heads/master | 2022-12-13T01:12:11.134952 | 2020-08-24T04:59:52 | 2020-08-24T04:59:52 | 103,333,690 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 610 | r | 2018-10-05_rms-package-test-drive.R |
#*************************************************************
# RMS PACKAGE TEST DRIVE
#*************************************************************
library(rms) # regression modelling strategies
## Not run:
x1 <- runif(100); x2 <- runif(100); y <- sample(0:1, 100, TRUE)
f <- lrm(y ~ x1 + x2, x=TRUE, y=TRUE)
s... |
9f362389f5a094b5df4604b4c6494ee7315c7812 | 97f4a0ad6a483715336ecb53fc31abedec149b00 | /5_Visualization_ggplot2/7_statistical_transformations.R | b4b8bd027e4d0636a9635f5cae7c5d9c3fd89d98 | [] | no_license | cosimino81/R-biginner-tutorial | 3c2d28f89f5812fdde80c0933df02d24265c43af | 5763ff4d3d5e398885fe19d99d60bec3d2e4ab0b | refs/heads/master | 2020-03-28T06:18:49.105979 | 2018-09-07T13:52:28 | 2018-09-07T13:52:28 | 147,826,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,026 | r | 7_statistical_transformations.R |
# Load the data
getwd()
setwd("/home/CURIACOSI1/Cosimo_Projects/Cosimo_RTesting/data")
df <- read.csv('Movie-Ratings.csv')
head(df)
# Chenge the columns name
colnames(df) <- c("Film", "Genre", "CriticRating", "AudienceRating", "BudgetMillions", "Year")
head(df)
# Look at the structure
# In a df the "Factor" are ... |
4a7ea34411eb2478318544c823fe05c9dc8036dc | 34226aea0b34f7ae2132165b5496f358be18ac1b | /R/equation_Comparison.R | b7920324be3eb5224ad64e9bb5ab41735f3320d1 | [] | no_license | gahoo/Codes | fa343bd30d76aca2c6ec82033495cb267f4f00fd | c150642c01e5b5224e2db856a096a631c93bf4f5 | refs/heads/master | 2021-01-01T18:54:07.598936 | 2012-02-17T08:43:08 | 2012-02-17T08:43:08 | 1,549,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,781 | r | equation_Comparison.R | Hypergeometric<-function(x,m,k,n){
choose(k,x)*choose(m-k,n-x)/choose(m,n)
}
HypergeometricCDF<-function(x,M,K,N){
sum=0
for(i in 1:x){
sum<-sum+hype(i,M,K,N)
}
sum
}
#######################################
# New Version
# More Concise
Hypergeometric<-function(i,m1,m2,N){
choose(m1,i)*choose(N-m1,m2-i)... |
76ed1dc57ef2f6552f08dcb7dc4b6e841cce41df | bad538073a6ed5bd9f8f0653db02fdd433137380 | /tests/test_pkgzip_create_from_bioc.R | b436d8d7d10304b6d8262c8b3978ed0b21f7a604 | [
"Apache-2.0"
] | permissive | WLOGSolutions/RSuite | 5372cfc031b518e38c765b574a99944324a46275 | da56a5d1f4a835c9b84b6cebc1df6046044edebe | refs/heads/master | 2021-06-08T14:07:27.322986 | 2021-05-03T14:09:11 | 2021-05-03T14:09:11 | 104,214,650 | 157 | 11 | Apache-2.0 | 2021-05-03T08:27:54 | 2017-09-20T12:48:44 | R | UTF-8 | R | false | false | 995 | r | test_pkgzip_create_from_bioc.R | #----------------------------------------------------------------------------
# RSuite
# Copyright (c) 2017, WLOG Solutions
#----------------------------------------------------------------------------
context("Testing if creation of PKGZIP from Bioconductor works properly [test_pkgzip_create_from_bioc]")
library(RSui... |
f9710a595b598265d8bd4fb77402e35cd1dccd88 | 319a13e48a7e26e5ab660c9dba30521834203dab | /RFiles/vector-prod2.R | 72189083ffe89de13aad50c008d65f26dcc83bdb | [] | no_license | marco-tn/StaticticsBasic | 9b4914bec56571754b54481e53f389654178cb3b | 6dba8d4ac01759cd1e7af302386b9a34f3594475 | refs/heads/master | 2020-08-03T13:06:57.357421 | 2019-09-30T03:00:07 | 2019-09-30T03:00:07 | 211,762,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 310 | r | vector-prod2.R | a <- 1:3
b <- 4:6
a %*% b # 内積(計算結果は1×1行列)
try(a %*% (1:6)) # 長さが異なるとエラー(tryはエラーが出ても作業を続行するための関数)
a * b # 要素毎の積
a * 1:6 # 長さが異なる場合は足りない方が周期的に拡張される
a/b # 除算も成分毎
|
d255643a3af3d53d835f2a7887630b4cc1454e3f | de1b2fcb453aa87d28d0bceb17b016a2b971f0e3 | /cachematrix.R | 2116b7079cda615237979d65b411fe24f1e61947 | [] | no_license | SorokaVladimir/ProgrammingAssignment2 | a52bfc30dffd1dc31a7baf0d351bc54de44c7cd3 | 84cfd52069783cd94e9044ed96e63cd218e4a374 | refs/heads/master | 2022-04-18T12:20:44.650545 | 2020-04-18T10:36:11 | 2020-04-18T10:36:11 | 255,166,075 | 0 | 0 | null | 2020-04-12T20:39:07 | 2020-04-12T20:39:06 | null | UTF-8 | R | false | false | 1,180 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
#The function above is supposed to set and get the values of both the matrix and the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
j <- NULL
set <- functi... |
a7f54c14731a8adfd8618e487554e28a42c92fe7 | 73ad4f470c092807e2afe31b762ca3a17eca7eb7 | /man/check_package.Rd | 49c26c16cd1810b0b9bdcd884aad6f9d9024a269 | [] | no_license | cran/cleanr | 252ac1819ecb2433a3a37985c009ecf9328d92a5 | 446f237b7c0e79eeca4dbe37edcfb77f7145334e | refs/heads/master | 2023-06-28T04:37:30.608072 | 2023-06-16T07:30:24 | 2023-06-16T07:30:24 | 77,044,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,494 | rd | check_package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{check_package}
\alias{check_package}
\title{Check a Package}
\usage{
check_package(path, pattern = "\\\\.[rR]$", ...)
}
\arguments{
\item{path}{Path to the package to be checked.}
\item{pattern}{A pattern to search files wit... |
1aaf51a15bce9a186f6ec3c429cde4481df7f35b | 81d05363ac3532715a3076d94560b5b01d82010b | /preprocess_SNMFN.R | c9ceb82d9991cfe019d3f4439cc1c4e52615f8df | [] | no_license | lihan-hub/DDCMNMF | c26ca74a9866a19eb9e9d5824524dab1f320c240 | 45efaf53eff182159f8edf1ec12e62ce5e18218c | refs/heads/main | 2023-07-17T04:45:29.125543 | 2021-08-18T06:38:54 | 2021-08-18T06:38:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,164 | r | preprocess_SNMFN.R | # library(R.matlab)
#load('InfluenceGraph_2017.Rdata')
# CC=read.csv('benchmarks/lung_subtype_benchmarks.csv',header = T)
patMutMatrix=read.table('Lung(102)106/LUSC_Mutation.txt')
patMutMatrix=t(patMutMatrix)
row.names(patMutMatrix)=gsub('\\.','-',row.names(patMutMatrix))
#inter=intersect(CC[,1],row.names(patMut... |
4e58a8df691b030b6cadf642b243d2368466e3d9 | ad8a6bd93c52bbd77de571c9ccd1b5faefde7ae5 | /tests/testthat/test_characteristic_functions.R | 71354e32e0f5e617c3388ca95f853590ae703688 | [] | no_license | randomchars42/eenv | eea304c3291811aa0c55d2539cc140e195a3f56d | be7adf9033d3802e5fdc066b074574d1b1bf6bf8 | refs/heads/master | 2021-10-24T11:43:46.627320 | 2019-03-25T19:15:47 | 2019-03-25T19:15:47 | 106,001,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,107 | r | test_characteristic_functions.R | library(eenv)
context("Test characteristic functions")
test_that("characteristics are calculated correctly", {
data_test <- tibble::tibble(
id = 1 : 12,
sex = c("f", "f", "f", "m", "m", "f", "f", "m", "m", "f", "m", "f"), # 12/7/5 (t/f/m)
group = c("a", "b", "a", "b", "a", "b", "a", "b", "a", "b", "a", "... |
2499a43e7ce3f138a1cbd762457cb0fe1d2cf764 | 9f32f5e41ba10f68bbf2d60df3ef992031501eb4 | /common/radar.R | 39825734c79aff86a63522d3bd3536b80acd115f | [] | no_license | chinamrwu/AMS | 6c84380562b91c4a4e00a56c30914d378081f1b5 | c3c0c5f3fe22752a1ec9651e190f3efd8dfa3334 | refs/heads/master | 2022-01-29T02:02:41.906857 | 2019-06-25T07:25:28 | 2019-06-25T07:25:28 | 188,001,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 488 | r | radar.R | #devtools::install_github('neuhausi/canvasXpress')
drawradar <- function(data,strTitle="radar plot"){
library(canvasXpress)
c <- canvasXpress(
data=data,
circularArc=360,
circularRotate=0,
circularType="radar",
colorScheme="Bootstrap",
graphType="Circular",
legendPosition="top",
... |
2b6110b4d64ccbfb73ef589293872e3316da8196 | c97be4ad1dcfaa08be495f46ea5f4f51b2d1a280 | /Bonus_CorrelationAnalysis/CorrelationAnalysis_MeanValues_ScaledLog_FilterN.R | b1671289b9884ee114f26832f01e444da5ee1973 | [] | no_license | mlocardpaulet/TCR_ABStim2018 | 7d9c78da34ddbf4e7eb2074aca03c28a073dda53 | 16b76aa11c7b82fbd67da8d7f527553fd8d3c3fc | refs/heads/master | 2022-06-27T08:32:39.491643 | 2022-05-11T11:30:26 | 2022-05-11T11:30:26 | 145,111,305 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,807 | r | CorrelationAnalysis_MeanValues_ScaledLog_FilterN.R | ################################################################################
# Correlation analysis of the Merged samples.
################################################################################
################################################################################
###### Import table
########... |
035e55bfb920a1adbd17ac07f31e36dd3f80512b | 573ad01c9f26062287748332b1872b0a99ee83d8 | /ExploratModelling.R | 28159b82606cb90706e999e78bba53fdbd355d8f | [] | no_license | duncanobunge/DataWrangling | fbaf7dffbd50190804acefedd73a1a70d84dcfed | b01e547474874900df181894f0ef5733dd7c3063 | refs/heads/master | 2020-04-16T23:07:17.607013 | 2019-01-17T07:18:57 | 2019-01-17T07:18:57 | 165,998,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34 | r | ExploratModelling.R | #scripts for exploratory modelling |
8467b87c03c3a64fa14e82e77d0350d0379ad6ae | 902e96b788bfd6e50c8d8a9d5d7aa5e3534c5666 | /002_ThugChem/functions/002_PreLaTeX.R | 4c7247863828ccc87930447249a24681dd8c2d3c | [] | no_license | legion949/App2Show | 860b09f403645d758175af92011ce87cc4f0e164 | bb502940e3d8d2a18326413439c08161ac6c9212 | refs/heads/main | 2023-06-15T04:47:45.942659 | 2021-06-28T13:43:38 | 2021-06-28T13:43:38 | 380,904,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,956 | r | 002_PreLaTeX.R |
# este_simbolo = 2, este_sub = 2
# Funcion "empaquetadora1"
empaquetadora1 <- function(este_simbolo, este_sub){
# Si ambos son informacion correcta...
todo_OK <- TRUE
if (is.na(este_simbolo) | este_simbolo == "") todo_OK <- FALSE
if (is.na(este_sub) | este_sub == "") todo_OK <- FALSE
# Si esta todo ... |
d422854df944d8979a18d3643207ef732bd40943 | b75900de18d763ded6dab35b0dd42436ab4b7446 | /man/access_import.Rd | feb1ee9b916016334ea426aa3d1a9863048d60ba | [
"MIT"
] | permissive | ove-ut3/impexp | 081910fa6c9cca3717c54dc3e02a9c88249a37c2 | d23bf96afa95b73c532e4634fd001097daa05e22 | refs/heads/master | 2021-01-06T13:15:10.478366 | 2020-05-12T08:30:33 | 2020-05-12T08:30:33 | 241,339,115 | 0 | 0 | NOASSERTION | 2020-05-12T08:30:34 | 2020-02-18T11:00:49 | null | UTF-8 | R | false | true | 523 | rd | access_import.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/access.R
\name{access_import}
\alias{access_import}
\title{Import a Microsoft Access database table.}
\usage{
access_import(table, path)
}
\arguments{
\item{table}{Name of the table to import as a character.}
\item{path}{Path to the Access d... |
5e551e493f8e78a247d68aab32514938bd33a777 | 33fa7ba1b68ea3401812fa958bb4122d81098826 | /PyTorch_SAT6/sat_6_conf_matrix.R | 6974b28664f12b78f265f3579427c40bf7690bd9 | [] | no_license | carlos-alberto-silva/wvview_geodl_examples | 7a415e3e52155804fb7a6c494cbba772aae21e7e | b70eb4540105fac07f6be5091ef97047b961b237 | refs/heads/master | 2023-06-21T08:56:26.064154 | 2021-07-28T14:27:14 | 2021-07-28T14:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 418 | r | sat_6_conf_matrix.R | library(dplyr)
library(caret)
# Read in results CSV
result <- read.csv("C:/Maxwell_Data/archive/chips2/test_result4.csv")
# Set reference and predicted columns to factors
result$class <- as.factor(result$class)
result$predicted <- as.factor(result$predicted)
# Use caret to create confusion matrix
cm <- confusionMatr... |
147f5456661d82545fe21152038729b6c9ba4c37 | 3c5fee29a00ec142ccd009fa61a5b90acb7fa4a4 | /Problem_Set_1.R | b8865c984337c68212f12864ea7c2fb58a594073 | [] | no_license | Steffen333701/Econometrics_Applications | 44de341fc1cdefb72e818e5b2e4b29b789e64424 | 1524e99d8fd98eee9585697afb51a5ee648cdc83 | refs/heads/master | 2020-03-10T08:40:06.560689 | 2018-04-21T18:25:21 | 2018-04-21T18:25:21 | 129,291,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,286 | r | Problem_Set_1.R |
# Problem set 1
# clean space and set wd
ls()
rm(list = ls())
setwd("C:/Users/Steffen_Laptop/Documents/R/Econometrics_applications/Econometrics_Applications")
# Packages
library(tidyverse)
library(psych)
library(skimr)
########################################################################
# load the data
datp... |
3576d6c33bed0f1ce5ab4dab931b3769b2761d0d | 29ece7358a11b69690cf09c2b82fdc98c63531b0 | /man/GraphsVIPOPLSDA.Rd | eee830fd6dd0c8ba059855f71e7cbb6a15c09629 | [] | no_license | AlzbetaG/Metabol | 4bfe6ee161f262f5c97770bc276cbde2a7a61b61 | 5c513d3d3902610b9893123bcb918be2a85b2b65 | refs/heads/master | 2020-05-28T06:19:23.034258 | 2019-05-30T20:50:00 | 2019-05-30T20:50:00 | 188,906,403 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,353 | rd | GraphsVIPOPLSDA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GraphsVIPOPLSDA.R
\name{GraphsVIPOPLSDA}
\alias{GraphsVIPOPLSDA}
\title{Orthogonal partial least squares - discriminant analysis (OPLS-DA)}
\usage{
GraphsVIPOPLSDA(data, name, groupnames, tsf = "clr", top = 30,
qu = 0.75, QCs = FALSE)
}
\ar... |
19931d908cac239e082dac357af5df76ea33a338 | 4460d2c7adbb48baf7e2cd84024c2514ed1b1cb9 | /scripts/scran.R | 22ff90335df8ce392fe2cd6e990b6eaca864d1c3 | [] | no_license | DimitriTernovoj/SingleCellProject | 0dbda9ca78ab72513b19d20c33148ecbd58444bb | 4bec8bee7e630ed2b6908989c422dced53ccd902 | refs/heads/master | 2023-06-01T08:21:47.491796 | 2020-10-24T13:45:58 | 2020-10-24T13:45:58 | 307,434,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | scran.R | library(scran)
#read in data
data_mat_df <- read.csv("file_dir/data_mat.csv", header=FALSE)
data_mat <- data.matrix(data_mat_df)
input_groups <- read.csv("file_dir/input_groups.csv", header=TRUE)
#calculate sizefactors
size_factors <- computeSumFactors(data_mat, clusters=input_groups$groups, min.mean=0.1)
#export si... |
025bfddc2ecae8f8cce5318433b4a3c296604bea | abcb78ddbbc03256a9e40fbd7f4790a735b91a52 | /tests/testthat/test-arrange-SpatVector.R | 649803180587a49d00b0befafd5a9807796d6922 | [
"MIT"
] | permissive | dieghernan/tidyterra | f94f0b8544b24f231022570fa51e2f2acc09238a | b0214a95186c1d63eb89ce92f7704ab0396d0c3b | refs/heads/main | 2023-09-04T11:47:01.063904 | 2023-08-16T06:19:58 | 2023-08-16T06:19:58 | 488,274,429 | 134 | 4 | NOASSERTION | 2023-09-10T07:27:12 | 2022-05-03T15:59:17 | R | UTF-8 | R | false | false | 1,544 | r | test-arrange-SpatVector.R | test_that("Arrange with SpatVector", {
f <- system.file("extdata/cyl.gpkg", package = "tidyterra")
v <- terra::vect(f)
v2 <- v %>% arrange(dplyr::desc(cpro))
tab <- v %>%
as_tibble() %>%
arrange(dplyr::desc(cpro))
expect_true(nrow(v2) == nrow(tab))
expect_s4_class(v2, "SpatVector")
expect_ident... |
50ba6598ece44e2ee59e5b4a0d719a9346092df8 | 3c135a96e70cbc0c457b00d4a8e4fa2df44e7682 | /Datastorytelling and Visualization Analysis.R | f12c9610fe03ac787b9878d8966a4177ec4807a9 | [] | no_license | shekharsingh8811/DataStorytellingAndVisualization | 694753e65c7b052271db0b4d89ae163c67bb987c | a36a68fa39a8e1699b088c6e091351288bf2dfb3 | refs/heads/master | 2020-07-26T07:59:53.977570 | 2019-11-26T21:10:55 | 2019-11-26T21:10:55 | 208,584,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,228 | r | Datastorytelling and Visualization Analysis.R | getwd()
setwd("/Users/shekharsingh/Documents/Big Data and Business Analytics/Analytics1/RStudio")
dataset <- read.csv("FIFA_2019.csv", header=TRUE)
View(dataset)
dim(dataset)
summary(dataset)
str(dataset)
head(dataset)
#fitting linear regression
fit.lr = lm(formula = Potential ~ Crossing+Finishing+HeadingAccuracy... |
4dd3f6e62a2d95b1d960a885d9587e198ea1ef60 | b4cc2e543a3822cd9e03a660348b3da6c47a8a14 | /man/summariseRjpp.Rd | e10d33c7d633933d3f4d901df675b69b2656d9ec | [] | no_license | hferg/BTprocessR | 09e078ed5f97c6f63db877794f74c39003ed4fd5 | ce8ecd4cc422605438c98787ad326b0a077a1eb7 | refs/heads/master | 2021-05-11T06:25:43.805695 | 2020-03-04T16:36:11 | 2020-03-04T16:36:11 | 117,988,586 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,356 | rd | summariseRjpp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rjpp.R
\name{summariseRjpp}
\alias{summariseRjpp}
\title{summariseRjpp
This functions takes the somewhat massive output of the rjpp function and
pares it down to the scalars and/or rates the user is interested in.
QUESTION: Should this be lim... |
69f2b3966908fec603c1689f78da12961c37b0b8 | 6dedc1aa6d3d83a86f818ea4667a44fae1c57b49 | /inst/testdata/generate_test_data.R | fb0b65bc3f25478ed2d3140db020aa3a7df8421e | [
"MIT"
] | permissive | GarettHeineck/platypus | bbf2e5119b6614b2862b86be4933896dc147506f | 080e3d3649eabd4317d2ce5d761ab086c2b8ef88 | refs/heads/master | 2022-12-30T19:01:07.949779 | 2020-10-17T21:33:21 | 2020-10-17T21:33:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,455 | r | generate_test_data.R | test_mask_1 <- array(c(255, 111, 0, 222,
255, 111, 0, 222,
255, 111, 0, 222), dim = c(2, 2, 3))
test_mask_2 <- array(c(255, 111, 222, 0,
255, 111, 222, 0,
255, 111, 222, 0), dim = c(2, 2, 3))
test_mask_3 <- array(c(222, 111, 0, ... |
b7ba38a3ffe3c33a9d109190090bc5a08981df07 | b599e97542c6df5add3e4b53586097705b10ce74 | /man/onelump_varenv.Rd | 00d44e08a13a672eee1cdfdbb6e299a241985905 | [] | no_license | ajijohn/NicheMapR | 09c435107b9e4aa0fd5b7982510a65e76680f1ed | 98386659036cc55df840df7339af519a766b88d2 | refs/heads/master | 2021-01-09T05:34:23.544532 | 2017-01-28T07:29:16 | 2017-01-28T07:29:16 | 80,757,456 | 0 | 1 | null | 2017-02-02T18:51:23 | 2017-02-02T18:51:23 | null | UTF-8 | R | false | true | 6,848 | rd | onelump_varenv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/onelump_varenv.R
\name{onelump_varenv}
\alias{onelump_varenv}
\title{One-lump Transient Heat Budget for Variable Environment}
\usage{
onelump(t, Tc_init, thresh, AMASS, lometry, Tairf, Tradf, velf, Qsolf, Zenf, ...)
}
\arguments{
\item{t}{= s... |
36ed2f8f2361e8d01e24a73cbb393e33d381bd0a | 83289e8da8ccb731bd9c37964f3ce2d62c5beabf | /script-5_modules.R | 1e0c7798ff78af78e0d61e57009dbbc32b228083 | [
"MIT"
] | permissive | moldach/gene-set-enrichment-R | 52782dd687db07cf5b2490648747a2a6799fe7ed | 6b8ce73e3b53873c2577849de5a240a510fb8909 | refs/heads/master | 2020-03-18T10:39:17.506602 | 2019-10-10T20:05:40 | 2019-10-10T20:05:40 | 134,625,671 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,882 | r | script-5_modules.R | load("kaforou.rda")
## When using read.csv() make sure to use stringsAsfactor=FALSE
## to assure you the character strings are not
## google global .Rprofile to change this so you will never accidently forget
## to turn character strings into factors
## some sanitizing
kaforou$genes <- kaforou$genes[ , c("ID", "Symb... |
1143685a1dc3bd5ecb54284d090e793f45c61b03 | f1d4d986bbfe4d08026fb1c7f5e921becfb8895d | /man/addOrRestoreVariable.Rd | fc97292aaf047e192cb39df9de41f0701f77c2fe | [
"Apache-2.0"
] | permissive | mickash/Adaptive-Bayesian-Networks | 988d3f2fcfeed921055035437e1f4c52f5f89660 | 56611cf9f8562ebcbfa17d876d2a7d27c201b67a | refs/heads/master | 2020-09-09T14:51:25.727845 | 2019-11-13T14:20:59 | 2019-11-13T14:20:59 | 221,476,013 | 1 | 0 | null | 2019-11-13T14:21:01 | 2019-11-13T14:18:43 | R | UTF-8 | R | false | false | 868 | rd | addOrRestoreVariable.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/AddNode.R
\name{addOrRestoreVariable}
\alias{addOrRestoreVariable}
\title{Add or restore variable to data tables}
\usage{
addOrRestoreVariable(cn, tableinfo, newNode, newvalues)
}
\arguments{
\item{cn}{An RODBC connection}
\item{tabl... |
3075a299e4945eace3cf3fbcccd78dd2a191dbd6 | 5c4d81b75c6c49cff7470bf7cb914e0fbf3a3015 | /R/syschange.R | b547d28f7b88ccd9c355bd26788e5022ded1b2db | [] | no_license | cran/svenssonm | 0ce3fded9f92ba4040caf1ba795664ba228b0b89 | 12bdf4e80a630e54540ed9ac995d2fc3f6f183a2 | refs/heads/master | 2020-12-30T10:11:01.956263 | 2017-08-03T13:32:01 | 2017-08-03T13:32:01 | 99,242,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,899 | r | syschange.R | #' Systematic Change
#'
#' The value and the standard error of relative position (RP), the systematic change in
#' position between the two ordered categorical classification.
#' Also, the value and the standard error of relative concentration (RC), a comprehensive
#' evaluation of the systematic change.
#'
#' @... |
94e2ecbd387d642bff5d9565440b8a34b3f11667 | 5f0cfcec5194f11137db76056ef2b3836ab80ff8 | /R/boxcoxEstimation.R | 5dd8dc843489c3a9656e11588464e65c25177432 | [] | no_license | JakeJing/treevo | 54d341655f1e6ddac5ab73df38c890be557e7d17 | 3429ba37e8dc7c79cf441361d07c000f07423b6e | refs/heads/master | 2021-01-12T01:20:10.296046 | 2016-10-03T01:09:15 | 2016-10-03T01:09:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,631 | r | boxcoxEstimation.R | #' Box-Cox Estimation
#'
#' This function Box-Cox transforms summary values
#'
#'
#' @param summaryValuesMatrix Matrix of summary statistics from simulations
#' @return Returns a matrix of Box-Cox transformed summary statistics with the
#' same dimensions as summaryValuesMatrix.
#' @author Brian O'Meara and Barb Ban... |
f16825c68b34255f40d69517ff703a53060c4bad | ba2383526b3a5401bc6619708b9689ab021ef33d | /snow17_10.18inprog.R | cce7341cbd62a39b197d36a32d25b065ecd79d17 | [] | no_license | dbo99/snow17tests | 840e346652ee9fe1460e3e1bf4dcb9506136b446 | 38983cf9df6591f8dac9bb0700da2871d6975f9c | refs/heads/master | 2020-03-31T12:01:16.009564 | 2020-02-19T19:46:22 | 2020-02-19T19:46:22 | 152,200,736 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,406 | r | snow17_10.18inprog.R | {rm(list = ls())
setwd("~/Documents/Rscripts/snow17")
library(tidyverse)
library(lubridate) #doesn't always automatically read-in with tidyverse
library(data.table)
#library(plotly)
df <- read.csv("stcroix.csv")
df <- df %>% mutate(date = mdy(date), tavg_c = ((tmax_c + tmin_c)/2), doy = yday(date)) %>%
filte... |
5b9de5aa5b6ffbea8d92e0c900e64f66b8867ac8 | aad7c7b66c10940ab3cb23cb24192b2417e74fef | /man/isCellLine.Rd | cc16410540ec5b9d6b85d22f429827ef5e686325 | [] | no_license | TransmissibleCancerGroup/dftdLowCov | 7b029a3a2b62e359b60343d6579c3a8be9136099 | 2f884d69654b4289ef322932ba5077940c260ebe | refs/heads/master | 2021-01-02T04:49:03.263038 | 2020-05-28T16:15:21 | 2020-05-28T16:15:21 | 239,495,322 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 289 | rd | isCellLine.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cnv_categorisation.R
\name{isCellLine}
\alias{isCellLine}
\title{Return a vector of CNV IDs for cell line samples}
\usage{
isCellLine(cnvtable)
}
\description{
Return a vector of CNV IDs for cell line samples
}
|
4e2c4a875e25387f2393f1719f0f2ff83d022758 | 0951487545bb680b6e68a005eab55c783cb4e19d | /R/tp73_boxplots_rna.R | 64b42e480915327c90469f530fa3786d88a42822 | [] | no_license | UCSF-Costello-Lab/lgg_epi_mut_evolution | 750956096040b20a2429de9da24901f46f26d527 | 1a8c03ea1a8c3ffff5c02f68fc668845c22855fe | refs/heads/master | 2020-04-29T07:35:02.148351 | 2015-12-07T20:30:40 | 2015-12-07T20:30:40 | 44,123,593 | 1 | 0 | null | 2015-10-28T00:46:15 | 2015-10-12T17:41:59 | R | UTF-8 | R | false | false | 2,116 | r | tp73_boxplots_rna.R | cuffnorm_loc <- 'data/cuffnorm_gencode_all'
trans <- function(x) log(x, 2)
pseudocount <- .2
samps <- read.table("data/rna_samples2.txt", header=T, sep = "\t", as.is = T)
rec_grade <- aggregate(Grade ~ Patient, data = samps , FUN = max)
names(rec_grade)[2] <- "Grade_rec"
samps_full <- merge(samps, rec_grade)
tp73_... |
e2de1bf0bdfcb4b7838132096bb55445553332c3 | 81c0158c28d8bf0de94ef8676083dbbfbce06e73 | /man/aefaResults.Rd | 4627aa7defe61742f48b52d14c45d5c00a1f4120 | [] | no_license | seonghobae/kaefa | 3daf1c294292b30b2589ee0d23bfb5788f20a217 | 266b7cfbc3d117cd8e85095970b4184a1cb315be | refs/heads/master | 2022-05-16T09:50:53.236346 | 2022-05-03T05:12:20 | 2022-05-03T05:12:20 | 102,938,712 | 3 | 0 | null | 2018-03-06T14:37:56 | 2017-09-09T08:18:23 | R | UTF-8 | R | false | true | 1,119 | rd | aefaResults.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kaefa.R
\name{aefaResults}
\alias{aefaResults}
\title{summarise AEFA results}
\usage{
aefaResults(mirtModel, rotate = NULL, suppress = 0,
which.inspect = NULL, printRawCoefs = F, simplifyRawCoefs = T,
returnModel = F)
}
\arguments{
\item{... |
a633d3c153bd9acb85e21520343ed482f557a528 | 1cb7c773f534d184ac189c6b7afbc7728bd39d91 | /R/model.R | e63895ff35d136483f34131d8ad38dca44a77fcd | [] | no_license | gaborcsardi/finmix | bc743cfa939aae0918d4471cccf2872a98c2e41a | a68ebf10f0348663338731bca1a9ab93598641eb | refs/heads/main | 2023-08-28T04:09:45.447626 | 2021-09-01T07:22:54 | 2021-09-01T07:22:54 | 422,958,511 | 0 | 0 | null | 2021-10-30T18:17:37 | 2021-10-30T18:17:36 | null | UTF-8 | R | false | false | 130,495 | r | model.R | ## Copyright (C) 2013 Lars Simon Zehnder
#
# This file is part of finmix.
#
# finmix is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
... |
47db035ce8fb9d1fcb15ba321e8de216b9bd6461 | d08e69198fbd60086aa35d765c7675006d06cf3f | /R/vec.R | f2f7faf30cee2d644b4472e692a55451e0aa3220 | [] | no_license | villardon/MultBiplotR | 7d2e1b3b25fb5a1971b52fa2674df714f14176ca | 9ac841d0402e0fb4ac93dbff078170188b25b291 | refs/heads/master | 2023-01-22T12:37:03.318282 | 2021-05-31T09:18:20 | 2021-05-31T09:18:20 | 97,450,677 | 3 | 2 | null | 2023-01-13T13:34:51 | 2017-07-17T08:02:54 | R | UTF-8 | R | false | false | 195 | r | vec.R | vec <- function(X, ByColumns=TRUE){
n=dim(X)[1]
p=dim(X)[2]
if (ByColumns){
v=numeric()
for (j in 1:p)
v=c(v,X[,j])
}
return(list(v=v, ByColumns=ByColumns, n=n, p=p))
} |
af00408d71ab8dcff6ea2ca7ad0c38e7fc59ddff | 76a9d91abb86811e7a020db0c7b5f74a27a24c13 | /R/GreenestCityOfTheMonth.R | 2024f44d380fc1ba0a5b262c5cc6b34b9e95ff69 | [] | no_license | Oskartblcrrzzka/GreenCity | 02a7784981ffdecbf83ae63d95e5569c05876f38 | fa02c807123b08003cc8161f5de5a110b56dd8d5 | refs/heads/master | 2021-01-17T22:46:42.128273 | 2016-01-13T18:18:21 | 2016-01-13T18:18:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,783 | r | GreenestCityOfTheMonth.R | # Student: William Schuch & Rik van Berkum
# Team: Geodetic Engineers of Utrecht
# Institute: Wageningen University and Research
# Course: Geo-scripting (GRS-33806)
# Date: 2016-01-12
# Week 2, Lesson 7: Vector - Raster
GreenestCityOfTheMonth <- function(monthnumber,plot_or_not){
# bricking the right raster
mon <-... |
8bf79819d932685b28167607c9129cbde0048b7b | a00a0912c2ad60908a8f49ea0c18da534270f1c7 | /temp/fpca.R | 8443feabe198da85e495cc5f21851797fdb38b60 | [] | no_license | wenrurumon/mysrc | 1cda876324096e2f54ac2dea98e9c5e173bd03a0 | 39fa7e9fecf4f1288703f6be3ad71fbf48266ef4 | refs/heads/master | 2021-01-19T21:24:55.444035 | 2020-09-19T17:28:38 | 2020-09-19T17:28:38 | 88,656,630 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,804 | r | fpca.R |
##################
# FPCA
##################
library(fda)
library(MASS)
library(GenABEL)
library(flare)
library(corpcor)
#FPCA
scale_ivn <- function(x){apply(x,2,rntransform)}
myinv<-function(A){
A_svd<-fast.svd(A)
if(length(A_svd$d)==1){
A_inv<-A_svd$v%*%as.matrix(1/A_svd$d)%*%t(A_svd$u)
}else{
A_inv... |
372a0256cf013465c532912a1e8c04506fdd2267 | 7271ef850abc9ffe10fba66096dbdc81d64eaa77 | /R/GraphCleaning.r | 1cf3a45129f5ede8ee39c54fab05c263a1d202b6 | [] | no_license | symanzik/R-micromap-package-development | 5b38660146a780339c65c187947b9189fd302206 | 773a28997c04475a9fbb5ef802989459942f926a | refs/heads/master | 2020-12-26T21:45:32.927443 | 2014-10-22T22:02:47 | 2014-10-22T22:02:47 | 27,741,455 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,457 | r | GraphCleaning.r | ##########################
##### theme settings #####
##########################
# creating theme functions to be called as needed from the panel building done elsewhere
# each function takes a ggplot object (e.g. pl <- plots[[1]]) and adds attributes to it
# as specified in the above function arguments then ... |
863d16be0e35a2fb207f8408de1e1d2045ac8abb | 3f00f7c81c6ed9bb50db182fa6652e26a062a5f1 | /man/write.mct.Rd | 45953c8df925d60bf40112f37ae5005732c34965 | [] | no_license | cran/polymapR | c2c2130a476b2e1da85b1ac0d96cd330b4eb2b1a | ae247e7e8fb238f9fd8933d12e2d46ae04606b1e | refs/heads/master | 2023-03-19T23:30:05.960131 | 2023-03-13T16:20:02 | 2023-03-13T16:20:02 | 113,219,924 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,293 | rd | write.mct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exported_functions.R
\name{write.mct}
\alias{write.mct}
\title{Write MapChart file}
\usage{
write.mct(
maplist,
mapdir = "mapping_files_MDSMap",
file_info = paste("; MapChart file created on", Sys.Date()),
filename = "MapFile",
prec... |
8a28f008f2390a57c6a860348de6cd27e7705e1a | 6076b19163a44bbfeb360fc691282ce3f4c99635 | /plot4.R | 8f20116fbadcb6498fa66a27a15d6e501336c368 | [] | no_license | dwallc/ExData_Plotting1 | ae335ec73ce383c20fa75c4c5e3c5c257557db1c | e5efb6ad390ae7ce04a6f4de90a7778c0b0a44e3 | refs/heads/master | 2020-11-30T12:32:50.799694 | 2014-07-12T00:06:54 | 2014-07-12T00:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,756 | r | plot4.R | ### Exploratory Data Analysis
## Peer Assessment I - Plot 4
# Clear Workspace
rm(list=ls())
# Load Original Data File
data <- read.table("household_power_consumption.txt", header = TRUE,
sep = ";", colClasses = "character")
# Cleaning and Subsetting Data
data[,1] <- as.Date(data$Date, "%d/%m/%Y... |
2b437a2c12d3e398cab0836a94311284d6b39d2b | 27bf605ba3f4461078967ff8b839b6cf5454d956 | /bin/BRF_pred.R | 3a27521f43707f0e8be5d0eaae8d58d5cb81c55d | [] | no_license | wangpanqiao/COME | 7d8a610bac920aec3e429bd60c2fe19cd2124a70 | 84b3a35a5a9f53c0735a3e42d5c7d801daa85f7b | refs/heads/master | 2020-11-25T07:37:49.256369 | 2019-11-22T03:51:00 | 2019-11-22T03:51:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,491 | r | BRF_pred.R | Args = commandArgs(TRUE);
inputF1 = Args[1];#input the model;
inputF2 = Args[2];#input the predict matrix;
output1 = Args[3];#output the predition probablity.
Nlines = 10000;
library("randomForest");
load(inputF1);
INid = file(inputF2,"r");
flag = 0;
IN = readLines(INid,n=Nlines);
while(length(IN) != 0){
if(f... |
bb19753a8e1a3ac43f87d846a0ffdce190bb3c4a | a9dcc6d36e928267e6ac9b3d8de324afd7030a72 | /ProcessingPipeline/ExamineGenomeCoverage_24-07-17.R | 9795fb4b68a355163db05cd6668f9887879df163 | [] | no_license | xulijunji/GeneralTools | e5778d2da6e64264a26027a713e577d88391007e | 758c769ba10cde1c02e74d5dec70d978d9b6675d | refs/heads/master | 2021-08-23T20:14:33.238693 | 2017-12-06T10:47:49 | 2017-12-06T10:47:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,491 | r | ExamineGenomeCoverage_24-07-17.R | ############
# Set path #
############
path <- "C:/Users/Joseph Crisp/Desktop/UbuntuSharedFolder/Cumbria/vcfFiles/"
##########################
# Read in coverage files #
##########################
# # Read in the genome coverage file
# genomeCoverageFile <- paste(path, "genomeCoverageSummary_DP-20_21-07-2... |
4bf3cd3a99e44c7bb5232e850f0f6af67096e0b0 | 7c5d573c8ff95422259654a05dcd9c23f79ae7d6 | /first/8.R | 8206906a330b75c0d58ee2dac440f137aea7bd7c | [] | no_license | projBaseball/projBaseball | ca3b3d15b75a1cfb8d93a9aed5f95cd5d1dba343 | 9ce1360acb7a3d8499f920341ab6a3bfc1ff2ed8 | refs/heads/master | 2020-06-25T11:34:24.571999 | 2016-11-23T22:10:14 | 2016-11-23T22:10:14 | 74,617,393 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 917 | r | 8.R | baseballAnnualIncome <- read.csv("C:/Users/stories2/Documents/RProject/baseball.csv")
head(baseballAnnualIncome)
baseballAnnualIncomeWithNoCharacter <- baseballAnnualIncome[, -c(1:3)]
head(baseballAnnualIncomeWithNoCharacter)
summary(baseballAnnualIncomeWithNoCharacter)
dim(baseballAnnualIncomeWithNoCharacter)
trainD... |
35ed6b0a0a1281a6747b65f6a9bc2c0739d883e7 | d7374b02d320137517b021ab7f96a34f4b917c3b | /src/dhsm.R | a8b5ee5297ef372b826ee8e236ecdbb544fede00 | [
"MIT"
] | permissive | ApexRMS/stsimdmult | dd4d751b9fdda67e4ddacd0ec32b967281e9a1f8 | 4b004214698254f11a809fbffaf6bf837086a9e0 | refs/heads/master | 2021-06-11T07:10:03.287743 | 2021-04-13T13:54:49 | 2021-04-13T13:54:49 | 166,886,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,615 | r | dhsm.R | # *******************************************************************
# dhsm.R
#
# Developed by ApexRMS
# Last edited: 2014-12-12
# *******************************************************************
#
# This script should be called by the Syncrosim application, using a Sysem.Diagnostics.Process call ( same as gdal_tra... |
46f4401e2b5a1bec3b7170f1cfc9634f578ed112 | 5692c079b2deb1adc3631879db048fc5e5b1203f | /bedgraph2dmr_master.R | b6b3062a7aa99ba09848e45000b9dc6059dd124b | [] | no_license | rcquan/bedgraph2dmr | 83c40bf964e75b0e56939fa47bb8790661c9247d | 674f2570ccb0a3c77834a16c6e78b856564f7634 | refs/heads/master | 2021-01-10T20:58:09.080273 | 2015-05-17T07:15:14 | 2015-05-17T07:15:14 | 26,092,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,578 | r | bedgraph2dmr_master.R | # source("http://bioconductor.org/biocLite.R")
# biocLite("bsseq")
library(bsseq)
library(stringr)
source("R/bedgraph2dmr_helper.R")
## creates "results" directory if it does not exist
dir.create("results")
dir.create("results/tables")
dir.create("results/plots")
## read bedgraph files
BSmooth_obj <- read_bismark()
#... |
eab7b408bead73225e274056c0e5b5eca56ddf07 | 8ef521bc632f63d4e0de0b16edbe38d1211869f0 | /code/Figure3/corshrink_toeplitz.R | c1a69efca8c9850df7de9c4a482ca02ceb7de719 | [] | no_license | kkdey/CorShrink-pages | d8990ce4f85d69b005f288895619459199c4a8ec | 3fa5ad101c1f70075870ec070a47bcb87bb1e8e6 | refs/heads/master | 2021-07-14T19:58:50.122329 | 2018-09-16T01:27:44 | 2018-09-16T01:27:44 | 111,842,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,511 | r | corshrink_toeplitz.R |
############# CorShrink on Toeplitz matrices ######################
library(CorShrink)
library(glasso)
library(corpcor)
library(psych)
library(Matrix)
n <- 50
P <- 100
NUM_SIM <- 5
DM_toeplitz = function(n,P){
library("MASS")
index1=sort(sample(seq(1:n),(n/2)))
index2=seq(1:n)[-index1]
Sigmatp=function(... |
36eec0fbcca552c25876e0e5ff650c6a54eb9f4b | a7ec8ebd0a459a2eb96ef457dce697ee69a7ed6c | /ui.R | 4031b1b44c814a52c01673238a01a283a8fb18d6 | [] | no_license | ccdatatraits/DataScience_StockPredictor | 8cc8170f0b055e18318e380480c8114b65450568 | 9d055d8f2c210fba6bc5648d3075501ee4c6ce4f | refs/heads/master | 2020-12-18T11:55:51.489777 | 2016-08-16T06:26:27 | 2016-08-16T06:26:27 | 65,793,425 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,198 | r | ui.R |
# This is the user-interface definition of a Shiny web application
# for Share Price Predictor Application
#
shinyUI(fluidPage(
# Application title
titlePanel("Share Price Predictor Application"),
# Sidebar with a text input for name of share (Examples provided)
sidebarLayout(
sidebarPanel(
... |
fbb1f0f7ff262139708e5b1e0aba9eb98c78d195 | ee0fe0515a9acb3098ceb82c5615cb2a4e92c3df | /CacheMatrix/cachematrix.R | 644d7dfcd1234363baa38a634ce03dd31cf8fe41 | [] | no_license | ChrisMuir/coursera_r_programming | be0559c20459247fba8bdab8d41be8c07ba2e87c | e73cd414c399d01ddcde0426ec37daedf62955d6 | refs/heads/master | 2021-05-30T12:21:33.892644 | 2016-01-12T19:45:33 | 2016-01-12T19:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,965 | r | cachematrix.R | ## The functions below allow the user to store the output of a matrix inversion computation
## in a cache outside of the current R environment. This gives the user the ability to
## call upon the matrix inversion output at will without having to recompute multiple times.
## This is especially useful for use in loops i... |
4d7b2cdaa91dc465f21ffa18c97a209e60de2721 | ea94437e329e7dcf55549559e384f4cccdecc76c | /Self_ISLR/Chap4.R | e4a351046a21f0daea3bfc3b9020c2e08fb0a273 | [] | no_license | nahida47/student_projects | c8654c37ac3b275b2e6ca88b7cad9963365f219f | e7b77b3e8cce2e81d656b25ea58c0e6175baf407 | refs/heads/master | 2022-11-24T19:43:42.101847 | 2018-02-16T18:33:12 | 2018-02-16T18:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,455 | r | Chap4.R | # Load all library needed (like python $load magic)
LoadLibraries=function (){
library (ISLR)
library (MASS)
library (class)
source('E:/OneDrive/Github/R/Libs/plot_libs.R')
print (" The libraries and functions have been loaded .")}
# Load library
LoadLibraries()
# Practice
names(Smarket)
pairs(Smarket) # not clear
... |
77739aee2fafc26151843a1cb746d3bd1219eb0a | aa435daf8de56291db265de4184cbb86af2d26ab | /man/area.Rd | 3675d6ab11e0b240d692b273a73e8484c7fc2d30 | [] | no_license | fabriziomaturo/BioFTF | a87ad186283e99853d4443f7e1dc7fd3d7b20025 | ddfc94136187689a3c98dd5e38744739e57f2da7 | refs/heads/master | 2021-08-14T19:03:17.164997 | 2017-11-16T14:39:44 | 2017-11-16T14:39:44 | 110,982,087 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,765 | rd | area.Rd | \name{area}
\alias{area}
\title{Compute the area under the beta profile for each community.}
\usage{
area(x,n)
}
\arguments{
\item{x}{A data matrix with the abundance of the species (the rows are the communities and the columns indicate the species living in a community). The user can freely choose to use th... |
250039d43440b68ec2eb8b7d3bd09856fb26aba9 | 87e0e27810347db6c2d27846fcaf266eb0c5d8c3 | /man/build_county_crosswalk.Rd | d315889064426cef30091bbe9c6b417c86071c4a | [] | no_license | ucsf-bhhi/coc-data | bc245f1d44fef05fdba7976b3ebf570b788a7c99 | b215a8731c1c0ec2e9cfce1732eec99f058d086e | refs/heads/main | 2023-09-01T17:14:11.053770 | 2021-10-13T22:38:49 | 2021-10-13T22:38:49 | 379,758,960 | 1 | 0 | null | 2021-10-13T19:21:22 | 2021-06-24T00:11:47 | R | UTF-8 | R | false | true | 1,608 | rd | build_county_crosswalk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coc_county_tract_crosswalk.R
\name{build_county_crosswalk}
\alias{build_county_crosswalk}
\title{Creates the county to CoC crosswalk}
\usage{
build_county_crosswalk(tract_crosswalk)
}
\arguments{
\item{tract_crosswalk}{A tract to CoC crosswal... |
0bb04075ef0eb0943bb9b93f218cba5fa5d80a44 | 22a92f4df409056f130b3c12ce10de50cf07f131 | /complete.R | 417f87d9638d4fafb00e8f7afbce769d7ea9f82b | [] | no_license | Crixo24/R-coursera | d58350960b2158b0771c016c17c1b001fecf4507 | 4479c59030d7e51f8bc0b15bd0315a52c13c98ae | refs/heads/master | 2020-12-24T17:07:55.812917 | 2015-07-25T18:36:20 | 2015-07-25T18:36:20 | 39,697,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 999 | r | complete.R | complete <- function(directory, ids){
measures <- c()
id <- c()
nobs <- c()
for (f in seq_along(ids)){
if(floor(ids[f]/10) == 0){
monitor <- paste("00", toString(ids[f]), ".csv", sep="", collapse=NULL)
}
else if(floor(ids[f]/100) == 0){
monitor <- paste("0", toString(ids[f]), ".csv",... |
40fdf9366e0af314594ec70c500e6eacea0c8c21 | ddebce5c535d9e6fc8b0718d5929a52ecf347e63 | /src/r_code/classify_motions.r | 1d8f4dec912322af47d26f1beb06c9875c6669e1 | [
"MIT"
] | permissive | AcidLeroy/OpticalFlow | f3c8ded1c96a1dc078a44b0e46f4a396186f70f4 | 382530f4c50045b2430a55ea5b092b1e5bd24392 | refs/heads/master | 2021-01-17T07:14:11.467764 | 2016-10-11T02:34:45 | 2016-10-11T02:34:45 | 51,722,318 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,472 | r | classify_motions.r | # Clean up all variables and functions:
rm(list=ls())
library(class)
library(e1071)
# Function definitions:
# Plots a particular column in the vector with a given label name
# dataframe - This is the data frame that contains a list for each respective CDF
# column_name - This is the column for which to plot the box a... |
023e9acbad872ccde7c99ff25417af480f7ba41e | 9a4c7b3220f7304f63393cdeb73ed5c680d8c6f3 | /man/daily2climatol.Rd | 5dee7f0fe3b467b6d98b4590d7c0b8ce98e6b558 | [] | no_license | cran/climatol | 95e7fc1bd1fee03da85676ccdae77b3ffc4d7477 | 0805bcf92e6195a79d4ff60ebf4737c2ee2f5f2f | refs/heads/master | 2023-04-29T06:37:49.658766 | 2023-04-20T15:42:35 | 2023-04-20T15:42:35 | 17,718,557 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,842 | rd | daily2climatol.Rd | \name{daily2climatol}
\alias{daily2climatol}
\title{Convert daily data files to \code{climatol} input format}
\description{
This function can be useful to prepare the \code{climatol} input files when the users have their daily data in per station individual files.
}
\usage{
daily2climatol(stfile, stcol=1:6, datcol=1:... |
5c9018d5b20165f7a1ebcf7e885e6a4ac23e0b44 | 94e5844e76f79c8fb7375401581e33233aafab38 | /B2_code.R | e69c8b7f0c56f416ebdb89efedd5f982e348eba0 | [] | no_license | jake4599/FINC780_B2 | 5eb9100e785f1fdb743d9bfb42074a602614c4e4 | 2a4e1f5bd52e56b2a2976573d2fa9eab6ba6d0d5 | refs/heads/master | 2021-07-01T06:45:27.417733 | 2017-09-21T00:42:13 | 2017-09-21T00:42:13 | 104,282,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18 | r | B2_code.R | library("dplyr")
|
d581e662c75c3bcfa8e0b8fd2eb624f037aeb48b | 74addb8d2690d232427b4915344122ae9d8bc366 | /man/calibrate_deviations.Rd | fca41c8a5bdbb5502850065071e09419f867aba8 | [] | no_license | hydromethkust/Momocs | ddead4ca2fbeeef086a9894825bd1298a96c56c0 | e365307d4ec11c67667c03f7a217492494b873b9 | refs/heads/master | 2021-06-10T19:33:52.251459 | 2016-12-06T23:11:01 | 2016-12-06T23:11:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,058 | rd | calibrate_deviations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core-outopn-calibrate.R
\name{calibrate_deviations}
\alias{calibrate_deviations}
\title{Quantitative calibration, through deviations, for Out and Opn objects}
\usage{
calibrate_deviations(x, method, id, range, norm.centsize, dist.method,
in... |
86c9ea96c539d0efb26b76a9388a1015e5ae04ed | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dlm/examples/residuals.dlmFiltered.Rd.R | 0c659bdab5d45e439d6154aa1ad2edaadadfdb96 | [] | 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 | 330 | r | residuals.dlmFiltered.Rd.R | library(dlm)
### Name: residuals.dlmFiltered
### Title: One-step forecast errors
### Aliases: residuals.dlmFiltered
### Keywords: misc
### ** Examples
## diagnostic plots
nileMod <- dlmModPoly(1, dV = 15100, dW = 1468)
nileFilt <- dlmFilter(Nile, nileMod)
res <- residuals(nileFilt, sd=FALSE)
qqnorm(res)
tsdiag(nil... |
c6aabe471f507d4b6500a6e627f580b0146e955b | 8a190762a44d4ef33fbb8397c7798fabb48433fa | /man/get_catalogue.Rd | afe78680422633d3537d05157ff5094d3207ad43 | [
"MIT"
] | permissive | petrbouchal/czso | 570787c692cc018c52f6da4a0a286ca896dcf3b5 | e9a9cb4a60f8e760e050dd722d87d255feafb122 | refs/heads/master | 2023-09-02T11:43:52.998289 | 2023-08-21T19:20:36 | 2023-08-21T19:20:36 | 235,595,701 | 13 | 2 | NOASSERTION | 2021-09-22T07:35:00 | 2020-01-22T14:53:07 | R | UTF-8 | R | false | true | 333 | rd | get_catalogue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core.R
\name{get_catalogue}
\alias{get_catalogue}
\title{Deprecated: use \code{czso_get_catalogue()} instead}
\usage{
get_catalogue()
}
\value{
a tibble
}
\description{
\lifecycle{deprecated}
}
\examples{
# see `czso_get_catalogue()`
}
\keywo... |
68c8ce00dc7773cf241630a039de41eeec31cee5 | 6b6a836c3316ee2ea29ab70d67e6feb76321893c | /04_practice.r | 38422636f0005476266858392c976ac614b10ead | [] | no_license | TAKENOKO129/wang | a39648bac1e70d00e0017193e4d1578be9e67ed7 | 67925c100fd633e1cbc9e4ab9fd797e27f6e3c47 | refs/heads/main | 2023-01-05T02:08:52.364558 | 2020-11-03T10:06:49 | 2020-11-03T10:06:49 | 307,356,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,525 | r | 04_practice.r | #向量
8.1:10.9
8.5:1.5
c(1:6,8:0)
vector("numeric",3)
vector("complex",4)
vector("logical",5)
vector("character",5)
vector("list",5)
numeric(5)
complex(5)
logical(5)
character(5)
list(5)
#序列
seq.int(3,12)
seq.int(2.2,3.7)
seq.int(3,12,2)
seq.int(3.2,1.1,-0.1)
n <- 0
1:n
seq_len(n)
m <- 5
1:5
seq_len(m)
seq_len(3)
pp ... |
7344435fa3156c062f035952947865a1ea506256 | b0b9770e1cb4b96e6af3c311ef3b4a1205b4466b | /activity_1/Starter_script.R | 4cbb35c885aa61cc7db216b9c6765160a91e72d9 | [
"MIT"
] | permissive | jessicaguo/ESA-Bayesian-short-course | 4e09f1e6a516020bd66ab446309fa765287e3726 | 43b337b1a5d6fc19d2436b42265895a16c614c21 | refs/heads/main | 2023-06-30T09:48:05.206473 | 2021-08-06T20:34:17 | 2021-08-06T20:34:17 | 370,826,197 | 4 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,747 | r | Starter_script.R | #This is a starter script
# there are blanks to fill in.
# I describe these in the R markdown pdf and markdown file.
#setwd(...)
#load your data
Weights <- read.csv("GiantRats.csv",header=T)
head(Weights)
#create JAGS data object for the "jags.model()" function
data <- list(x = c(8.0, 15.0, 22.0, 29.0, 36.0), xbar = ... |
274ceb57d76cda3d3bc87c388f0a208577ad6563 | 6b61e50a88f336bf22f47893d5bcb373c8d1f30c | /code/CVgeneric.R | d4debbfa7f7eeb1d5f3834b0d1bb0d8131bef7a7 | [] | no_license | zhanyuanucb/stat-154-project | 7158f4dd6d0b862422466ca598e5b353886b8acc | 8260c92b6a12f0e44d951a3e625de97b1c20aa5e | refs/heads/master | 2020-05-19T03:18:30.592768 | 2019-05-04T05:58:01 | 2019-05-04T05:58:01 | 184,796,579 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,593 | r | CVgeneric.R | library(glmnet)
library(ggplot2)
library(dplyr)
library(HDCI)
library(caret)
library(MASS)
library(e1071)
library(glmnet)
library(tidyr)
library(ROCR)
library(randomForest)
library(purrr)
library(tidyr)
library(ggpubr)
CVgeneric <- function(train_x, train_y, k, loss_fn, model, thresh=0.5, mtry = 7, nodesize=50, ntree=... |
825ae7cfc19847f17aea45daf3d1866c1f306d5f | a2ba0b6390c2a8682dc0bf0df29e00c99cc19de7 | /man/source_decoratees.Rd | 7a145db3392ba0774ce5e7a69d563b86103716e0 | [] | no_license | nteetor/tinsel | 609cb8c6cfb31da894bf2147508e9b705369a0a6 | 24fa5f6ef5dc3ac30637b5f5d136ba07c3f80849 | refs/heads/master | 2021-05-03T08:45:45.966066 | 2016-11-21T17:15:56 | 2016-11-21T17:15:56 | 72,219,492 | 21 | 0 | null | 2016-11-15T21:29:36 | 2016-10-28T15:30:33 | R | UTF-8 | R | false | true | 1,490 | rd | source_decoratees.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/source-decoratees.R
\name{source_decoratees}
\alias{source_decoratees}
\title{Read and Parse Decoratees from a File}
\usage{
source_decoratees(file)
}
\arguments{
\item{file}{A character string specifying a file path.}
}
\description{
Given a... |
70ad65d3029b9c7eca546628541e995fb3823b1c | 33e9809a950d135fbf4d8157f608b0da6698dd2d | /man/rcox.Rd | 66a5547f5639797765027da46087379aa661e78e | [] | no_license | cran/gRcox | 3c5c302e1627f855f3d083421845f77a9cf6c7d0 | 1156162787adde6c779cab3db692162ab11452c3 | refs/heads/master | 2021-01-22T06:45:15.403393 | 2006-09-20T00:00:00 | 2006-09-20T00:00:00 | null | 0 | 0 | null | null | null | null | ISO-8859-15 | R | false | false | 1,907 | rd | rcox.Rd | \name{rcox}
\alias{rcox}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Main function for specifying RCON/RCOR models}
\description{
This is the main function for specifying and fitting RCON/RCOR models in the
package.
}
\usage{
rcox(gm = NULL, vcc = NULL, ecc = NULL, type = c("rcon... |
ed62e1cd06e186dee22d59cb0113c32987934a43 | bbd803cd4fe2623ae8f41f46586684691a2e7f92 | /R/AllClasses.R | ff424f70a61f24b3dd5f0db5644127ee95d7afa3 | [] | no_license | 12379Monty/clusterExperiment | 96d3359aefe60a65bfdfd3eb4f05a647347c020d | a26d494a9a23d467269d85c69348c4904a08bb56 | refs/heads/master | 2021-01-21T15:21:53.986787 | 2017-06-14T23:30:20 | 2017-06-14T23:30:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,615 | r | AllClasses.R | setOldClass("dendrogram")
setClassUnion("dendrogramOrNULL",members=c("dendrogram", "NULL"))
setClassUnion("matrixOrNULL",members=c("matrix", "NULL"))
setClassUnion("matrixOrMissing",members=c("matrix", "missing"))
#' @title Class ClusterExperiment
#'
#' @description \code{ClusterExperiment} is a class that extends
#' \... |
c81dd7080ddf160304a41a059e84f9480dd5efa2 | 0eac16b6617ccfae728818585558bcc23e064b50 | /R/RejectionABC.R | 0da7aa69c1cbccfcab22760fd2a441f619630728 | [
"MIT"
] | permissive | tom-jin/LazyABC | 2cf711bc9fd22d7f6d7f1beb4fff54cf5de3ee1a | a24d0f5cf243d4820ae7562293030669d500eeb3 | refs/heads/master | 2021-01-01T17:00:52.009640 | 2015-01-29T12:17:10 | 2015-01-29T12:17:10 | 30,016,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,269 | r | RejectionABC.R | #' Rejection Approximate Bayesian Computation
#'
#' Perform rejection ABC sampling on user specified distributions.
#'
#' This is a generic function: methods can be defined for it directly
#' or via the \code{\link{Summary}} group generic. For this to work properly,
#' the arguments \code{...} should be unnamed, and di... |
b99d54dd54c8cc4f62142f9282c1452ff6c6c905 | c1f4e7b9135bb3c4bc557d083e48ef558f89a691 | /Pollutantmean.R | 12982e21cc945a399fac59e2501c41dcd1fc96e9 | [] | no_license | briansun92/Rworkspace | 1339b94233d0b0cc1750f080b2b7b6788edc75b3 | 7f1e82f005333da67f8d4151c0fec8387efc4d60 | refs/heads/master | 2020-05-26T12:09:15.688967 | 2017-02-26T15:31:33 | 2017-02-26T15:31:33 | 82,476,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 472 | r | Pollutantmean.R |
pollutantmean<-function(directory,pollutant,id = 1:332){
file<- dir(directory)
setwd(directory)
data1<-data.frame (NaN)
names(data1)= pollutant
for(i in id){
tempcsv<-read.csv(file[i])
tempsub<-subset(tempcsv,select = pollutant)
da... |
f066cb680a1ce05d8617a4e147c16dee6eda4c47 | 4b9955701ca424c19bec17f0bc4b36f72cfcbcc4 | /R/FormatCheck.R | 479c7847c8fa41ffa49f765ac8459be7b7c5855a | [
"BSD-2-Clause"
] | permissive | mlr-org/mlrCPO | c238c4ddd72ece8549f8b48a79f02f543dac60e5 | e6fc62a4aeb2001a3760c9d1126f6f2ddd98cc54 | refs/heads/master | 2022-11-21T17:30:54.108189 | 2022-11-16T16:08:10 | 2022-11-16T16:08:10 | 100,395,368 | 39 | 4 | NOASSERTION | 2022-10-18T23:46:13 | 2017-08-15T16:08:30 | R | UTF-8 | R | false | false | 70,131 | r | FormatCheck.R | # FormatCheck.R is central within the CPO framework. It checks that
# incoming & outgoing data conforms with the properties declared by
# a CPO and with requirements implicit within the CPO framework
# (Task column not changed in Feature Operating CPOs, number of rows
# not changed unless Training Only CPO, data for re... |
85dcf47f3fdac8c54407adda8d380326570e865f | 3ba5b8154f416e465af765012bf400644c24529f | /script/graph/cilk_by_threads.R | 31d4c4783c34c1c53b5f641c1d75efea69493c9b | [] | no_license | Sommerio/ParComp5 | 99e18a5e52ce3c6ea0a373c5008ae11ac9dfff09 | 768ebbfc92e3aeefa7ac838320771a942812c8c7 | refs/heads/master | 2021-12-10T05:54:14.574843 | 2013-01-28T17:22:02 | 2013-01-28T17:22:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | cilk_by_threads.R | # Fixed Size
# Args: File Name, Desired Length, Out File
args <- commandArgs(trailingOnly=TRUE)
print(paste("cilk_by_threads.R, Args:", args, sep=""))
rawdata <- read.csv(args[1], header = FALSE, sep=";")
names(rawdata) <- c('length', 'threads', 'chunk', 'time')
full_data <- subset(rawdata, length == args[2], sele... |
6e4e21645de67f90d86b29115933f2ea2298dba3 | 41fab1ef7f98ddf4c00c380fc8eb87eb1f17105d | /ShinyCompact/ui.R | 4ff02d8159800e36684d6e8495523abd64195edc | [] | no_license | TesterHH/DataProductsShinyCourseProject | bd0a8ff00c45655b9411acaddd8014fcd35959b4 | 54cb5b6c757dd4b51153ad474e85087de3945518 | refs/heads/master | 2020-05-04T15:48:35.319315 | 2019-04-03T18:56:34 | 2019-04-03T18:56:34 | 179,257,207 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 643 | r | ui.R | shinyUI(pageWithSidebar(
headerPanel(""),
sidebarPanel(
radioButtons("secondVar", "Add predictor:",
c("Num. cylinders" = "cyl",
"Displacement" = "disp",
"Horsepower" = "hp",
"Rear ax. ratio" = "drat",
"Weight" =... |
8a8ef2838563f041d8a5e0cd7b5dd7b9235d9bd7 | 60827d96a5ce073b4531974503d0a2e4e295e648 | /R/run_expansion.R | 40bd55fbcbc0cf9c2212a3e6640ebf8121643288 | [] | no_license | ankitbit/qualmet | b6046d0e4bb28ef6b1f953a71c2544623fd886dc | c5336aaac5c6fe2c1aa270acbadd943aa3291ba3 | refs/heads/master | 2020-03-15T08:59:05.342735 | 2018-05-04T02:25:40 | 2018-05-04T02:25:40 | 112,934,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 757 | r | run_expansion.R |
#' @export
run_expansion<-function(data){
expansion_list<-numeric(9)
expansion_list[1]<-find_expansion(data, edge.betweenness.community(data))
expansion_list[2]<-find_expansion(data, fastgreedy.community(data))
expansion_list[3]<-find_expansion(data, label.propagation.community(data))
expansion_list[4... |
0627c2c5633f49d8985f0c37d9cc97baaf9f1cc9 | 5b7013e13b7aad9e6ee2604d6d9619519bddb69f | /envoy-scaling-experiment/graphMany.R | d7dfefe756c4696f0a214e3df4baff25a55aa7cf | [] | no_license | isabella232/cf-k8s-networking-scaling | 4d841595571198c122863e397fe4faabe8b9ec00 | bed654858024b3e85debcb10371f6ae84a97ab75 | refs/heads/master | 2022-12-29T15:08:26.462172 | 2020-10-13T21:14:24 | 2020-10-13T21:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,488 | r | graphMany.R | library(tidyverse)
library(gridExtra)
filename <- "./"
## Conversion Functions
mb_from_bytes <- function(x) {
return(round(x/(1024*1024), digits=1))
}
bytes_from_mb <- function(x) {
return(x * 1024 * 1024)
}
# Read in important times (runID, stamp, event)
times=read_csv(paste(filename, "importanttimes.csv", sep... |
cd3fc62ed488a15da655bed737eace7528920497 | 528b842b3050cd43298e7d816c770ae3e365a05a | /man/roct.Rd | e8ed633aed99e68472c2a02b2cffd009d575e7ff | [] | no_license | cran/onion | 87745dfd2f5d51a625c854759556c41d78968505 | fd2df964ee552d8a6036de3ca9f0170ace7c2e9d | refs/heads/master | 2021-07-23T20:19:47.744864 | 2021-02-11T06:00:02 | 2021-02-11T06:00:02 | 17,698,054 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,079 | rd | roct.Rd | \name{roct}
\alias{rquat}
\alias{roct}
\alias{romat}
\alias{ronionmat}
\title{Random onionic vector}
\description{
Random quaternion or octonion vectors and matrices
}
\usage{
rquat(n=5)
roct(n=5)
romat(type="quaternion", nrow=5, ncol=6, ...)
}
\arguments{
\item{n}{Length of random vector returned}
\item{nrow,nco... |
a7c12b275807bef135bfac3c6157d5a935ab3a4d | dcb6122c73a09dad2b0f50992e354558ff21440e | /test.R | 2c75d0fa0aa398fe222ec1f7808ff64f1dddd7c4 | [] | no_license | zlessner/delaware-state-house | fe5c52c95fa20452ce653d728563d57bcfd6d25f | 2ffeb6d2451930fe4128e43e5d2dbb790a52337d | refs/heads/master | 2022-12-16T15:01:06.759678 | 2020-09-21T17:50:17 | 2020-09-21T17:50:17 | 297,416,423 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,479 | r | test.R | # library(sf)
# library(tidyverse)
#
# nepal_shp <- read_sf('https://raw.githubusercontent.com/mesaugat/geoJSON-Nepal/master/nepal-districts.geojson')
# nepal_data <- read_csv('https://raw.githubusercontent.com/opennepal/odp-poverty/master/Human%20Poverty%20Index%20Value%20by%20Districts%20(2011)/data.csv')
#
# # cal... |
6396e37b2ae833a6f9f678897289ce4d6ae07682 | c8494552202bb07e46b3c328e9c503db92fda70e | /man/umx_reorder.Rd | e90b8f584291e3a04d2ce1a4b9923bdf7830a461 | [] | no_license | hmaes/umx | fcc85dc40774552d0f664036404e12bbdd75cc05 | 09b3c0efd4131248e30e67925b7650278ca78ff9 | refs/heads/master | 2021-01-24T20:26:15.667956 | 2014-09-05T09:02:47 | 2014-09-05T09:02:47 | 23,714,644 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,745 | rd | umx_reorder.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{umx_reorder}
\alias{umx_reorder}
\title{umx_reorder}
\usage{
umx_reorder(old, newOrder)
}
\arguments{
\item{old}{a square matrix of correlation or covariances to reorder}
\item{newOrder}{The order you'd like the variables to be in}
}
\value{
- the re-ordered (... |
55a3d7cc6a6fb2ed1f31a5d9958bc788ee90689a | aaa7d40918380b1b2d1f2c0c270d0a9900456a6d | /Code.R | 0a406e0033e3ed877d796c959a181629165444fc | [] | no_license | Annapurani93/Raghuram-Rajan | 90b82aa279f3856e98f9a1c5233f6649d979ca9a | cfa0da6750909134c3b0f74f9cd5a7ff5c4ed3ce | refs/heads/main | 2023-08-12T13:53:06.798280 | 2021-10-08T05:13:12 | 2021-10-08T05:13:12 | 412,127,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,283 | r | Code.R | library(tidytuesdayR)
library(tidyverse)
library(gtExtras)
library(gtable)
library(gt)
library(gtsummary)
tuesdata <- tidytuesdayR::tt_load(2021, week = 40)
papers <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-09-28/papers.csv')
authors <- readr::read_csv('https... |
a2fa1128b55ac72c654f49b53bd9a12faf814e6a | 3df9b54f81dd4f9d6af2b56e93384c4152a525ab | /DATA/data_preparation/find_1023ez_efilers.R | 5b6c39dc697c4984cfe28aef2b78f0ba61a8c136 | [] | no_license | Nonprofit-Open-Data-Collective/machine_learning_mission_codes | 7bca4e5eeca39730d7a297b8034f1a0a860a8614 | 74ce928dbf433bdedccee014e2467875041f6ddc | refs/heads/master | 2023-06-26T16:02:29.422816 | 2023-06-13T20:46:10 | 2023-06-13T20:46:10 | 169,822,293 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,609 | r | find_1023ez_efilers.R | library( dplyr )
library( tidyr )
setwd( "C:/Users/jdlecy/Dropbox/04 - PAPERS/01 - In Progress/18 - 1023 EZ Forms" )
"D:/Dropbox/04 - PAPERS/01 - In Progress/18 - 1023 EZ Forms/Data"
dd1 <- read.csv( "f1023ez_approvals_2014.csv", stringsAsFactors=F )
dd2 <- read.csv( "f1023ez_approvals_2015.csv", stringsAsFactors=F )... |
bbbe2ae9a5b389b98d9df8f45d2bda9526eb42fc | 417b44d377cc158e86bfd65830da272169672512 | /Assignment 1/Wenhan-Xiao/complete.R | 80902594611bf0b6c2d3c2645d199200386310df | [] | no_license | hanxu-ust/R-Programming-Assignments | a6cdc7a0bdcdffbde324d1c2e613fd31af5955f1 | 4b7db24572ec8fda359ca31e51df30977297e58e | refs/heads/master | 2022-08-11T13:34:41.594744 | 2014-07-14T01:54:37 | 2014-07-14T01:54:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,160 | r | complete.R | complete <- function(directory, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'id' is an integer vector indicating the monitor ID numbers
## to be used
## Return a data frame of the form:
## id nobs
## 1 117
## 2 1041
## ...
## ... |
0adc4f197c97200c1ebbbd326f623ad5f8d4da4e | d9aac903c28f21f10a713cb50d170381454321de | /NonParameterEstimation/KernelEstimate.R | 140007d4f6a5cdd93f8a9e6c354acf31a62e1156 | [] | no_license | syuoni/statistics-R | c38fa7c1628135e95ac9fdc61eda4ade07493a84 | cc790bdcc4b8a93656549e9cc6c3e681c5bad66f | refs/heads/master | 2020-09-18T06:37:20.031529 | 2016-10-13T11:18:28 | 2016-10-13T11:18:28 | 66,198,755 | 0 | 0 | null | 2016-10-13T01:56:34 | 2016-08-21T12:55:21 | Stata | UTF-8 | R | false | false | 2,626 | r | KernelEstimate.R | uniform.kernel <- function(z){
return(ifelse((z>-1) & (z<=1), 0.5, 0))
}
normal.kernel <- function(z){
return(dnorm(z))
}
kernel.density <- function(x, kernel.func, h=NULL, k=100){
minx <- min(x)
maxx <- max(x)
n <- length(x)
# get the optimal bandwidth
if(is.null(h)){
a <- integra... |
3cbf37c5e94f7e196cd3c03f34b93dcc9da88928 | 72d902d01c6ec6c1a0ba27db5a69c073135298e1 | /R/deps.R | 535fd911201408c3833de6273c9d9483750e1c5e | [
"MIT"
] | permissive | yonicd/pkgr.utils | c180281a7b4a0ecfbc0cf2caab37bba9eec72a06 | 97d916586b2fd3598e925ea461d9d20e26f4ba77 | refs/heads/master | 2022-11-17T18:48:50.150109 | 2020-07-14T02:01:36 | 2020-07-14T02:01:36 | 265,820,883 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,105 | r | deps.R | #' @title Extract DESCRIPTION file dependencies
#' @description Extract from a DESCRIPTION file a vector of the listed package
#' dependencies.
#' @param file PARAM_DESCRIPTION, Default: '.'
#' @param type character, type of file to parse, Default: c('DESCRIPTION','pkgSetup')
#' @param \dots arguments to pass to desc... |
c77f41d091e5a03e67c5e40c8b1403679e80998e | ed74cc0be2c6e52078cf3cc9fbce3727c33b6f5d | /plot4.R | e5445cf1c938b17e7873fd8329e1df6d5893b959 | [] | no_license | adaongithub/ExData_Plotting1 | 8bafa01d0732e5ccb121760ec6e290263563f395 | cc33e19e628e22e73d3b8341e7bac190cbd3a964 | refs/heads/master | 2021-01-16T22:00:34.423302 | 2015-03-06T21:40:18 | 2015-03-06T21:40:18 | 31,581,859 | 0 | 0 | null | 2015-03-03T05:52:18 | 2015-03-03T05:52:18 | null | UTF-8 | R | false | false | 3,584 | r | plot4.R |
# Exploratory Data Analysis Project #1
# Program plot4.R
# Writes a four-plot panel to file plot4.png
#
# See the project's problem statement for details.
# Download and read in the electric power data set for this program:
dirname <- "../data"
file1_local_zip_name <- "electric_power.zip"
file1_path ... |
0782b17be6dace46fc4d3c74c7bffcf8b804f1e1 | f162035df72bdce32a08b39c48ea85b0da1b5b29 | /R scripts/LIHC_splicing_figures.R | ec690b28257b7eeb2e6f84c3f1a6e01fe4735385 | [] | no_license | QiliShi/RNA-splicing-in-HCC | 42b67fa2a3d59f445ebd3ab580dabfbaffc32b01 | e259b7ff85f7e48c4758bc0287be04b94b2970d2 | refs/heads/master | 2020-07-06T16:22:40.240222 | 2019-08-19T02:44:14 | 2019-08-19T02:44:14 | 203,078,562 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,782 | r | LIHC_splicing_figures.R | ### Main figures of RNA splicing in HCC - Qili Shi - 2019-03-25
#AS pie
pie.data <- as.data.frame(table(LIHC.PI.DS.data$splice_type))
mycolor<-c('#ff5f58','#ffeb6d','#ffae42','#ff7cb3','#00b2e3','#00fadc','#9fe98c')
library(extrafont)
tiff(filename = 'E:/LIHC_splicing/pie_LIHC.tif', res=600, compression = "lzw", h... |
ca0ac4e8ffb84846175870a3e3bdac805e795f5a | 714dae73788e1237ad98193b5c4714c021da5cdc | /R/get_initial_params.R | e3b78e47312d9243df472ec18d42094d1bfda6e5 | [
"MIT"
] | permissive | davidmaciel/covertzbr | a69fa9586401e7dc59b6cdb4da89b95d77703167 | fb0e444e5a8b216f4f5dd6db8348100ae83a4eb7 | refs/heads/master | 2023-01-23T17:21:10.187508 | 2020-12-10T11:16:32 | 2020-12-10T11:16:32 | 273,328,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,590 | r | get_initial_params.R | #' Possible values for the Gompertz curves
#'
#' Given a min and and a max values for the three parameters in the gompertz equation,
#' generates a sequence of possible values and all the combinations of them.
#'
#' @param lambda_min Numeric. Minimun possible value for the lambda parameter in the gompertz
#' equation.
... |
07a3c7aaaac5a5d87c8f667738eeaa610bebde69 | 4712fa74d2c13ed84eb3ba2eb0c1c24a4680bb56 | /utilities.R | e8efb5c1a11e4f62985a3379f9ff41de3303c1c9 | [] | no_license | npwinkler/STAT-work | a7bfda8b5be48410f9db9bf848bd12baa4636f8d | 16a2432eb3977e8b1b8f5cd4163364f430a8082b | refs/heads/master | 2021-01-10T05:49:12.055700 | 2016-09-18T17:45:48 | 2016-09-18T17:45:48 | 51,219,298 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,550 | r | utilities.R | #Nolan Winkler
require(fastR)
# Utilities
#Get in utilities dataset and do quick look at it
data(utilities)
summary(utilities)
#raw plot
xyplot(ccf ~ (year+month/12), data=utilities, xlab="Time", ylab="Gas Usage (ccf)", main="Gas Usage by Month 1") -> prelimplot1
#group by months & output nicer
xyplot(ccf ~ ... |
2f06dfe9fae7b2cb1c5d17fd268dae8506db6852 | aa0db6e46b4641d4925ee4fc5e68bdadfb1c585c | /Lecture Code/Lecture 11/lecture_11_code.R | 77044b14d17357262e670c3f52acd573d772516e | [] | no_license | ChrisHayduk/Stat-Methods-and-Computation-Code | 7e3da8029d7b7121387d7a5919004fb99479fd60 | e956b5b016f7a1eb19fbba5ced8abf68a7f87355 | refs/heads/master | 2021-03-14T05:41:39.251877 | 2020-03-12T04:15:45 | 2020-03-12T04:15:45 | 246,741,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,726 | r | lecture_11_code.R | #############################################
## ##
## SDGB-7844 - Lecture 11 Code ##
## Hypothesis Testing ##
## Confidence Intervals ##
## Prof. Matthew Murphy ##
## #... |
39c793fa206f246264b25e6445884c956ef81971 | 264424e51a7c4684cea89a266946c60ec419413b | /R/set_options.R | 0513463ec06b93a8415ac8f75cf1ab2d71b77465 | [] | no_license | cran/mlergm | fe5e740abf775ee12d43c5a47084e4e94a3a75ac | 467a7a70ddbf5587eb6712f03e3f5359d43c8deb | refs/heads/master | 2021-08-31T20:08:22.327934 | 2021-08-23T15:00:02 | 2021-08-23T15:00:02 | 160,185,882 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,602 | r | set_options.R | #' Set and adjust options and settings.
#'
#' Function allows for specification of options and settings for simulation and estimation procedures.
#'
#' The main simulation settings are \code{burnin}, \code{interval}, and \code{sample_size}. For estimation of the loglikelihood value, options include \code{bridge_num} ... |
f56cbdd898fc00e5ff716fd67420c43b3767a289 | 4450235f92ae60899df1749dc2fed83101582318 | /ThesisRpackage/tests/testthat/Sampler/test_Sampler_TrueSampler.R | ff5ff584f3878d390861baf3aafab9c91ce336b3 | [
"MIT"
] | permissive | cayek/Thesis | c2f5048e793d33cc40c8576257d2c9016bc84c96 | 14d7c3fd03aac0ee940e883e37114420aa614b41 | refs/heads/master | 2021-03-27T20:35:08.500966 | 2017-11-18T10:50:58 | 2017-11-18T10:50:58 | 84,567,700 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,604 | r | test_Sampler_TrueSampler.R | library(testthat)
context("TrueDataSet")
test_that("TrueDataSet ind.clumping", {
s <- TrueSampler(G.file = matrix(1,3,3),
X.file = matrix(2,3,1),
outlier.file = NULL,
ind.clumping = c(2,3),
n = NULL,
L = NULL)
dat <- s... |
2d78effe157b71a021f986b143ef07a037073362 | b3a5c21adf890f0b66790f23332f0082e7f1b40a | /man/cli_par.Rd | 632d7df96c6dc9fdda70cc43fed383df01ea293a | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | r-lib/cli | 96886f849fe69f8435f2d22fccf5d00dee7a5ce4 | c36066ca6a208edbeb37ab13467a4dc6f5b5bbe2 | refs/heads/main | 2023-08-29T14:19:41.629395 | 2023-08-18T13:18:33 | 2023-08-18T13:18:33 | 89,723,016 | 560 | 69 | NOASSERTION | 2023-09-13T11:46:10 | 2017-04-28T16:10:28 | R | UTF-8 | R | false | true | 2,311 | rd | cli_par.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cli.R
\name{cli_par}
\alias{cli_par}
\title{CLI paragraph}
\usage{
cli_par(id = NULL, class = NULL, .auto_close = TRUE, .envir = parent.frame())
}
\arguments{
\item{id}{Element id, a string. If \code{NULL}, then a new id is generated
and retu... |
44c1fbfe628f0b6851ade0205c968313a2de3efc | e9c88f70d6a4cb2027eef741c5b86b13ff07142b | /run_models/data_SIM_model13A1_2020-03-11-16-22-51.R | ec9a718ac3bad1a29a48ad2247a7378a6125f8ab | [] | no_license | zhouyifan233/covid_adjusted_cfr | 947574828dcbee49cc49081c9d2aa4ca257e79c1 | 93e91366e348c8663e7e1106012f5e6779bb516f | refs/heads/master | 2021-03-15T04:01:43.304869 | 2020-03-19T12:17:29 | 2020-03-19T12:17:29 | 246,822,443 | 0 | 0 | null | 2020-03-12T11:57:18 | 2020-03-12T11:57:17 | null | UTF-8 | R | false | false | 4,145 | r | data_SIM_model13A1_2020-03-11-16-22-51.R | age_dist <-
c(0.118574863476131, 0.115752003134772, 0.12863483070627, 0.158984676786142, 0.150148122961526, 0.154368236677233, 0.105371638917985, 0.0496721490268388, 0.0184934783131012)
agedistr_cases <-
c(416, 549, 3619, 7600, 8571, 10008, 8583, 3918, 1408)
agedistr_deaths <-
c(0, 1, 7, 18, 38, 130, 309, 312, 208)
... |
3d410dcc00cb2646b1f89c27dd4462836ecfddcd | a779e45576dd8b6c3cb3667a5ccf6bb7a67eac89 | /R/mergePalaeoData.R | 3bfb43f0c4b7f706c062ffe53b66d9a74ce48fed | [] | no_license | BlasBenito/memoria | f78ee1352dcf108bdf69b91a2df19918a3dd86cc | fee69a25eab74cf860eac292d64cc97b8c8463b0 | refs/heads/master | 2022-02-22T18:51:11.390613 | 2022-02-18T12:01:21 | 2022-02-18T12:01:21 | 179,102,027 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,233 | r | mergePalaeoData.R | #' Merges palaeoecological datasets with different time resolution.
#'
#' @description It merges palaeoecological datasets with different time intervals between consecutive samples into a single dataset with samples separated by regular time intervals defined by the user
#'
#'
#' @usage mergePalaeoData(
#' datasets.li... |
6aba8a13273729994e07c4ea8983b8ae6816fb2f | f242ea29cfd9d5cdf3fafdc3e5f72b180c35c5a5 | /data/scripts/feature-engineering-data-classical-methods.R | 9175514ed46ca71c3cf257777a0e5675518ad75f | [] | no_license | jtbai/act-7009-ml | df445e47b24a3cfec5cf5ccd7d3db2137bceff79 | 1516d16b4ef068feca8ff6cb3b571111b39d16c8 | refs/heads/master | 2020-03-14T05:07:21.941912 | 2018-04-21T01:38:28 | 2018-04-21T01:38:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,447 | r | feature-engineering-data-classical-methods.R | # -------------------------------------------------------------------------
# Title: preprocess-data
# Goal: This script is aimed to functionalize the features engineering of the classic models
# Date: April 2018
# Author: Stéphane Caron
# -------------------------------------------------------------------------
# Fea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.