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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
874e1b1593c203b8d55c08f7820ca54d6e240692 | 2764167b5743be62adadc491ec7dfde210e0703d | /R/linesGEOmapXY.R | 84bdb752f90a00de48db40b642315398677e43d8 | [] | no_license | cran/GEOmap | 528a4cbe293211d324405037eb280b415e65f62e | 0149894022496cee8237868b0bb693d00ef01e41 | refs/heads/master | 2023-08-18T14:47:52.021469 | 2023-08-13T12:40:21 | 2023-08-13T13:30:31 | 17,713,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 324 | r | linesGEOmapXY.R | linesGEOmapXY<-function(lat=0, lon=0, PROJ=NULL, PMAT=NULL, ... )
{
if(missing(PMAT)) { PMAT=NULL }
pxy = GLOB.XY(lat, lon, PROJ)
if(!is.null(PMAT))
{
tem1 = trans3d(pxy$x, pxy$y, rep(0, length(pxy$y)) , PMAT)
}
else
{
tem1 =pxy
}
lines(tem1, ...)
... |
ad180e011635588840afcdeae73ff1360b69230f | 4ea866e3c680c7b4b00ec834e51f46416bf3c421 | /atac_peak_annotation.r | f12ea015d385fa13e76f0ca7f56639b7e43343de | [] | no_license | rywet56/GenomicsPeakAnnotation | d92d9f1f22a90fdf2a98f43433ddb720852da536 | 253c103b43d677ab5f9c6a60828c592816c5dccd | refs/heads/master | 2023-07-03T07:20:58.575118 | 2021-08-04T09:32:41 | 2021-08-04T09:32:41 | 380,727,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,670 | r | atac_peak_annotation.r | library(GenomicRanges)
library(annotate)
library(org.At.tair.db)
############################################################
# Process GTF file and Add introns to GTF file
############################################################
# # Get GTF file
# ##############
# # Read in the raw gtf file and process it so tha... |
08a041e5bdc8cc229b3bcbad5b8e30a5869b40f7 | 163994117d94800e0723b64d51e3e2f9f1616ff7 | /R/makeZ.R | 240f70487e7c7fb04a4b701ffa8112ca2ff61806 | [
"MIT"
] | permissive | harvard-P01/medBSA | 04b4e99c741b56d8fcea72be1eaa3d87fa6e34b7 | 0d8c4f9c5c2622fb474033a9844f673c499dc6dc | refs/heads/master | 2021-01-19T20:34:24.572765 | 2015-10-12T18:29:44 | 2015-10-12T18:29:44 | 46,285,644 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,191 | r | makeZ.R | #' Generate Z variables (confounders) for simulation
#'
#' This function generates a dataset of size ss with the Z parameters located
#' in the params[[Z]] list. The Z's are created successively, so the Z1 depends
#' on nothing, while Z2 can depend on Z1, and so on. The dimension of Z is
#' determined by Zp. Whe... |
a867ebc6001037e44651f19c1fcee7e69fbb3671 | 3a04468a8440fe5d8d2c8665334b654a63f1af74 | /3_r_DataStructures.R | 55ae1ea6b5a0158d74170cdafcbde9da12274d23 | [] | no_license | sukesh-reddy/rTutorials | b6c6e76538d8b66c897fb61a6d50c4ba497cf000 | cd6fd4e87d1c311361b13ef0c24379d45bb71384 | refs/heads/master | 2021-05-17T19:02:53.523434 | 2020-04-12T07:58:25 | 2020-04-12T07:58:25 | 250,930,313 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,040 | r | 3_r_DataStructures.R | # ##################################################
# # R - Data Strucutres
# # Vectors, matrices, arrays, data frames , list
# ##################################################
#
# ########## Vector ##############
# a <- c(1,2,3,45)
# a <- c(1:5)
#
# #acessing elements
# a[1]
# a[c(1,3)]
#
# # matrices ##########... |
cd2d889e16b45005b0b3b5b72093932577946120 | 2b7066f30b070930a3e325f9a2f3abbf774da88c | /man/print.roll.Rd | 2eea8849cfb0138cee87a1e9b168cf0129f0d224 | [] | no_license | clagett/dieroller | cc1e896f648af366669bbf31fa26c263fb12e40a | 21f0c2af629d09753262637e77a2668675b89d09 | refs/heads/master | 2020-03-14T01:30:20.126938 | 2018-04-28T06:15:30 | 2018-04-28T06:15:30 | 131,378,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 235 | rd | print.roll.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rolls.R
\name{print.roll}
\alias{print.roll}
\title{print.roll}
\usage{
\method{print}{roll}(x, ...)
}
\description{
print method for objects of type roll
}
|
93121289e1a6707aff79673666da769428165092 | 05c8ef8706b84a0c4abd5886cf98b246495fed36 | /TP Final/codigo.R | 91bd0fb89ab6a86d13c30d6e883443e470d5dd6b | [] | no_license | Tomasfdel/Trabajos-DM | dbc53ff4bd544b5f09da2b7ed9209c552a33855e | bbf40027d7853aa0f187d7453d5c216be027982a | refs/heads/main | 2023-02-27T17:02:19.241945 | 2021-01-31T07:15:31 | 2021-01-31T07:15:31 | 334,008,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,590 | r | codigo.R | #~ CARGA DE DATOS
dataset = read.csv("nasa.csv")
#~ PRETRATAMIENDO DE DATOS
#~ Eliminación de columnas con información ya presente pero con otra unidad de medición.
dataset = dataset[,-(6:11)]
dataset = dataset[,-(9:10)]
dataset = dataset[,-c(9, 11, 12)]
#~ Eliminación de columnas con valores constantes.
dataset = da... |
908dd9607399891401876bd29c1b3aed6f79305b | 9c173a9342104e6779fea737e4ebe3b5e066098a | /7 - Regression Models/Quiz 2/Question 7.R | 720425a6d1c046f115bb38d21aef5db19c1fccb6 | [] | no_license | xush65/Data-Scientist-MOOC | 639fa7ad291ae4607eb361099d74f7a36bd78322 | f91e8f71ce63d82242edfd4c36520211261a01d3 | refs/heads/master | 2021-05-30T09:42:05.456437 | 2014-12-17T10:41:49 | 2014-12-17T10:41:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | r | Question 7.R | data(mtcars)
# Consider again the mtcars data set and a linear regression model with mpg as predicted by weight (in 1,000 lbs).
# A "short" ton is defined as 2,000 lbs.
# Construct a 95% confidence interval for the expected change in mpg per 1 short ton increase in weight.
# Give the lower endpoint.
# to get an incr... |
3d145138534c89e053aa22e94193e8ec2882b140 | 5db2cd0763446283caeaaf5a619be1685bfc3268 | /scripts/div_functions.R | 00313ce4b6658e687cf63694e6d04e2e8e38011e | [] | no_license | MoBiodiv/div_gradient | e8eb6c54d46476ee476222e05fa6708c368371ca | 1f754653e78b66b9457ddaa373fdfd20b9f847b5 | refs/heads/master | 2020-12-23T00:17:21.150961 | 2016-08-08T09:05:41 | 2016-08-08T09:05:41 | 38,508,209 | 0 | 2 | null | 2016-07-12T13:30:47 | 2015-07-03T19:45:47 | R | UTF-8 | R | false | false | 2,787 | r | div_functions.R |
stems2comm = function(spids, stem_coords, plot_size, domain,
abu=NULL, rm_absent_sp=TRUE)
{
## Convert a mapped stem dataset into a community data matrix.
## Output:
## A community matrix where each row is a differnet pixel on a grid.
## Arguments:
## spids: an integer or string s... |
d9bcf9876b27a5866bcbbd04a769ab6a8f3d06ba | 0eb22bf570e6a3f079b4e561568627c4f1fa815b | /man/equacoes.Rd | 77b7050d682684e16630ffc711a48a88be8bb4dc | [
"MIT"
] | permissive | lfpdroubi/appraiseR | 7e6795d3287dfeb8bcc50e38d33ae6c7bafdf5ca | 8ed726beb34c7e16005abda21582ebb5e46c5169 | refs/heads/master | 2022-05-26T20:43:45.722451 | 2022-03-19T16:00:20 | 2022-03-19T16:00:20 | 211,920,843 | 3 | 1 | NOASSERTION | 2020-10-15T11:49:17 | 2019-09-30T17:54:13 | R | UTF-8 | R | false | true | 903 | rd | equacoes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{equacoes}
\alias{equacoes}
\title{Regression equation}
\usage{
equacoes(
object,
type = c("reg", "est"),
inline = TRUE,
func,
accuracy = 100,
f = round,
errorTerm = TRUE
)
}
\arguments{
\item{object}{object of cl... |
99f750124110007c8e01eb2921474d0d0ea1cca8 | ea7f5f5fd4d9be8ba9e772f6cd087513861dd61b | /tests/testthat/tests.R | f43864c1fb7301a99e73fcd54d27385dab66a4da | [] | no_license | blauwers/rEarthQuakes | 38e3d31efb7280ea1c24296d4e9f40cf69231299 | 36775dd00d7fd0048e42515b863530ce46ff9d1f | refs/heads/master | 2021-07-08T00:44:20.177836 | 2017-10-05T14:23:53 | 2017-10-05T14:23:53 | 105,855,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,216 | r | tests.R | context("Test every function in the package")
data <- readr::read_delim("https://www.ngdc.noaa.gov/nndc/struts/results?type_0=Exact&query_0=$ID&t=101650&s=13&d=189&dfn=signif.txt", delim = "\t")
# eq_clean_data is supposed to return a data frame
test_that("eq_clean_data returns data frame", {
expect_is(eq_cle... |
f4969cee09277b4f28eb50cbf7cc98c3662de3fa | 7e2550b3c6c8e0c05c9a2f0c530a28255ff5be2b | /MSDABridgeCoursework/Week_5_Final/R_Scratchpad.R | 5183e6fa670f37e431aa8b2714194cc23630c336 | [] | no_license | ChristopheHunt/MSDA---Coursework | 48ed46f521bc16f398162cbd37832e60fdb7d30a | 2cf45ed9f39398c44150d0de30f0733a175db959 | refs/heads/master | 2021-01-17T01:05:24.376315 | 2018-02-18T13:30:28 | 2018-02-18T13:30:28 | 51,212,211 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 294 | r | R_Scratchpad.R | library(babynames)
x <- data.frame(babynames)
x.sub1 <- subset(x, year > 2010 & prop > 2.366e-05)
x.sub1
hist(x.sub1$prop)
boxplot(x.sub1$n)
plot(x = x.sub1$n, y = x.sub1$prop)
str(x.sub1)
summary(x)
head(x)
hist(x$prop)
histogram
boxplot
scatterplot
table(x.sub1$name)
summary(x.sub1$)
|
32d3777f24adef0128d10d858f77e9c8f45f71ff | e1a6c389bf0b04ada8edcc387543b9b4bcc17697 | /PA_BotsWithIndiv.R | 5bae27ed704127caa0a02a7d2efde49962a87469 | [] | no_license | kurtawirth/dissertation | 2953672d1180ebfb31a393fd1848ad8db75d4b6b | a2c8213bf3a3788a363b9291c4354ba404820a64 | refs/heads/master | 2022-11-17T16:16:17.712291 | 2020-07-19T20:55:50 | 2020-07-19T20:55:50 | 280,940,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,247 | r | PA_BotsWithIndiv.R | library(tidyverse)
library(jsonlite)
library(sentimentr)
#Change name of file as needed
file = "D:/Users/Kurt/Documents/Research/Dissertation/Data/tweets/01172020/economy01172020.json"
#Import file as a dataframe, limit to first 2000 tweets
current_day = fromJSON(file) %>% as.data.frame()
current_day = current_da... |
540eb50ef34f734d1e9b848d2715d0fd8a0fff65 | 794a02c3d58e497bcf6d6aad8531ab2d3cdbb3e0 | /apps/China_census/controllers/bak/house.R | 5888e1d7646c713d01526e07895c1a9b2e329a67 | [] | no_license | GL-Li/shiny-server | b154ef57afd0ebc75f186def9188184fde567abf | 8b9a4c953d8666da126df7ee712c9d31b3067a9f | refs/heads/master | 2020-12-10T01:33:11.364204 | 2020-01-13T02:04:50 | 2020-01-13T02:04:50 | 233,470,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,932 | r | house.R | # click on a map to get distribution ==========================================
# get reactive variables from the input
roomDistr <- reactive(get(paste0("houseDistr", input$chooseWhere))$roomDistr )
plotRoomDistr <- reactive(get(paste0("houseDistr", input$chooseWhere))$plotRoomDistr)
roomPopularMap <- reactive(get(past... |
747f8a428cf4d7abe4fab845225213184584972d | 258efad8aa80325ce0e860690672dfb61d6d0756 | /Src/loadPackages.R | 4de8841a818b7782f6fe3f88c26b142ff5597a83 | [] | no_license | janniklas93/OptimizeParameters | c0b1c10f72553ed80cd93829927ae3beddf8b454 | c31255ec64329c69a7cf9f0ea6d3af9188dca1fa | refs/heads/master | 2021-01-20T22:10:44.026733 | 2016-07-26T09:33:58 | 2016-07-26T09:33:58 | 60,241,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 596 | r | loadPackages.R | suppressMessages(library(foreach))
suppressMessages(library(doParallel))
suppressMessages(library(parallel))
suppressMessages(library(doMC))
suppressMessages(library(stringr))
suppressMessages(library(hgu133plus2.db))
suppressMessages(library(hgu133a.db))
suppressMessages(library(affy))
suppressMessages(library(simplea... |
7522dc73f12463d63a22e60f9ea8263d4f6427f9 | 11b21336733fee090e1490f193624aa9b23f962b | /man/LRT_multiple_groups.Rd | a316246c4ff5dc42ffc05d6906e4e636db41bf46 | [] | no_license | satabdisaha1288/scBT | 4f39d4c3d132e76b8e51a7960f5f0b1f9403b4c4 | 39c2db4d80ceb1f3087929881e243d576d32e571 | refs/heads/main | 2023-08-14T11:14:53.981821 | 2021-09-15T18:39:57 | 2021-09-15T18:39:57 | 336,386,409 | 2 | 0 | null | 2021-09-15T18:39:58 | 2021-02-05T20:52:00 | R | UTF-8 | R | false | true | 547 | rd | LRT_multiple_groups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/new_LRT_multipleGroups.R
\name{LRT_multiple_groups}
\alias{LRT_multiple_groups}
\title{INSERT DESCRIPTION HERE}
\usage{
LRT_multiple_groups(data.list)
}
\arguments{
\item{data}{the list of vectors of the positive observations( must of length ... |
d875fdafdd8e22cbb0ea30a410f276126c330cac | bd7975600f74c964f0b7ed226daed0eb687921e3 | /week2/complete.R | 6fe8195babb12457044eeef87c3c08e8390349d7 | [] | no_license | vinod-desireddy/Coursera-Rprogramming | f6d6f0029c0f85c80f010c1065247af17a65af69 | 6376e4181233d472586452bd75ad61e0fc81935b | refs/heads/master | 2022-04-23T02:10:38.777717 | 2020-04-28T10:41:21 | 2020-04-28T10:41:21 | 259,593,419 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 937 | r | complete.R | # Function that reads a directory full of files and reports
# the number of completely observed cases in each data file.
# The function should return a data frame where the first column is
# the name of the file and the second column is the number of complete cases
source('readdata.R')
#loading d... |
5758dac667f5dca57ee2ef6519e0e0881bbe2df4 | 9bdef4e24ce5ba2309a4d5e678430e019b204597 | /R/bb.R | e9191681b4a6524f321a262c4f26dc78a2336d47 | [] | no_license | mikebesso/two.laws.quant.indicators | 30f51557f1185fa0adcc511a904ac77fcfe9dfcb | ec22a6b605d5fd55b6028717c2ceeb705e194c77 | refs/heads/master | 2021-09-02T01:11:59.339061 | 2017-12-29T15:09:25 | 2017-12-29T15:09:25 | 115,731,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 780 | r | bb.R | #' @include attributes.R
#' @include averages.R
NULL
#' @export
CalculateBBands <- function(hlc, n = 20, sd = 2, maType = CalculateSMA){
BB <- dplyr::as_data_frame(TTR::BBands(hlc, n))
Indicator <- InitializeIndicator(
name = "BBands",
parameters = list(n = n, sd = sd),
BB.Lower = BB$dn,
BB.Uppe... |
29bb07b5d7f188674ed9a1f0c3258a41e34012cf | 96689fad580675151d46b6219dca9f322f8539ac | /19oct.R | 6a98e196a16d8d806628175d72d7f6e6b831e84d | [] | no_license | dency14/analytics | 0cfe277db9f9f1a86759e4342cf68db3b0ef0b00 | 55b7cba1bdadd612194ee89ed5ba829989ad8b10 | refs/heads/master | 2020-08-02T18:20:30.472761 | 2019-12-01T08:41:48 | 2019-12-01T08:41:48 | 211,462,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,781 | r | 19oct.R | library('dplyr')
head(mtcars)
mtcars%>%filter(gear==2& mpg>20)
mtcars%>%arrange(hp)
mtcars%>%top_n(1,hp)
mtcars%>%top_n(-1,hp)
mtcars%>%top_n(-3,hp)
mtcars%>%top_n(4,hp)
mtcars%>%filter(gear==3)%>%top_n(3,hp)
mtcars%>%group_by(gear)%>% summarise(total=n())
mtcars%>%group_by()
mtcars%>%group_by(gear)%>% summarise(total... |
0067fedf11bafdc8fc77a23e59ec8d62dcd52733 | 976eec1405c3477698f2bca0ddebb350b074b2b8 | /plot6.R | e25096a36c4daf7e7a52e585bb19e27e203d0298 | [] | no_license | bigdatascience/EDAProject2 | c5c4fcb6d60edf804095507f087ed65e413595c7 | 4a3e6ae35cf34c0a6e9540fd1ba2d0cb9b528e5d | refs/heads/master | 2020-04-27T23:17:57.275256 | 2014-05-25T23:11:55 | 2014-05-25T23:11:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,265 | r | plot6.R | unzip(".exdata_data_NEI_data.zip", exdir="./")
NEI=readRDS("summarySCC_PM25.rds")
SCC=readRDS("Source_Classification_Code.rds")
#Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California (fips == "06037"). Which city has seen greater cha... |
69da886d7930cc539ee7930f5fb85def538252ae | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkIconThemeAppendSearchPath.Rd | afd6f0a9884fdf86bbd236f457e1f46bc1deb7b3 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 479 | rd | gtkIconThemeAppendSearchPath.Rd | \alias{gtkIconThemeAppendSearchPath}
\name{gtkIconThemeAppendSearchPath}
\title{gtkIconThemeAppendSearchPath}
\description{Appends a directory to the search path.
See \code{\link{gtkIconThemeSetSearchPath}}.}
\usage{gtkIconThemeAppendSearchPath(object, path)}
\arguments{
\item{\verb{object}}{a \code{\link{GtkIconTheme... |
d6f0bb0b4b857a4b24342d7bc6eacc90f3f86135 | 7e2132998f818a4c4395b1bda40eae67d3ba45d8 | /week_05/day3/app.R | d8fa6acfc373d62f3ca4960d081882f210de2b23 | [] | no_license | jwwood2020/codeclan_homework_johnwood | eed4df47389e6ef5717c05800ba58c07662218a3 | 14e75c34b26ddc0108a94c901c3c11742dc7970f | refs/heads/main | 2023-06-02T08:29:17.681213 | 2021-06-16T19:52:03 | 2021-06-16T19:52:03 | 352,730,089 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,113 | r | app.R | library(shiny)
library(tidyverse)
library(CodeClanData)
library(shinythemes)
ui <- fluidPage(
theme = shinytheme("flatly"),
titlePanel(tags$h1("Five Country Medal Comparison")),
tabsetPanel(
tabPanel( "Choose your inputs",
fluidRow(
column(4,
... |
03750625290408c4705be6fa396693ef892858b3 | ed049e9bec00ceb3d8cc5386b8a42ef92efdb9cf | /R/auto_style.R | df6394a2b32e61efaf02b21968592bc719ce7b69 | [] | no_license | harryprince/xltabr | 1477bb1ba45c1bdbafa459ad9b209f99298a61cf | 1ed1c309112bdab3a1d718934034ec2ba79e1572 | refs/heads/master | 2020-03-27T10:44:44.314314 | 2017-11-28T10:39:28 | 2017-11-28T10:39:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,656 | r | auto_style.R | # Functions in this file are used to attempt to auto-detect styles from the information in the table
#' Use the data type of the columns to choose an automatic Excel format for body cells
#'
#' This function reads styling from the styles defined [here](https://github.com/moj-analytical-services/xltabr/blob/master/inst... |
886ccd50c11e31879499099fed519ec73db7e44a | 589fbea2ca497d0d2e4c56f323cc3034bc5513c4 | /2020-08-25-chopped.R | 4b94683bc4999065804a65e9b9eb0d6b5100d5d8 | [] | no_license | aekendig/TidyTuesday | e6b64398e826d64533ffb83e9d8f97816596ba6b | 67d0ba97c1b1b1d09902a46a161cff38f7d507f5 | refs/heads/master | 2021-02-13T14:16:40.501075 | 2020-10-07T12:19:47 | 2020-10-07T12:19:47 | 244,703,230 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,342 | r | 2020-08-25-chopped.R | #### set-up ####
# description
# https://github.com/rfordatascience/tidytuesday/blob/master/data/2020/2020-08-25/readme.md
# clear environment
rm(list = ls())
# load packages
library(tidyverse)
# install.packages("NutrienTrackeR")
library(NutrienTrackeR)
# import data
chopped <- readr::read_tsv('https://raw.githubu... |
a5ed8d077402da9c89b1584e183d48aa332d78eb | f6123e538f3a530126c4673be2c4679e63f505bd | /R/start.valgrid.R | 1ae2e66a054010938e74528f91d0e1020ded7df4 | [] | no_license | cran/pencopula | 8fe1124a1447f28b05a72648b4934c87336f75af | dc7411113e6a15bc9c15ebebb17e3348fb2cb30b | refs/heads/master | 2021-01-01T17:17:14.765551 | 2018-08-31T16:40:06 | 2018-08-31T16:40:06 | 17,698,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,897 | r | start.valgrid.R | start.valgrid <- function(penden.env) {
p <- get("p",penden.env)
X.knots <- matrix(NA,get("DD",penden.env),p)
tilde.Psi.d.knots.start.r <- array(NA, dim=c(dim(X.knots)[1],get("ddb",penden.env),p))
for(j in 1:p) X.knots[,j] <- get("knots.t",penden.env)[get("Index.basis.D",penden.env)[,j]]
env.extend... |
cf5e62ce560c9683382bc16c8a477df763e4d459 | 52680e152f5c2c4a81d340eafc7bd9ee2d2a8e70 | /1_data_prep.R | 01284101bb9ce9863c3f0e8889cb6693b2763ff8 | [] | no_license | AdamCSmithCWS/CWS_National_Harvest_Survey | 31acfa47b3d066bbfe77fdbcc01dbdb4247a7d8f | e9db5fcb2a64064d52b775ed20b12c333699efbe | refs/heads/main | 2023-07-27T00:18:30.561752 | 2023-07-15T11:07:36 | 2023-07-15T11:07:36 | 340,784,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,610 | r | 1_data_prep.R |
####### the following commented out lines ~ 400 lines
## represent the add-hoc processes required to load all the
## historical harvest survey data
## the line :load("full data prep updated harvest model.RData")
## on about line-400 will load everything created below
###
# species changes for final harvest surve... |
20d91b66fa436ef2cd8c64563c4fa0e4e1b31dee | 64e50bac8ef7b07d679118e12fe2501089e89dfb | /man/y.Rd | a9252e33e06e0993f74f5892d608b55b2faa0498 | [] | no_license | atomczik/linmod | c633f4596ef52b6a7c081baef71d35f958087a97 | f9a18c56293a0918e67bbbef9d97987db4fb358d | refs/heads/master | 2021-01-22T11:20:42.501134 | 2015-01-07T20:53:26 | 2015-01-07T20:53:26 | 28,930,426 | 0 | 1 | null | 2015-01-07T20:53:27 | 2015-01-07T19:36:53 | R | UTF-8 | R | false | false | 279 | rd | y.Rd | \name{y}
\alias{y}
\docType{data}
\title{
ds}
\description{
sdf}
\usage{data(y)}
\format{
The format is:
num [1:144] 7 7.4 9.5 7.2 7.3 7.6 8.1 8.2 8.3 8.5 ...
}
\details{
sdf}
\source{
sf}
\references{
sf}
\examples{
data(y)
## maybe str(y) ; plot(y) ...
}
\keyword{datasets}
|
6fb342f828f2099802c5cecc68fc409f401c01bc | a35729a973c1e27bec65cca5abb480d014ba491e | /2019-06-24_Plumber/entrypoint.R | 3a19ffc92c20949a41c9bffe7edc9d2b6b79eaa5 | [] | no_license | EdwinChirre/encuentros | 4f34bf0e63e931de46182425ab8d110f99325432 | d2235a3388bafc1af07789682fa88b8e2bbc3ae8 | refs/heads/master | 2022-04-17T11:37:08.286382 | 2019-07-27T17:12:28 | 2019-07-27T17:12:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 68 | r | entrypoint.R | library(plumber)
p <- plumb("plomeriaAvance.R")
p$run(port = 8888)
|
cb2a8d07cf16637d17e8abe2e1d162091d463c30 | 6b9a6ce9762d57565365484262b6804b65a0ac8a | /codes/1_quality_check/indexcov_read_depth_postprocessing.R | 4b5a649408de97ca4e570d24270e9db53d197ce9 | [
"MIT"
] | permissive | phansol/gremlin | 9f75ae9feed6fbad1979bc37342f6178d5139ecd | 3c178143f9181d5b3c7bf6f0d74d1346eabb1426 | refs/heads/main | 2023-04-07T19:55:21.847037 | 2022-12-12T09:00:25 | 2022-12-12T09:00:25 | 330,940,350 | 5 | 1 | null | 2021-07-14T03:35:39 | 2021-01-19T10:17:20 | Python | UTF-8 | R | false | false | 4,534 | r | indexcov_read_depth_postprocessing.R | #' variable coverage flag
#' args1 = tumour.indexcov.bed.gz
#' args2 = normal.indexcov.bed.gz
#' args3 = reference version (19 or 38)
#' args4 = reference.fasta.fai
suppressMessages(library(tidyverse))
suppressMessages(library(GWASTools))
suppressMessages(library(rpart))
options(warn = -1)
args <- commandArgs(traili... |
573df4651142bf5b89159196a68a8c7343d662a1 | 311dbdc75af75f439fcdd3eddcd0ad0d71fdf977 | /R/p005.R | 3a0e52e2c29b36964733ffaa67cb791473c30343 | [] | no_license | EGrandgi/projectEuler | bc76db45983de94c0d39f49a3b6d7a24fab29f12 | 8f3df9857ff83762155e13130ec93a93d44b366b | refs/heads/master | 2021-06-16T04:06:36.526142 | 2021-05-29T07:44:37 | 2021-05-29T07:44:37 | 192,505,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | r | p005.R | ### 0005
is.mdiv <- function(n, until) {
i <- 0
while (i < until) {
i <- i + 1
if (n%%i == 0) {
answer <- TRUE
} else {
answer <- FALSE
i <- until + 1
}
}
answer
}
smallest_mdiv <- function(until) {
n <- 1
while (is.mdiv(n, unt... |
e92af8075c2d9b97a09315349f542c0fbd32f31b | 8f67330a4700bc888d13dd92c62220e20e6b6828 | /R/index.G2.r | 3f707fb22fea946ca22eb72fad382b29abfa0676 | [] | no_license | cran/clusterSim | cfcc584e368fa9f6d1d86887b0f61cc2f3676b32 | 54764dbd65330165e71fc1af2fadf75942915769 | refs/heads/master | 2023-06-25T15:51:42.061284 | 2023-06-10T17:30:02 | 2023-06-10T17:30:02 | 17,695,119 | 2 | 6 | null | 2015-12-05T19:09:43 | 2014-03-13T04:16:30 | R | UTF-8 | R | false | false | 1,126 | r | index.G2.r | index.G2 <- function(d,cl){
cn <- max(cl)
n <- length(cl)
dmat <- as.matrix(d)
diameter <- average.distance <- median.distance <- separation <-
average.toother <-
cluster.size <- within.dist <- between.dist <- numeric(0)
separation.matrix <- matrix(0,ncol=cn,nrow=cn)
di <- list()
for (i ... |
03082fd491fb109f7446b304492ad3a9e16d645d | 6074b4746c7a409a452734bf8dc2f5226cd02dec | /tests/testthat.R | e01043cb0c8436cd08ac3c356a752bc0334119a6 | [
"MIT"
] | permissive | rds64/mortgage | 7128f739c0f0ec78ac3190f98a7cd0e5f386f1af | a1e7a53703fa7e05e6cc8fa2ad6dfe737c2b53e5 | refs/heads/master | 2021-05-03T20:21:25.227657 | 2018-04-13T07:01:24 | 2018-04-13T07:01:24 | 120,428,823 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 59 | r | testthat.R | library(testthat)
library(mortgage)
test_check('mortgage') |
b8c380d20301ffe1280cb4716ec127275a365d2e | 4644ea0db62a692648be6d6f9eaf4868fb4b779e | /Analyses/LineageData/BayesDetInference.R | 13f87c57284114673109f7fd3313a5500748eec5 | [] | no_license | lwlss/discstoch | 883f4b4f546f0f31c33a3037f3a0cac1cdd1153d | be11f0caf3f0db00d9ff6c910dbc41e20e3476c7 | refs/heads/master | 2021-01-18T06:07:19.429111 | 2017-04-05T06:27:49 | 2017-04-05T06:27:49 | 54,037,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,604 | r | BayesDetInference.R | # Bayesian Deterministic Parameter Inference
library(detstocgrowth)
library(data.table)
dataset<-function(x){
if (x == "Lawless"){
# DataSet1: Lawless
area=fread("~/Lawless_area_shortTC.txt",header=FALSE)
times=fread("~/Lawless_time_shortTC.txt",header=FALSE)
data=fread("~/Lawless_data_shortTC.txt",... |
60c9f1611089ab55c4a848a0c71b294d5b464887 | 657ed851c5f4fb4adb52d0975cf89ef98b201723 | /man/mmLogLik.Rd | 3317b52ddc5f66d60739a6a81002b2d27dfdcb2f | [] | no_license | ShojiTaniguchi/timsync | 0e6861798fb8bac84e3d1a33ae01f80862b13c11 | 6868b03d5dfa22faa37aff358d3da3dc7703712e | refs/heads/master | 2022-12-28T07:40:53.434929 | 2020-10-09T06:31:10 | 2020-10-09T06:31:10 | 218,429,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,143 | rd | mmLogLik.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mmLogLik.R
\name{mmLogLik}
\alias{mmLogLik}
\title{Function to calculate maximum likelihood}
\usage{
mmLogLik(rho, omega, dat, y, f, r, grp, w, b, Ve, Vu, method)
}
\arguments{
\item{rho}{parameter for serial correlation}
\item{omega}{parame... |
f2069a619315b508e6172632ea6e62c0f727b5d3 | 3f41c3a5792e04b8e8bb9ecb3a437fc2ca3c1457 | /tests/testthat/test-gsqerr_spd.R | 1ec859a50e4e9a9950bd2565ba9d181fa52b7f58 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | zhangzjjjjjj/MGLMRiem | e1ebc648f1b87834a4968d97780b80ef3fb96852 | 6ab59ff4160c6a1ce36385a31e81ecb1a4429e3c | refs/heads/master | 2023-03-17T21:04:34.044303 | 2020-03-18T20:17:31 | 2020-03-18T20:17:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 267 | r | test-gsqerr_spd.R | test_that("gsqerr_spd works", {
Y = array(0, dim=c(3,3,5))
for(i in 1:5) {
Y[,,i] <- randspd_FAST(3)
}
Y_hat = array(0, dim=c(3,3,5))
for(i in 1:5) {
Y_hat[,,i] <- randspd_FAST(3)
}
gsqerr_spd(X = Y, X_hat = Y_hat)
expect_equal(F, F)
})
|
8579da4416072f674ab024ed986844005db85ccc | d6031ae0f6a6960a2e676e469d2bd5e3c9477768 | /wordcloud/Rshiny/app.R | 8bc20b03b96787681bcc48d23d5a9ef3b9c63ca2 | [] | no_license | ayoung-shin/mulcam | e3fa3904afa9c96c1331dacdf3938c3437a879ed | 9c23989781d600706152542fe776d91c38a87beb | refs/heads/master | 2021-03-07T17:24:13.452643 | 2020-06-22T08:53:05 | 2020-06-22T08:53:05 | 246,282,551 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,190 | r | app.R | library(shiny)
library(ggplot2)
library(memoise)
library(tm)
library(stringr)
library(rJava)
library(SnowballC)
library(wordcloud)
# library(KoNLP)
source("news/code_for_shiny.R")
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Wordcloud of the year by... |
5688545b57d37fcd3c1a1660f5be3a1df0b7a785 | a0033092d925f26e4c164055fe6234649c01902e | /earth-observation/synthetic-aperture-radar/007-fpc-scores/code/nc-convert-spatiotemporal.R | eaa1163a93994425b3d73410e06a8385ed130a43 | [] | no_license | paradisepilot/study | af440e945c75360cc5905d92d7980486a1c9ba33 | 27af595c8ec5bd4ef9ae7ef0cf8a552721b160c7 | refs/heads/master | 2022-12-11T09:45:32.057660 | 2022-12-09T00:13:06 | 2022-12-09T00:13:06 | 11,211,137 | 0 | 0 | null | 2021-09-05T20:02:22 | 2013-07-06T01:11:39 | TeX | UTF-8 | R | false | false | 7,390 | r | nc-convert-spatiotemporal.R |
nc_convert.spatiotemporal <- function(
ncdf4.file.input = NULL,
date.reference = as.Date("1970-01-01", tz = "UTC"),
CSV.preprocessed = "data-preprocessed-table.csv"
) {
thisFunctionName <- "nc_convert.spatiotemporal";
cat("\n### ~~~~~~~~~~~~~~~~~~~~ ###");
cat(paste0("\n",thisFunctionNam... |
ec73c9af648b347dd991e8c10642d41a950bb36d | 71b2c44b282dee6ead9f4e1132aae6372e9f3788 | /R/zzz.R | d0e5188104063882dc452da3f9b10bcdeaebb677 | [
"Python-2.0"
] | permissive | vishalbelsare/RGF | ce7e5e13c861d3e9234270740246e69803424140 | 44699666138b22cb9c085fcc86921919c066e0c7 | refs/heads/master | 2021-04-26T23:21:17.726680 | 2021-03-09T15:34:28 | 2021-03-09T15:34:28 | 123,978,365 | 0 | 0 | null | 2021-04-04T16:13:33 | 2018-03-05T21:01:43 | R | UTF-8 | R | false | false | 474 | r | zzz.R | # temporary startup message beginning from version 1.0.3 [ SEE : http://r-pkgs.had.co.nz/r.html#r-differences ]
.onAttach <- function(libname, pkgname) {
packageStartupMessage("Beginning from version 1.0.3 the 'dgCMatrix_2scipy_sparse' function was renamed to 'TO_scipy_sparse' and now accepts either a 'dgCMatrix' o... |
20893caddb1936acccc7b6948a9bae2b8c998f11 | 06d4e50804f75f80f8cb57707b84176f387a0810 | /R/BinaryCNNParasiteCells.R | ff08543a63c9590db66fe2fd84a7c68e8c34e2e7 | [
"MIT"
] | permissive | StatsGary/LondonRComputerVision | d12faa70649fbf3bee7748835eb82439c9b51a12 | 346703dbbaac4841d6b303dc84a8f9e6a9570d3f | refs/heads/main | 2023-01-24T18:23:26.237177 | 2020-11-25T16:27:39 | 2020-11-25T16:27:39 | 315,700,134 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,946 | r | BinaryCNNParasiteCells.R | ###########################################################################
###########################################################################
### ###
### Script name: BinaryCNNParasiteCells.R ###
### Auth... |
f43b2170f8c499c38472980566154bbc18a984b9 | 4ceba5f9ca0867a34b2998eba05c9133fb7e6ad7 | /R Programming/r_program7.R | 0eb20a1d08056d7a5b3f412be9c75465169cce00 | [] | no_license | shashidhargr111/R-Program | e6a777e388f06e2d24bbd6f911d62f1a09f58aaf | 74b5ebd744c9d66ae945a3de5763ec9d8cf347d8 | refs/heads/master | 2020-04-15T12:54:00.983969 | 2019-01-08T16:50:32 | 2019-01-08T16:50:32 | 164,691,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | r_program7.R | m<- matrix(-10:9,nrow=4,ncol=5)
print(m)
print("this returns a list")
print(lapply (1:3,function(x) x^2)) |
633dd8b57b29cf0b6f4cbe3958ac41163494b46f | f252c7af74b27070ec28fc6120a72273fce2c39b | /Log/Sep2014.R | 7f20216fc34c0087a04c58583065e553d79a7af8 | [] | no_license | sadapple/Research | bf142ff98a30c28713281aed6a870e19045cb11b | a07b5894c0c6be7e5d980ef79730fd8442046a15 | refs/heads/master | 2016-09-05T11:36:56.473431 | 2016-02-01T02:22:41 | 2016-02-01T02:22:41 | 28,351,519 | 0 | 0 | null | 2016-01-29T21:25:15 | 2014-12-22T18:05:05 | R | UTF-8 | R | false | false | 4,010 | r | Sep2014.R | ## 9.28
x <- sample( c( "dog", "cat", "hamster", "goldfish"), size = 1000, prob=c( 0.25, 0.25, 0.25, 0.25 ) ,replace=TRUE )
table(x)
## search patterns of all the objects in R
ls( pattern="a." , all.names=TRUE)
## 9.25
## Precisions in R
options(digits=6)
a=rnorm(1000,59,3)
b=rnorm(1000,152,4)
a
b
c=round(a,3)
d=round... |
5d100ff5750cdde47830011cb1204bc0d42b2aaa | aa993b5bdd4b3e230a0fe912ca8d038f27c4eef7 | /cachematrix.R | 468560bc43b083fd3e9cc3d51a8986c2b992f61b | [] | no_license | SpaceActuary/ProgrammingAssignment2 | 43e2ace1ad56989289c47f3056b71a4311da10cf | 5a8c1a221030e29b3e732d59b4894068aa928c97 | refs/heads/master | 2021-01-21T07:26:07.173303 | 2015-05-24T20:09:39 | 2015-05-24T20:09:39 | 36,189,865 | 0 | 0 | null | 2015-05-24T19:46:59 | 2015-05-24T19:46:58 | null | UTF-8 | R | false | false | 1,243 | r | cachematrix.R | ## Solving for the inverse of a matrix can be computationally
## intensive, so these functions cache (save) the results of
## already solved matrices in case you need to solve them again.
## To use these functions, first create a CacheMatrix from your
## original matrix 'm':
##
## > m2 <- makeCacheMatrix(m)
##
## The... |
5e98cfa1b6c7f7546f761bb33296a63f9c03be10 | c02f51ef0601063f2a8785bebb79036d2fde98fa | /EDA_prj2/plot2.R | 384d89bfb2e9564692971ed61e37af2528b889b0 | [] | no_license | eyedvabny/coursera-ds-main | 0d5284c0e1175de288d749b8c1270e7db158629b | d93f518bf5af8ead1fc69e6cf2d3105e785388da | refs/heads/master | 2016-09-06T14:15:30.076467 | 2014-10-25T21:34:28 | 2014-10-25T21:34:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | r | plot2.R | # Load in the data
NEI <- readRDS("FNEI_data/summarySCC_PM25.rds")
# Aggregate the pollution by year
agg_emiss <- aggregate(Emissions~year,NEI[NEI$fips=="24510",],sum)
with(agg_emiss,{
png(filename="plot2.png", height=480, width=480)
plot(year,Emissions,
type='l',
main='Total Emissions in Baltimore'... |
66600fd979baa17aa75a37488a0a19e01dc43de0 | e756bcd2b578b74c238dbca53ef88e2d026bd121 | /man/h_common.Rd | 2be67f2ec4bf9f8bb16255e26414b2c15a2e29f9 | [] | no_license | HYDFKI7/htsr | d95abbdbafde547b726733524176bd08e55ccdee | d56e8ea98c99f0158b0465d279ae805728ec5adb | refs/heads/master | 2023-02-02T23:56:09.548157 | 2020-12-16T07:50:02 | 2020-12-16T07:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 627 | rd | h_common.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h_common.R
\name{h_common}
\alias{h_common}
\title{Extract 2 (or more) time-series on their common period}
\usage{
h_common(files)
}
\arguments{
\item{files}{List of file names to process.}
}
\value{
hts files resulting of the operation; thei... |
d55540a6d9dca36219a04d3512c0f4b46d8637ae | fb2df9e50233feb186f1318d18745d4d5775bc5c | /R/plot-yield.R | b7fecb4de15feef51af3cc58e4481aa718b4a8f4 | [
"MIT"
] | permissive | poissonconsulting/ypr | 2c6fc7292027b6a15e2c7e3e87253a4d11dd4ca4 | 708f12e548716ff5cf4875af1b6d49980525a6fc | refs/heads/main | 2023-04-06T18:33:16.694687 | 2023-03-30T20:20:39 | 2023-03-30T20:20:39 | 130,767,486 | 6 | 0 | NOASSERTION | 2022-08-25T21:22:47 | 2018-04-23T23:15:39 | R | UTF-8 | R | false | false | 5,547 | r | plot-yield.R | #' Plot Yield by Capture
#'
#' Plots the 'Yield', 'Age', 'Length', 'Weight', 'Effort', or 'YPUE' by the
#' **annual interval** capture/exploitation probability.
#'
#' @inheritParams params
#' @inheritParams ypr_plot_schedule
#' @return A ggplot2 object.
#' @family populations
#' @family yield
#' @family plot
#' @exampl... |
fb981ccd727b6fe7c075d523c70618067d9af2ac | 78a2baf744b2513d1366a2d51000c2ffea08d794 | /man/calcContinuityFromRank.Rd | 8f3d598661e5f7411e3765799f615b9ae078a542 | [
"MIT"
] | permissive | csoneson/dreval | 3b6fbe6ae8fda66435d4ec763b85d4968dcf97e3 | 0b4d11e08badd7651ae05e1a274d8ab3bf3f33eb | refs/heads/master | 2023-07-08T03:35:43.242884 | 2023-06-25T05:45:30 | 2023-06-25T05:45:30 | 206,408,507 | 7 | 0 | NOASSERTION | 2020-02-13T11:50:22 | 2019-09-04T20:33:35 | R | UTF-8 | R | false | true | 1,838 | rd | calcContinuityFromRank.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/continuity.R
\name{calcContinuityFromRank}
\alias{calcContinuityFromRank}
\title{Calculate continuity based on sample rankings}
\usage{
calcContinuityFromRank(rankReference, rankLowDim, kTM)
}
\arguments{
\item{rankReference}{N x N matrix, ea... |
90d0db168d88fb1a017c4ec7c8efd38d155fe841 | 0abf16c147a819cf5fd9bb4ce380cf4f2222bb8d | /Data_Science - Johns Hopkins University/003_Getting_and_Cleaning_Data/Project/run_analysis.R | 3db0312e364e712e84cb934f88f0f95327e67cfa | [] | no_license | bhunkeler/DataScienceCoursera | 6c6c17f5808cd6a8e882f7558ca32e70b9b39b30 | 4ae8c176acbb5b2d78ff08379a856c4afefea8f8 | refs/heads/master | 2022-05-01T14:26:22.738900 | 2022-03-11T16:56:07 | 2022-03-11T16:56:07 | 43,755,669 | 52 | 120 | null | 2022-03-24T19:07:28 | 2015-10-06T14:23:57 | Jupyter Notebook | UTF-8 | R | false | false | 5,038 | r | run_analysis.R | # ========================================================================================================
# Description: run_analysis.R - Getting and Cleaning Data - John Hopkins University
#
# This R script called run_analysis.R does the following:
# 1. Merges the training and the test... |
025dbdb09ab544be4184b477118171c27a4d9da6 | 961a69f174505f34a29820d2a0e1882b91fa6de6 | /get_experiments.R | 70844f44eafbc7a6b2d9f14f2fff6d4ab6730efb | [] | no_license | meuleman/roadmap_state_calls | ba2217cf1ca4edc0334c544f768d7886a4399214 | 9636773b340fde40ced75cb624500169961e8679 | refs/heads/master | 2021-01-19T01:40:21.811731 | 2016-11-09T18:12:53 | 2016-11-09T18:12:53 | 47,841,922 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,941 | r | get_experiments.R | library(jsonlite)
library(httr)
library(gplots)
################################################################################################################
consumer_key = "QBJZ2HWO";
consumer_secret = "gb2prbadp2vuwucd";
secret <- RCurl::base64(paste(consumer_key, consumer_secret, sep=":"));
#####################... |
4a7e95788fd39f5184eb9506382f9f0551085d65 | 4f886387a6c0c86b39d799c0270bfc8eabf11e8c | /RData/Lecture/07-1.R | f909d16829044da74fff8786b80d31970f04e3fb | [] | no_license | rumen-scholar/kosmo41_KimCheolEon | 38d3cbdd7576784440c95b6291656e11eb20915e | 3ea53334f6b8178c8f85c8bc5bf23d58429bb3a0 | refs/heads/master | 2020-03-21T04:41:23.634173 | 2018-12-20T09:19:06 | 2018-12-20T09:19:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,307 | r | 07-1.R | ## 결측치 정제하기 ##
#결측치 찾기
#결측치가 포함된 데이터 프레임 생성
df <- data.frame(sex = c("M", "F", NA, "M", "F"),
score = c(5, 4, 3, 4, NA))
df
#결측치 확인
is.na(df)
#결측치 빈도 출력
table(is.na(df))
table(is.na(df$sex))
table(is.na(df$score))
#평균산출 - 결측치때문에 에러가 발생(NA)
mean(df$score)
sum(df$score)
#--------------------------... |
dbb51b1794acb2a7584c4f6612cb9063d8105a86 | f842ff215f44fdb06446475280abb0a2e2cedcb6 | /cars_script.R | 7ae755c0e5ac7d82566a0647d69049d033887d72 | [] | no_license | nelsonrsjr/hw1-cars | 3eb1a0c07736376fd9a0312c107c521eae875f33 | c514f34d8cd268d5fac03865f52446db01b8373c | refs/heads/main | 2023-02-18T18:43:52.157764 | 2021-01-20T09:01:56 | 2021-01-20T09:01:56 | 330,103,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 563 | r | cars_script.R | # cars <- read.csv( "cars.csv")
cars # built in dataset - comes with R
speed <- cars$speed # save speed as a vector
dist <- cars$dist
plot( speed, dist, cex=2) # plot x,y
speed.lm <- lm (dist ~ speed) # save regression line
abline( speed.lm, col="red" ) # plot regression line - you now have the best fit ... |
55456b8ce2c3cd6aeed8ce7de398115250ea3f3a | 3ffe61be1846789242fba8c3bb71663b2053d074 | /practice_chap02(R의 데이터구조의 이해)/ex04.R | eee80f89f6506ec91d1bd1a84a8d3b61e31be7ee | [] | no_license | harrycjy1/R-bootcamp | 244cefae2b1785ce3b31acf57753447febf2f871 | 2db273a53188dd1fd825b35f8a3bdb3ba308fb0e | refs/heads/master | 2020-04-02T21:07:22.552300 | 2018-10-26T06:48:57 | 2018-10-26T06:48:57 | 154,788,516 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 775 | r | ex04.R | #리스트(list)는 다차원이며 벡터의 각 원소들이 이름을 갖고, 각 원소들은
#서로 다른 데이터 유형으로 구성되어 있다. 벡터는 모든 요소들이 모두 같은
#데이터 타입이지만, 리시트는 요소들이 여러 데이터 타입을 가지는 데이터 구조가
#가능하다.
#list()
#패키지 : base
#사용법 : list(... )
#설명 : 리스트 생성
#반환값 : 리스트
#매개변수
# ...: 객체들(가능하면 이름이 주어짐)
#list생성
#"신은혁"을 표현하는 리스트이다.
x <- list("신은혁","20081223",11,c("4학년 3반... |
a2830ff440d4eaa0fc7763f208a3f4ffbfcfcc7e | 0a5dc6db4c2c5e2377d9f09238449eb1e7534303 | /R/csv.to.bvh.R | 054a76ee6519cd9714f842a95e084dce6f86e048 | [] | no_license | Vohrt/RMoCap | 87b13ba5726478b54ae14018318265a4a5821e26 | 76a81d8976161f25a5e97dae9c7dc2ec097c307e | refs/heads/master | 2022-12-10T01:28:46.384522 | 2020-09-11T02:56:30 | 2020-09-11T02:56:30 | 294,393,675 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,587 | r | csv.to.bvh.R | #' This function recalculates direct to hierarchical kinematic model.
#'
#' Procedure implements iterative algebraic procedure with additional initial optimization, that is required to align root body joints.
#' Optimization is done using simplex method. The rotation order in hierarchical model is automatically set to ... |
427c275371ab4e7d9bb47d72228ead9c7fcbd7ed | 93fb493d8b1115c8a261bd3b08fa83755f3a5569 | /run_analysis.R | 5d42069300030cf571d583c85954cbefef86c673 | [] | no_license | sunilvarun/Tidy-Data | ce58d4d98d96afebd8d72cb8462c97f8f1db149f | a1867fb69ce36d62f0f7f5a581d74611118cdf79 | refs/heads/master | 2021-09-01T11:40:28.750786 | 2017-12-26T18:58:08 | 2017-12-26T18:58:08 | 115,442,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,503 | r | run_analysis.R | library(dplyr)
library(reshape2)
setwd("/Users/varun/Documents/Coursera R/data/Assignment 3/UCI HAR Dataset")
## download the test & train data into data frames
subject_test <- read.csv("./test/subject_test.txt", header = FALSE)
x_test <- read.csv("./test/X_test.txt", header = FALSE, sep = "")
y_test <- read.csv("./te... |
09f50309ad380e383b65f7371b8b27bf46743c2c | 681c1e16950a0ecf69f0b39e5322292d5fc0f603 | /man/daubenmire_surveys.Rd | c0609454887933ddf2a3cca6b8997bb626fee751 | [] | no_license | ISU-Monarchs/HabitatRestoration | 2ad6e5caee18de6a1fee9d93f53746005a371c7d | 0c5f1af16fdf0967d36dd45c7d7cd93775ef051f | refs/heads/master | 2022-08-29T18:06:08.452585 | 2022-08-09T19:56:48 | 2022-08-09T19:56:48 | 67,713,936 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,017 | rd | daubenmire_surveys.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/daubenmire.R
\docType{data}
\name{daubenmire_surveys}
\alias{daubenmire_surveys}
\title{Daubenmire surveys}
\format{A data.frame with the following columns:
\itemize{
\item date: Date, survey date
\item round: character, round number for ... |
6b114b8ba062132bdd70814db207ce9359120703 | a995faa3db24385cf3afb7ed2f67830483d29b48 | /bin/WGSData.R | 8328c22a26da99fc04346677185edfa0d6c5d436 | [] | no_license | allaway/dermalNF | 72bc7c75b887b5129b1ebbe4585647ca349ae939 | 2d2c61c53ae8896bcfa7da7cc00f93f5925e4418 | refs/heads/master | 2020-03-21T16:42:58.458317 | 2018-06-26T20:18:42 | 2018-06-26T20:18:42 | 138,788,787 | 0 | 0 | null | 2018-06-26T20:20:07 | 2018-06-26T20:20:07 | null | UTF-8 | R | false | false | 20,926 | r | WGSData.R | ##General set of commands to analyze and process WGS data
##
library(synapser)
synLogin()
library(data.table)
require(dplyr)
require(reshape2)
require(pheatmap)
##read in all cancer gene mutations
#cancer.gene.muts<-read.table(synGet('syn5611520')@filePath,header=T,sep='\t')
if(!exists('all.gene.muts'))
all.gene.... |
a8db3b8ca36a3fb2051ad4a84e88261d88fbaab5 | 27d8238cb9b758903417c5151fa8ace7db71ad15 | /kingCounty_Price.R | 180131a5c1c78d6c96d043edaafd80068ee084b8 | [] | no_license | ritika14695/king-county-house-price-prediction | dd19fbaf1c054e1c5a67a53b8e4db77994f3e2ef | 5af49b264eed6b6e8a60c24e9cdb3a6d727a2e1a | refs/heads/main | 2023-03-24T19:28:56.512353 | 2021-03-01T00:00:10 | 2021-03-01T00:00:10 | 343,242,748 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,231 | r | kingCounty_Price.R | #calling the required libraries and packages
library(lattice)
library(move)
library(moments)
library(pacman)
library(readxl)
library(dplyr)
library(ggplot2)
library(ggiraph)
library(ggiraphExtra)
library(plyr)
library(caret)
library(corrplot)
library(GGally)
library(ggcorrplot)
library(corrr)
#Fetchin... |
f7d92e371f4cce83873ee47109ac1938534da085 | 85d7b807dd75162918e7e4215f23781252004bc9 | /Forest_Fire_ Neural Networks.R | 21c412a729f94636eedce1d2d6c8fe18b3a63b69 | [] | no_license | Leepsa/Data-Science_R | a5d8ae883c1caa4ac0dd398922cdc9a74df78dd7 | 0a8d7d4dcb038814b57be3675e8d9ab41e9b5215 | refs/heads/master | 2023-04-05T19:41:05.450870 | 2021-05-08T17:00:54 | 2021-05-08T17:00:54 | 290,532,910 | 0 | 0 | null | 2021-05-08T17:00:55 | 2020-08-26T15:22:16 | HTML | UTF-8 | R | false | false | 5,831 | r | Forest_Fire_ Neural Networks.R |
### PREDICT THE BURNED AREA OF FOREST FIRES WITH NEURAL NETWORKS ####
#Load the data
install.packages("readr")
library(readr)
forest_fires <- read.csv("C:\\Users\\KIIT\\Desktop\\assignment2021\\Data Science Assignment_LeepsaMahankud\\Neural Networks\\forestfires.csv")
## Convert catagorical column state ... |
59ff90135906af83ab50c746e56bd89cd5db097c | 577db27827dba26dbffc7e7444ac1d93dbd2d526 | /Proyectos R/BONUS - El Baul de Codigo R/3. Explorar Datos/Mas Graficos/2-Multivaraite/correlation_plot.R | e3f7d5467f7c41ac3d108152c26c3d3e27b63cfb | [] | no_license | adanpalma/analizatusdatos | daea5d39bd836f4ca4668f282eb5dd8928339a81 | 83f1494f07a86a13b16acce608d5cdd694a94d86 | refs/heads/master | 2023-04-17T23:31:42.640384 | 2021-04-28T03:36:16 | 2021-04-28T03:36:16 | 348,168,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 202 | r | correlation_plot.R | # Correlation Plot
# load library
library(corrplot)
# load the data
data(iris)
# calculate correlations
correlations <- cor(iris[,1:4])
# create correlation plot
corrplot(correlations, method="circle") |
d09e57b616212125b89735d2e7a65db992425764 | 3be034fa5c3465684fb67e48a8c24e55a71c4b9d | /cachematrix.R | a53e2c8c1fd9dcfae37e4adb906806e5f3f4e97e | [] | no_license | NDavis72516/ProgrammingAssignment2 | 75bc755b4b2d43c60fbbdc87a2cc4f08e45bab61 | 0a28216d6ca7a61e6151a1209f6d031f7f89bf6a | refs/heads/master | 2020-04-07T09:03:48.226396 | 2018-11-19T16:15:40 | 2018-11-19T16:15:40 | 158,238,712 | 0 | 0 | null | 2018-11-19T14:38:18 | 2018-11-19T14:38:18 | null | UTF-8 | R | false | false | 1,108 | r | cachematrix.R | ## The following makeCacheMatrix function creates a special matrix
## object that can cache its inverse. It will return a list
## containing functions that will be used as input in the
## cacheSolve function.
makeCacheMatrix <- function(x = matrix()) {
invmat <- NULL
##Set the Matrix
set <- function(y){
x <... |
b95b2ddbba626898d5e0569017abc962b8cb8699 | 8a1b860d3eb1095d2f7e360059a21ffff4cd3217 | /tests/testthat/test-tabyl.R | 5bb73e431fc7e293cb2fb02083ad400915f86885 | [
"MIT"
] | permissive | sfirke/janitor | 3ad0dafb644ba704035be2bee0cc5ce4dce4bbb7 | df24347c9aa72093d06a5e30a11e67eae59412a6 | refs/heads/main | 2023-08-21T17:10:59.686361 | 2023-08-19T17:33:30 | 2023-08-19T17:33:30 | 56,102,322 | 1,355 | 152 | NOASSERTION | 2023-09-10T15:26:33 | 2016-04-12T22:29:40 | R | UTF-8 | R | false | false | 15,868 | r | test-tabyl.R | # Tests for data.frame renaming function
cyl_tbl <- tabyl(mtcars$cyl)
test_that("counts are accurate", {
expect_equal(cyl_tbl$`mtcars$cyl`, c(4, 6, 8))
expect_equal(cyl_tbl$n, c(11, 7, 14))
})
test_that("percentages are accurate", {
expect_equal(cyl_tbl$percent, c(11 / 32, 7 / 32, 14 / 32))
})
# Character inp... |
05f9371d9e15719c19afdf89a3484efe0919f617 | 5f10cd06234643712e76bd93f93fcabfd675c5c6 | /server.R | 3316d9711db62306c112bac3fe336a6ef4400c75 | [] | no_license | Deleetdk/tail_effects | 0cd1e3850eef35965d84bfc7e2a7a99813c259a8 | eaebbc4c61eb4988c49da850f821d0913666fb0f | refs/heads/master | 2021-01-10T18:00:38.560913 | 2020-06-12T23:42:16 | 2020-06-12T23:42:16 | 36,995,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,326 | 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
shinyServer(function(input, output) {
reac_data = reactive({
#make dataframe
d = data.frame(matrix(ncol = 3, nrow = 1000))
colnames(d) = c("A_den"... |
f74dcce1050d7cf226a01fb69203ff9366906445 | d2d512343113d39f49ae889bc5e7faf15af07c97 | /ui.R | a2b5714104f218b5060b6382f3d302a58db966a7 | [
"MIT"
] | permissive | NickSalkowski/HALICON_2015_Reporting_Presentation | 142c316996f10630d14eff00f4e0a6960358e707 | 4488debb11828d8e75bab0e164977b2b99398721 | refs/heads/master | 2016-08-12T15:47:49.793871 | 2015-10-21T17:27:04 | 2015-10-21T17:27:04 | 44,686,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 284 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel('Iris Summary Plots'),
sidebarPanel(
selectInput('species', 'Species',
unique(as.character(iris$Species)))),
mainPanel(
htmlOutput("spec_title"),
plotOutput('plot1'),
plotOutput('plot2')
)
)) |
6e588f8d726e248eeafbbc49043fa10212ae80c0 | 12c5748b0121523f75ac29d40c4980d5805347b5 | /Heatmaps_plots/example_heatmap.R | 5804913b2c6ce3442f28b95a442fe2758067f3e2 | [] | no_license | giuliagrisot/shared_scripts | d9cbd3c4056b10d66c6473d9cafce116186e510e | 440e4f1829948c408df9eb9d799835af86c515a7 | refs/heads/main | 2023-06-24T18:51:55.579777 | 2021-07-02T13:07:33 | 2021-07-02T13:07:33 | 382,304,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,101 | r | example_heatmap.R | # suppose you have a dataset of texts, split by word, with ids for words, sentences, line, page, position in line, where values are aggregated by item (what i was plotting here is the "perspective count").
library(readr)
mini_dataset <- read_csv("mini_dataset.csv")
# you can create a heatmap as follows (One text at t... |
c9d05eb43ca450b47ac8fa045562167ae6f11ef2 | 4f264890932ec5679cb38803520a6fd4da3f5e19 | /R/coxgrad.R | 6157be6a418265cf53f1a080f000b209201a0416 | [] | no_license | nfultz/glmnet-mirror | 9287ab325b381149c92f7a16cbb5a1afc30b11a6 | 813aae116e0adea471c9dd8124ebf7ef1a45ca23 | refs/heads/master | 2020-09-08T10:03:45.940440 | 2020-05-17T20:37:10 | 2020-05-17T20:37:10 | 221,103,049 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,317 | r | coxgrad.R | #' compute gradient for cox model
#'
#' Compute the gradient of the partial likelihood at a particular fit
#'
#' Compute a gradient vector at the fitted vector for the log partial likelihood.
#' This is like a residual vector, and useful for manual screening of predictors for \code{glmnet}
#' in applications where \cod... |
a22d63bad87e9bf8ac683f53f6c720b4e50fb72f | 9f56f2c528db5f15b6cb2709a9521b5845632ccb | /oldversions/20131215erccdashboard/R/meltExpDat.R | a92ab9a1b062e7136feb4ce0f543a6a005502196 | [] | no_license | munrosa/one-gene-two-gene | a44af2d82de33441bb43ed831363f42211cd06b1 | 3b7de253afcea5cf5ad8f38dc972c09cce2771ed | refs/heads/master | 2021-01-01T19:42:34.144808 | 2014-01-27T05:31:24 | 2014-01-27T05:31:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,216 | r | meltExpDat.R | meltExpDat <- function(expDat, cnt, designMat){
sampleInfo <- expDat$sampleInfo
libeSize <- expDat$sampleLibeSums
datNames <- colnames(designMat)[-1]
sample1 <- expDat$sampleNames[1]
sample2 <- expDat$sampleNames[2]
datCols = cnt[-c(1)]
libAdjust = sweep(datCols, 2, libeSize,"/")
sampleLibeDataNorm =... |
2920f612b24e8b44fe560ea540b064c5f65862c2 | 9a816ba959c4880e78165fadd8cc23c8e7409f18 | /tests/testthat.R | 1a5521b9f440d684359d24c8ee7b85f0ea889753 | [
"MIT"
] | permissive | augustobrusaca/KHQ | bdee00c014688d9367d6a8c88300b4ee1d43af72 | 744ae68f9f46bd00067468f5bf4edaf2d64353d5 | refs/heads/master | 2023-07-01T13:38:37.358782 | 2021-08-09T01:31:21 | 2021-08-09T01:31:21 | 384,135,327 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50 | r | testthat.R | library(testthat)
library(KHQ)
test_check("KHQ")
|
33ab1fb65eee5804d9fe45152e98be946734c583 | c3a7c2a227dd4f01a198eed13af163b34a237986 | /App.R | 58d3a1890c1ecd01dc8b478a9fbdcdb745db2ec6 | [] | no_license | akramRedjdal/ProjetUE4 | 126e1b087ae96f9b019e7fe241d57c63766e136c | 989dc432200505f6a304c2d954523ba39b673513 | refs/heads/master | 2020-04-15T03:53:42.201705 | 2019-01-10T10:25:53 | 2019-01-10T10:25:53 | 164,364,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,924 | r | App.R | library(data.table)
library(spdep)
library(sp)
library(stringr)
library(rgdal)
library(DCluster)
library(epitools)
library(sf)
library(leaflet)
library(dplyr)
library(stats)
library(tidyverse)
library(geojsonio)
library(shape)
library(shiny)
library(ggplot2)
library(plotly)
library(DT)
library(shinyda... |
ef009bd6c24d99960869caec8179e9d0aa8e2130 | 592ebb93208dceb623ff376db8f4ebb98d2ea309 | /R/get-sablefish.R | 247809e523fe930bef6c23ecb2ca1e25fd1a5fca | [] | no_license | pbs-assess/gfdata | 7264351cf87086e4dfd9c1ff4d3b51fa75c2c89d | 2087664e77fa907c5bd9f3f6e18defd319b32712 | refs/heads/master | 2023-08-05T12:48:57.392354 | 2023-07-14T00:04:39 | 2023-07-14T00:04:39 | 179,116,653 | 1 | 1 | null | 2023-07-27T23:33:38 | 2019-04-02T16:23:22 | R | UTF-8 | R | false | false | 608 | r | get-sablefish.R | #' Extract sablefish survey data from GFBIOSQL
#'
#' @export
#' @rdname get_data
get_sablefish_surveys <- function() {
.q <- read_sql("get-sablefish-survey-data.sql")
# length_type <- get_spp_sample_length_type(225)
# search_flag <- "-- insert length type here"
# i <- grep(search_flag, .q)
# .q[i] <- paste0("... |
6c11243022fb8cd3ae2f2805d1956ee2e78fced9 | 0ef52d5c0f4e9860d22957b77623ef78334fe445 | /2021/wk_30_droughts/drought_script.R | 72e1c8ea9c4a9eb302d711ec3ebc5343c150b810 | [] | no_license | LauraCole2445/TidyTuesday | 469ee9bcb6c693b5d8da78137c9bd790c24127bb | 356cb52549b96550efd1f1db06788c42a9fc952d | refs/heads/master | 2023-07-06T02:42:22.196336 | 2021-08-11T18:18:37 | 2021-08-11T18:18:37 | 389,582,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,818 | r | drought_script.R | #load in libraries
library(dplyr)
library(tidyr)
library(janitor)
library(lubridate)
library(countrycode)
library(maps)
library(stringr)
library(gganimate)
library(ragg)
library(systemfonts)
library(textshaping)
library(showtext)
library(RColorBrewer)
library(extrafont)
extrafont::loadfonts(device = "win")
library(ggpl... |
fcb81153e4c8adfb86d33d4fa0ccfdf46a187b97 | b8249fe50c83fb2e2137093126bda162d46dde31 | /R/VectorTable.R | d2c4c857ef111bd6c9d2c904b14e2129a7a36ab7 | [] | no_license | danielle0730/domstat-cleanup | 3a608e36ad0c23a710324e1b2d40c4280484794f | 41ea80f141cac4d644e8de33ded099f7278a7d30 | refs/heads/master | 2020-04-01T11:18:24.353518 | 2018-10-26T18:35:28 | 2018-10-26T18:35:28 | 152,792,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 663 | r | VectorTable.R | #' @export
# table of checked entires in vector variable ("check all that apply")
# returns count and frequencies per option
VectorTable <- function(variables) {
n.records <- dim(variables)[1]
n.options <- dim(variables)[2]
output <- data.frame(rep("", n.options), rep("", n.options))
for (i in 1:n.optio... |
c2886a83ae604f643679bb9392572c0c526f0fb8 | 546e1d0c58a3983dd80908ac6edc8d375e992c64 | /R/zzz.R | 3b352cfc43e78d65ce599942a5c4c7ad590a05a8 | [] | no_license | cran/yacca | 58ba74e5dd755ec955c798d325516e2f1dc12ccb | a633c8343f36fc729d02b24f21f07eb31df14692 | refs/heads/master | 2022-08-29T16:48:14.156036 | 2022-03-07T06:40:02 | 2022-03-07T06:40:02 | 17,700,951 | 1 | 3 | null | 2022-08-06T08:48:45 | 2014-03-13T06:48:18 | R | UTF-8 | R | false | false | 947 | r | zzz.R | ######################################################################
#
# zzz.R
#
# copyright (c) 2018, Carter T. Butts <buttsc@uci.edu>
# Last Modified 2/25/18
# Licensed under the GNU General Public License version 3
#
# Part of the R/yacca package; based on the zzz.R files from sna
# and other statnet packages (all... |
a4a9508f6f289fad031082ff8e3f5e2636f4aab1 | 5781cc9568b34d8149ce2a2ea51e4fbaa7336ef8 | /plot4.R | 6c2588b8d85d2963393486f42e938a5f0556a241 | [] | no_license | YuliyaBoozer/ExData_Plotting1 | fbd86b91b12312ac4b1abd6f20180c06fcf86d18 | d86c72d0e7df3ea4b10fbb2dec74eef0254afb38 | refs/heads/master | 2021-01-22T16:37:37.697015 | 2015-10-08T05:15:07 | 2015-10-08T05:15:07 | 43,795,805 | 0 | 0 | null | 2015-10-07T04:53:11 | 2015-10-07T04:53:10 | null | UTF-8 | R | false | false | 1,392 | r | plot4.R | #install package if does not exist
if("sqldf" %in% rownames(installed.packages()) == FALSE)
{
install.packages("sqldf")
}
#load subset of needed data
library(sqldf)
dataSet <- read.csv.sql("household_power_consumption.txt",sql = 'select * from file where Date in("1/2/2007","2/2/2007") ', sep = ";")
closeAllConnec... |
a9c5a96de79f8d1addd7a7b9eba89fa82bb11374 | 9e6a6b1538766b29eb580c7094b989f4b3b3806d | /run_analysis.R | 92f5b0132ae69f121630dd39470c0a19349c34ea | [] | no_license | seanolondon/GettingAndCleaningDataCourseProject | 017406948bca99df57dc375b7fdb8aa75f57f123 | 7d71f502a065d1aa8a9b5c54426fea381f28931d | refs/heads/master | 2021-01-20T01:10:55.342093 | 2017-04-24T11:43:00 | 2017-04-24T11:43:00 | 89,230,520 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,241 | r | run_analysis.R | ## See README for how to use script
## See CodeBook describing variables
library(dplyr)
#setwd
setwd("~/coursera/CleaningDataCourseProject/UCI HAR Dataset")
##read in all data tables
#feature names (rows) (x)
featurenames <- read.table('features.txt')
#Links the class labels with their activity name.
actlab <- rea... |
7ea9c21fa3b753063e95a24327d126852651cae2 | a7b6f2da032fb4113ac494a8830aa570295ad2f7 | /R/ncbi_snp_summary.R | c7d20903f495d685fb03feb45adcc7339da9e936 | [
"MIT"
] | permissive | gyd1990/rsnps | ad8760f2d6a5a284fe2054fde6408c478d81a785 | 898bee69459790bc8667729fa922841f0d36dcd0 | refs/heads/master | 2020-03-25T22:34:49.855029 | 2018-04-11T20:58:47 | 2018-04-11T20:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,735 | r | ncbi_snp_summary.R | #' Query NCBI's dbSNP for summary information on a set of SNPs
#'
#' @export
#' @param x A vector of SNPs (with or without 'rs' prefix)
#' @param ... Curl options passed on to [crul::HttpClient]
#' @seealso [ncbi_snp_query2()]
#' @examples \dontrun{
#' # use with 'rs' or without it
#' ncbi_snp_summary("rs420358")
#' n... |
8411859c4b83a4d2d949e5bfa9e79e1e508b3ae7 | fe59f5f5edb013868bbc8c129be765b880329973 | /Butterflies.R | 0c0a44862d974501d382ca5d696ec7bfa2df2c32 | [] | no_license | ginalamka/ABM_Class | 4e82c19915bb55440e4a3f77678224ff075e922c | 4bd15197f547b2da2bf6c02dc841deaaeb4473c5 | refs/heads/main | 2023-09-03T19:12:31.127194 | 2021-10-14T17:59:00 | 2021-10-14T17:59:00 | 399,605,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,070 | r | Butterflies.R | #in ABM class 8.24.2021
#the premise is that there are butterflies that go up in elevation
setwd("C:/Users/HP/Box/New Computer/Auburn/Data/ABM_Class")
directory = getwd()
outdir = paste(directory, "/output/", sep = "")
source(paste(directory, "/source/FunctionSourcer.R", sep = ''))
#parameters
elevation.V = c(0,400) ... |
cec57535a3d34206352e2701b36d7cc35e9d5e59 | 2e5ef9f2ef34cf60013c9e362037d49b610c7048 | /SFEgarchest/SFEgarchest.r | af5e931941d9e8a3761b27dcccc0ddb2eaa983e0 | [] | no_license | SHIccc/SFM2-SS16-ToDo | 67afa1d7410cdabe76cfc6bcfdbf32b65dd5b441 | 8d3c9e1de44c6da6e3c57658ff8d5b5fe653210e | refs/heads/master | 2021-01-21T05:48:56.047740 | 2016-06-17T10:14:30 | 2016-06-17T10:14:30 | 64,660,369 | 1 | 0 | null | 2016-08-01T11:07:20 | 2016-08-01T11:07:18 | R | UTF-8 | R | false | false | 4,009 | r | SFEgarchest.r | # ---------------------------------------------------------------------
# Book: SFE3
# ---------------------------------------------------------------------
# Quantlet: SFEgarchest
# ---------------------------------------------------------------------
# Description: SFEgarchest reads the date, DAX index v... |
deb2d897a985992666e3d656f023ec846d26553b | 209af0d72fc59bf161725e157ec71706c7d13a7c | /Code/2021_0709_CMP_modelstructure_stability.R | 6cbcee174a5a1e57f89c6943ec817277a822fd3f | [] | no_license | QiuBingCheng/XAI-Practice | 71bd2294e7531c75a4e00dfcd98a9eca81556bca | 36d8e7cf1537240f1f63f33266dcf1f64ba4069f | refs/heads/main | 2023-08-22T01:45:21.997671 | 2021-10-15T07:15:35 | 2021-10-15T07:15:35 | 417,400,140 | 0 | 0 | null | null | null | null | BIG5 | R | false | false | 22,633 | r | 2021_0709_CMP_modelstructure_stability.R | ##################################################################################################
############################### flatten 192 feature###############################################
library(tensorflow)
library(keras)
library(caret)
library(data.table)
library(dplyr)
library(ggplot2)
library(readr)
libra... |
7d57d2031c5c46d2aac228c63ecc3c9c5c04d1a6 | fbc4e8b54e4f139729865b320ac6fdd7528f39ab | /R/build-prospects-table.R | cbb819a4b0375c4d76fd9adfcfd542fa0b757fec | [] | no_license | anthonyshook/nhldata | b93694aa83b75877d3f0facaf530be935f45da8a | 5b96e7891d5764c9225e3981cc073547ff4726a5 | refs/heads/master | 2023-03-04T13:08:14.581260 | 2021-02-20T16:57:53 | 2021-02-20T16:57:53 | 287,140,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,014 | r | build-prospects-table.R | #' Build prospects table
#'
#' @param conn A connection to a database - defaults to creating a new one
#'
#' @description The internals here are hard-coded, as this is not meant to be
#' something used outside of the current process, at the moment.
#' In the future, perhaps something config-based could be created
#' Th... |
9343b5425ebcc19b0bb5c6429e2e007ff5f8cb17 | 6855ac1106597ae48483e129fda6510354efa2bd | /not_included/croatia_scrap.R | bb8265e6f229ef36488184551cb37e9d2f4acfe4 | [
"MIT"
] | permissive | rOpenGov/iotables | ad73aae57b410396995635d1c432744c06db32db | 91cfdbc1d29ac6fe606d3a0deecdb4c90e7016b9 | refs/heads/master | 2022-10-02T13:03:54.563374 | 2022-09-24T11:47:20 | 2022-09-24T11:47:20 | 108,267,715 | 19 | 8 | NOASSERTION | 2021-12-17T15:09:35 | 2017-10-25T12:35:47 | R | UTF-8 | R | false | false | 1,714 | r | croatia_scrap.R |
library ( dplyr ) ; library (tidyr) ; library ( iotables)
voc <- readRDS("not_included/t_rows2.rdf")
doc = XML::xmlParse("not_included/t_rows2.rdf")
t_rows_vocabulary <- readxl::read_excel(path = "not_included/t_rows_vocabulary.xlsx")
names (t_rows_vocabulary ) <- gsub( ":", "_", names (t_rows_vocabulary ))
... |
1d0b22a41c4c40ea97bf7ed64d5806ec5880ce8d | b94deca3de381159d70533825fac36171e4eee74 | /Q1.R | 70d70dc20477895f29b7b792f05713b940e1931f | [] | no_license | un-sweet/hw2 | 9a4542e210d76ecdca2390fbbcdc229f124280cc | d6fa1e559ec5ec3e728d68c99e71c09078904baf | refs/heads/main | 2023-03-27T23:32:13.334987 | 2021-03-26T06:29:56 | 2021-03-26T06:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,086 | r | Q1.R | #####################################
####### R Help Page (共 40 分) #######
#####################################
# 1. (20 分) 請先閱讀 `seq()` 的 help page,
# 再使用此函數產生一個由 `101` 至 `1`、彼此間隔 2 的等差數列,
# 亦即 `101, 99, 97, ..., 3, 1`
# Modify the code below
seq()
# should print out:
#> [1] 101 99 97 95 93 91 ... 3 ... |
8e8719837b2dfec62bca888b80a7a8d16c1c1afe | ee49d256837b4b77048b8c4ad775ad7f789dac9b | /webscraping_osebx.R | 6f1fb496c8165d99bc517916da10bc6e585df1d6 | [] | no_license | ruialv/webscraping | 10f375975b3e915b9b3fa17a0f47711835d1ee81 | f2da0bb36552bc9b67d026094273958b4b856dad | refs/heads/main | 2023-08-22T08:40:39.373836 | 2021-10-13T08:51:05 | 2021-10-13T08:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,620 | r | webscraping_osebx.R | library(dplyr)
library(RSelenium)
library(stringr)
library(rvest)
list.files()
library(utils)
library(lubridate)
remDr <- remoteDriver(port = 6990L,
remoteServerAddr = "localhost", browserName = "chrome")
{
links_month <- list()
links_month[1] <- "https://newsweb.oslobors.no/search?category=100... |
b0324b184a53d5904b8376bf1d1881bd0e0da4f5 | 6bb58ee76ac5293b1c356078f3df2547dcef9b63 | /cachematrix.R | e5502960541a2bc8e725dfc9a69a194f838917bc | [] | no_license | marystreet/coursework | e5af2e3d93170c8fcb8518d7246fa9aa5c18ad7c | f3f5956f0b8b948bb35c93a2580e95214ddce0b6 | refs/heads/master | 2021-01-01T06:05:16.475417 | 2015-05-22T16:43:53 | 2015-05-22T16:43:53 | 35,449,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | cachematrix.R | ## makeCacheMatix creates a special "vector",
## which is really a list containing a function to:
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value of the inverse of the matrix
## 4. get the value of the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
in... |
1316d13cb78e439760ed691457807e290a00aee4 | ed823b6da656fb94805c7ff74dfd7b921c5624c9 | /man/plot_heatmap_scExp.Rd | 10c4e2574c95a293653bb966807739002341c9cc | [] | no_license | vallotlab/ChromSCape | cbde454c903445706e75b27aade45a7a68db5986 | 382eac1015cd7f67e448124faf5a917f4c973aa1 | refs/heads/master | 2023-03-15T20:18:37.915065 | 2023-03-13T16:46:50 | 2023-03-13T16:46:50 | 191,729,569 | 11 | 5 | null | 2019-07-03T13:06:05 | 2019-06-13T09:10:39 | R | UTF-8 | R | false | true | 1,051 | rd | plot_heatmap_scExp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_functions.R
\name{plot_heatmap_scExp}
\alias{plot_heatmap_scExp}
\title{Plot cell correlation heatmap with annotations}
\usage{
plot_heatmap_scExp(
scExp,
name_hc = "hc_cor",
corColors = (grDevices::colorRampPalette(c("royalblu... |
62c30ffb2fb9e097b604db27cf7b675a36d920b2 | 6121da376efe804fc8d9a5b33731c7c35f6d5fc0 | /R_basics/text_while.R | a3a49c5ee5333252da84ca2303fc294d89c85330 | [] | no_license | Gitus-Maximus/Skills | 4e67b5cdc19d695aef0ab1f768d9ab5c2a9591ac | 1ba6bd63de18afe2ca698430aaa4b5bd5434351b | refs/heads/main | 2023-04-30T18:35:31.654718 | 2021-05-22T11:56:06 | 2021-05-22T11:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 114 | r | text_while.R | text = readline("Insert a sentence: ")
x = nchar(text)
while (x > 0) {
print(substr(text, x, x))
x = x - 1
}
|
5a2cc217889598a99f3dcecba3497221aed81193 | 0e22254566e88a834241cda1bde831316a66ef52 | /Sandbox/CaseStudy2-EXPLORING.R | 469c60adf96912d9f74b03c2c290428a154aaf44 | [] | no_license | jlubich/DDS-CASE-STUDY-2 | 58dcdccbb885d8ca71dcb6fc1041a14a1712fc75 | 6d3e8cd058af569c2565ccc0d94a28a2b598b6f2 | refs/heads/master | 2021-08-23T07:27:01.800244 | 2017-12-04T04:16:42 | 2017-12-04T04:16:42 | 112,124,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,789 | r | CaseStudy2-EXPLORING.R | library(dplyr)
detach("package:plyr", unload=TRUE)
library(sqldf)
library(reshape2)
#load required packages
library(ggplot2)
library(tabplot)
library(tidyr)
# import data set
data(diamonds)
# make the plot
tableplot(diamonds)
?
tableplot(TalentData[1:15], sortCol = 2)
plot.ts(TalentData[1:10])
## Set the WD to where ... |
60b9b2488a20e6dca2a870de0731e05e056ead90 | e4890aefa3127e117bf73c26c346dc234f69d822 | /R/WAQI-package.R | bef108703933505f4b08bd8a62fb73adc3125549 | [
"MIT"
] | permissive | fdetsch/claiR | 3a89bb98f7db03f1a87dedceed0f216f727346a8 | d46629c38012cdcb3d874562714ce785b8afda05 | refs/heads/master | 2021-08-01T06:07:37.719161 | 2021-07-23T08:16:35 | 2021-07-23T08:16:35 | 252,429,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,163 | r | WAQI-package.R | #' Assessment of Air Cleanliness using Open Data
#'
#' Access real-time data through the World Air Quality Index (WAQI) project's
#' API.
#'
#' @name claiR-package
#' @docType package
#' @title Assessment of Air Cleanliness using Open Data
#' @author Florian Detsch
#' \cr
#' \cr
#' \emph{Maintainer:} Florian Detsch \em... |
13331fbfe58e34c59e09881771344789789d6786 | 82084a4774fc65ac42c450e1fff12c12358df856 | /man/C22.Rd | 653ee91a410d5244acba8e6baca1c41d13c54402 | [] | no_license | davan690/RBNZ | 3d1367cf247e5c0ffb48b93fab0a9266a329e8c7 | 0ef36330f05236cc7f3c10f7eda46eab89e96e26 | refs/heads/master | 2023-07-18T05:11:05.115326 | 2021-08-27T13:48:07 | 2021-08-27T13:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 263 | rd | C22.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seriesDescriptions.R
\name{C22}
\alias{C22}
\title{Household Balance Sheet}
\description{
See \url{https://www.rbnz.govt.nz/statistics/c22} for a full description.
}
\keyword{internal}
|
7a17a465ffc5457e2960aa82cf70abe6ff309997 | 73129c7bf5a84f9a841f11de695f5fabea3d8073 | /man/genomeHits.Rd | f0a3d9bf7ef14b3586693476a4db4bbaaba87510 | [
"MIT"
] | permissive | nriddiford/svBreaks | 34af47eca66f686be858480791a3160c5053ef4d | 5e128468a41e4c206a225e0d81f2752bb6225f35 | refs/heads/master | 2021-12-29T11:22:06.796312 | 2021-12-19T14:51:55 | 2021-12-19T14:51:55 | 102,706,907 | 3 | 1 | null | 2019-03-18T11:11:17 | 2017-09-07T07:41:14 | R | UTF-8 | R | false | true | 237 | rd | genomeHits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{genomeHits}
\alias{genomeHits}
\title{genomeHits}
\usage{
genomeHits(bp_data)
}
\description{
Plot distribution of brekpoints across the genome
}
|
19eeb0cd0700edc2019b8d1d670182230693bc59 | ab707c6c4426530354e9dc2c2d02af03a1d7257a | /R/utilityFunctions.R | 9851aabc10a8a03b87d2daac6aba3a2077793d60 | [] | no_license | plantarum/virtualspecies | 84fb54e1d29cf89ab9d84a2744d9da4d214bd208 | 36c079b3c853b77df46573ca46adff5abd253d56 | refs/heads/master | 2022-03-20T10:49:43.963146 | 2019-12-12T12:32:05 | 2019-12-12T12:32:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,376 | r | utilityFunctions.R | # Functions ".randomCellsLonLat" , "..randomCellsLonLat2" and ".randomPoints"
# have been duplicated from package dismo
# (author RJ Hijmans) for modifications.
# We duplicated them here because we needed a change in randomPoints
# function, since we use it in a manner that was not initially intended.
.randomCellsL... |
c36f8a81858ee52933dad7cc9df3ebedd530de16 | 271c28a105c28cf433f7fedd8562d23116038124 | /man/classify-as.data.frame.Rd | c5e62d4d86aa1d25d3608c900a9ac55c0b215f09 | [] | no_license | hejibo/gazetools | f368ef4500d38c884ce66a268a7135a173c41288 | eb7875b2c7e43fe74d66e07ed339bc3061c97a03 | refs/heads/master | 2021-01-17T06:59:11.809112 | 2013-05-21T13:57:43 | 2013-05-21T13:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 252 | rd | classify-as.data.frame.Rd | \name{classify.as.data.frame}
\alias{as.data.frame,classify,missing,missing-method}
\alias{classify.as.data.frame}
\title{Coerce object of class \code{classify} to a Data Frame}
\description{
Coerce object of class \code{classify} to a Data Frame
}
|
6538f36788f04690a40a46348deb619382ccc756 | 9a4d33b3aa79c9684867c8e038659573932cb429 | /R/knitr_utils.R | 85e9a001c01cbadff58e556cb06a341192732f28 | [
"MIT"
] | permissive | joshloyal/STAT542 | 795fd29cdfff4628b28dc4b72739a86bbfc647bf | 4659eb828047f6fbaca386e687cd67ed0c988b16 | refs/heads/master | 2021-07-09T05:16:33.612467 | 2017-10-07T00:45:44 | 2017-10-07T00:45:44 | 102,968,018 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 164 | r | knitr_utils.R | library(knitr)
read_package_chunks <- function(path = '.') {
pkg_files <- list.files(path = path, full.names = TRUE)
invisible(sapply(pkg_files, read_chunk))
} |
90b8612141b1537902fc244dc7a52d9ba4367e18 | 81eef7196d7378b8d9b38205373f7412acdb1c54 | /code/run_scale_up_scenarios_actuals.R | 83652acd0f8376e69f47fc6bf0e3d80341242a12 | [
"MIT"
] | permissive | yangyijane/covid_vaccination_disparities | a1e35e283cce4fe9a68dc2ff91625d77c258f4a9 | 03a5de37639114eb9049fe592c0f4bb0fe30d3a7 | refs/heads/main | 2023-08-23T14:36:53.906133 | 2021-10-19T17:07:04 | 2021-10-19T17:07:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,433 | r | run_scale_up_scenarios_actuals.R | rm(list = ls())
library(data.table)
library(ggplot2)
library(DBI)
library(RSQLite)
library(lubridate)
setwd("~/COVID/vaccination_analysis/covid_vaccination_disparities_PPML/")
regions <- fread("https://raw.githubusercontent.com/cphalpert/census-regions/master/us%20census%20bureau%20regions%20and%20divisions.csv")
re... |
048aa4cb869d86a89b276d5698d12efbd21d95f5 | 76438f4642a21d133067516c794f2cdaafc30ea6 | /hicdcplus/R/diff_inter.R | fd43adb4f128cb450136f73b68dae1558bdb5858 | [] | no_license | 1092-bioinformatics/finalproject-109753144 | dafc7d296a1a720008a2911f9cbd375d04bc8f16 | f32683dd0f5976898b3b7bf5f55fc63d549e585f | refs/heads/master | 2023-06-11T03:52:25.274818 | 2021-06-23T13:45:48 | 2021-06-23T13:45:48 | 378,655,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,345 | r | diff_inter.R | library('HiCDCPlus')
outdir <- '.'
#generate features
construct_features(output_path=paste0(outdir,"/hg38_50kb_GATC"),
gen="Hsapiens",gen_ver="hg38",
sig="GATC",bin_type="Bins-uniform",
binsize=50000,
chrs=c("chr21","chr22"))
#add .hic coun... |
b1b3ee48b1c454d13d461ea95e55860f00c08ae7 | 21b4ee3f8f6d4b31b7b553e821358ead779313d8 | /R/length.R | cf733bf354db7e83b661bbc2a3681c3459511fa2 | [] | no_license | cran/simFrame | 232ac52dfb4e79445c8c3da6183f3a5e541bce43 | 9da160cc2897919de7c0fac56ca9b6f7f0035d36 | refs/heads/master | 2021-10-28T08:54:47.060719 | 2021-10-14T10:10:02 | 2021-10-14T10:10:02 | 17,699,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | length.R | # ----------------------
# Author: Andreas Alfons
# KU Leuven
# ----------------------
## sample control
setMethod("length", "VirtualSampleControl", function(x) getK(x))
## sample setup
setMethod("length", "SampleSetup", function(x) length(getIndices(x)))
## contamination control
setMethod("lengt... |
eeed3666196ddacef657a73f1449d79059658797 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/cognitoidentityprovider_create_user_pool.Rd | 4f627e7c4e302d6b22252fcd50f60dda8e8bd8bc | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 11,790 | rd | cognitoidentityprovider_create_user_pool.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cognitoidentityprovider_operations.R
\name{cognitoidentityprovider_create_user_pool}
\alias{cognitoidentityprovider_create_user_pool}
\title{Creates a new Amazon Cognito user pool and sets the password policy for
the pool}
\usage{
cognitoiden... |
4a8889f83160274de01decfc7189807bbd9c4981 | 27366236f9d5bbfd1e69ad24f717ae94590bb8f3 | /R/ContactPotentialProfiling_FragmentLibrary.R | ddbc63d11719fbd7a306b35ff7afa0473decc840 | [
"MIT"
] | permissive | yanmc/Repitope | 95cef04dc6d56247be014c9440c95f5d08b9a4f4 | f7d86bfee1483ed93598eb67f6fa425169c76bff | refs/heads/master | 2020-06-03T20:02:04.253837 | 2019-05-18T16:40:54 | 2019-05-18T16:40:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,253 | r | ContactPotentialProfiling_FragmentLibrary.R | #' Generate sequence fragment libraries.
#'
#' \code{CPP_FragmentLibrary} generates a formatted fragment library datatable.
#'
#' @param tcrSequenceSet A set of TCR CDR3B amino acid sequences.
#' @param fragLenSet A set of sliding window sizes.
#' @param fragDepth The depth of fragments used to compute repertoire-wide ... |
6fa04b7b6b2d56809147c4a528fdba14140c78ee | 1dfc525df1fc820262b29595df0058d2ef9d48af | /Probabilistic-Record-Linkage/Probabilistic-Record-Linkage.R | a50ea08401cc67d3e8bb93ea1462a32fd8b780c6 | [] | no_license | ykkim123/Data_Science | a2ac6e07cb09866363fda73aac469e33a99a6993 | b67434e0f7f9e8bed7a6de19dd2fa7c6df1c7b16 | refs/heads/master | 2021-01-09T15:08:06.895961 | 2020-09-04T05:15:47 | 2020-09-04T05:15:47 | 242,348,961 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,588 | r | Probabilistic-Record-Linkage.R | #############################
######### Probabilstic Record Linkage
#############################
# Load data
library(PPRL)
data = read.csv('testdata.csv', header=F, sep='\t')
write.table(data[1:5], file='testdata_new.csv', sep=',', row.names=F, col.names=c('id','gender','year','month','date'))
data = read.csv... |
5e369432ae9fa65457db1e06b0b9efcb5695ed76 | 261ca2741bfadfe74685caf9dc9c34d606d0630f | /functions/raw_data.R | 9b19117430481407bd4e380a397221fe3ba434ec | [] | no_license | michbur/AmpGram-analysis | a743be25e69eaeb205cdac4673aac4c7d285472d | 9a76d4c90a74622ec5ad9dc8b3d908799ac7745a | refs/heads/master | 2022-06-16T07:03:40.763515 | 2020-05-11T17:18:16 | 2020-05-11T17:18:16 | 227,064,156 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,100 | r | raw_data.R | #' Reads in the raw AMP sequences for analysis
#'
#' Reads in AMP sequences from the dbAMP database and extracts those
#' with experimental evidence for antimicrobial activity. Returns a list
#' of two lists:
#' \itemize{
#' \item{standard}{Sequences comprised of only standard amino acids}
#' \item{non_standard}{Se... |
5e1dc16b4a0273fdb0c7f6131f74c2fcd4be78cb | e943294fe503d00513175402cc3f81089618e409 | /man/scientificLabels.Rd | 0ee77eea61e99f3047d5f8f7cf0ec86cdef6fe03 | [
"MIT"
] | permissive | sfeuerriegel/ResearchGroupTools | 395aa520315003b7626b7a5707a03df963059d3e | 96c0238f7261d471d522628be941a32aa9fc042a | refs/heads/master | 2020-04-24T01:22:59.561316 | 2017-02-03T17:21:50 | 2017-02-03T17:21:50 | 66,145,324 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 733 | rd | scientificLabels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{scientificLabels}
\alias{scientificLabels}
\title{ggplot labels with exponential notation}
\source{
Brian Diggs \url{https://groups.google.com/forum/#!topic/ggplot2/a_xhMoQyxZ4}
}
\usage{
scientificLabels(l)
}
\arguments... |
981c8b39cefff53cdb075b7356f884297ef29330 | 8e5c16034bee9a17ca7f9318a92b864f51ba58d1 | /RandomScale/man/fitadmb.Rd | 928c8d09167b68e6cd222cb2811dbbda9444c979 | [] | no_license | jlaake/RandomScale | 0532dd9fca561d99a8b6fc9a2d089bf15f61968a | 96e212ccd3f3e024d283a509c9b5db8dd5b67b10 | refs/heads/master | 2021-01-18T22:41:52.669034 | 2016-05-24T22:48:54 | 2016-05-24T22:48:54 | 59,616,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,710 | rd | fitadmb.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{fitadmb}
\alias{fitadmb}
\title{Random Scale Detection Function Fitting with admb}
\usage{
fitadmb(x, w = Inf, formula = ~1, beta = NULL, sigma = 0,
likelihood = "f2", extra.args = "-gh 10", verbose = TRUE, nsteps = 8,
keep = FALSE, debug = FALSE)
}... |
b5a03ae2c34c5a915fa50ff2f79cac171e205036 | 51250726e0ce12a81f75572be193d0b6742554cf | /man/p_search_library.Rd | 0944ba33877e8d24c512fa51d02d68e135ae66db | [] | no_license | dpastoor/pacman | 6ead1b9913e7d2a6b018fc2e6390fd2d86ff4673 | 3b4c2c7f47f2d7faf7563f7b76a92953da47f884 | refs/heads/master | 2021-01-23T22:01:25.517006 | 2014-11-04T00:00:09 | 2014-11-04T00:00:09 | 26,233,734 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | rd | p_search_library.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{p_search_library}
\alias{p_search_library}
\alias{p_sl}
\title{Partial Matching Package Search}
\usage{
p_search_library(begins.with = NULL, contains = NULL)
p_sl(begins.with = NULL, contains = NULL)
}
\arguments{
\item{begins.with}{A character string to searc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.