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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f70b98ac551dfc72af5bff1e81fa7686fdce681 | 17e0b4e4c0fddaa71ce2b137b7f59d17fa47243b | /res/ld_st_indirect_y.r | 5512cf6ef41e0b2c6d979ba0e7037b9e00e7c506 | [
"MIT"
] | permissive | JSpuri/EmuParadise | 6f6d26c43d9dce8f05448b6c07db133d691e39b2 | b8f6cf8823f8553f28dab5c6b44df20978ad6ba0 | refs/heads/master | 2020-06-28T18:33:56.341244 | 2019-11-22T22:49:53 | 2019-11-22T22:49:53 | 200,309,043 | 0 | 0 | MIT | 2019-09-27T15:59:31 | 2019-08-02T23:26:20 | C | UTF-8 | R | false | false | 1,534 | r | ld_st_indirect_y.r | | pc = 0xc002 | a = 0xab | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 10110100 |
| pc = 0xc004 | a = 0xab | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 10110100 | MEM[0x00ff] = 0xab |
| pc = 0xc006 | a = 0x07 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 |
| pc = 0xc008 | a = 0x07 | x = 0x00... |
885f5c5b7232cb1f57a18de38570f57b939d3e0d | 3c639ff3361293d0c1fb2cbec04680da9a271dbc | /Scripts/Gut Check.R | 70abcce86598c6241c93210226b41ac23d307c76 | [] | no_license | 9Olive/FACES | 8d2093e3b7fbf4c2a1c68e17532f810413031320 | 24f986d29ae47e423a8f6470f3c0a99f976f9e4a | refs/heads/master | 2022-11-25T08:40:38.858945 | 2020-07-28T01:36:14 | 2020-07-28T01:36:14 | 274,549,081 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | Gut Check.R | faces_avg <- faces %>%
group_by(Group, `Participant #`, Time, Survey) %>%
summarise(avg_resp = mean(Response)) %>%
ungroup()
faces_sum <- faces %>%
group_by(Group, `Participant #`, Time, Survey) %>%
summarise(avg_resp = sum(Response)) %>%
ungroup()
#Assuming the faces data is cleaned correctly. can be ve... |
58744939b6615be71a99543d98fa21fb984aa0f6 | 5976a3a11d1b46dc1b0f38d1235adc629fe54101 | /Plot 5.R | d24bfce3a5022472ada831ae63954dbbf21b2eb9 | [] | no_license | DamekH/ExData_Emissions_Project | 92a7d18d04e306757574975bcc5e8bd66efaa46e | e90bc25d13a2a206934f6a65eb7421405ea5fc67 | refs/heads/master | 2021-01-01T18:05:12.062714 | 2017-07-28T03:55:31 | 2017-07-28T03:55:31 | 98,243,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 751 | r | Plot 5.R | # Load and assign data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# Pulls subset of Baltimore and on-road data from full dataset
subset_Baltimore_onroad <- NEI[NEI$fips == "24510" & NEI$type == "ON-ROAD", ]
# Aggregates data from each year
Yearly_Emissions_Baltimore... |
78a5e62456ff4591daf9d19a27196fab0b3e0640 | c750c1991c8d0ed18b174dc72f3014fd35e5bd8c | /pkgs/bayesm/man/cgetC.Rd | 02b9235a6e674c681a8387b00d4e7d0a1c07b456 | [] | no_license | vaguiar/EDAV_Project_2017 | 4b190e66fe7a6b4078cfe1b875bccd9b5a594b25 | 288ffaeec1cfdd873fe7439c0fa0c46a90a16a4f | refs/heads/base | 2021-01-23T02:39:36.272851 | 2017-05-01T23:21:03 | 2017-05-01T23:21:03 | 86,010,131 | 1 | 0 | null | 2017-05-01T23:43:04 | 2017-03-24T00:21:20 | HTML | UTF-8 | R | false | false | 1,043 | rd | cgetC.Rd | \name{cgetC}
\alias{cgetC}
\title{ Obtain A List of Cut-offs for Scale Usage Problems }
\description{
\code{cgetC} obtains a list of censoring points, or cut-offs, used
in the ordinal multivariate probit model of Rossi et al (2001).
This approach uses a quadratic parameterization of the cut-offs.
The ... |
dd9b456a54f864e380656282eda7307d5cba9c73 | da6a579eef90305d8a9b10e728fdb737303e063e | /model_branch/subCodes/LapseStatistics.R | 0f4e20f316cb8596bd571185606679e8f3a8ec50 | [] | no_license | fidelsteiner/debriscoveredglaciers | ab7433db84cf3c40c3d22c20917e92504ac952e6 | 5f989bfb53e0a1311749489c2a19f46d14ddcc1a | refs/heads/master | 2021-06-09T18:10:38.717316 | 2021-05-22T08:59:27 | 2021-05-22T08:59:27 | 147,206,872 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 989 | r | LapseStatistics.R | ################################################################################
# Statistics of Bulk Models
#
# LapseStatsitics.R
#
# ReadMe: calculate Statistics for Model Performance
#
# Created: 2017/11/27
# Latest Revision: 2017/11/27
#
# Jakob F Steiner | PhD candidate | Faculty of Geosciences | Unive... |
9aee59fca1ea196e96be120aa1817f4121abaed5 | f22ceaa4fbb61eb443b802964c78ece95151e76e | /plot4.R | f6b6991603771f1cd2e9f338e143a773ccdc828c | [] | no_license | pmcody77/ExData_Plotting1 | 7cf5435c25927fce4908a6549c9fc2ca345fe427 | 7041ad733dce9c216ad37d215b8215aeb3d08c03 | refs/heads/master | 2020-12-14T09:57:52.094168 | 2017-07-02T21:08:40 | 2017-07-02T21:08:40 | 95,485,259 | 0 | 0 | null | 2017-06-26T20:11:01 | 2017-06-26T20:11:01 | null | UTF-8 | R | false | false | 2,005 | r | plot4.R | ## Plotting Assignment #1 for Coursera course on Exploratory Data Analysis
##
## Assumes the UC data set is already downloaded and extracted to working directory
#### Plot4.R
#####
## Loading and preparing the data frame to plot from
#####
#set coltypes so numeric columns come in as numbers not characters ... |
04016efc8c7dd28893757d05461e455ed417d4e9 | 587bd26d91c30820bfe9debc9888e52d642f372d | /utility.R | 83b0aa8db46c57d969398e38d3d9a99e2184cc9e | [] | no_license | abelmontesdeoca/ExData_Plotting1 | 71a4212c1cf578f0ce71165f376f2fc3293167f6 | 3102ff5d19e906d0fffaf055319ff58942ac76a0 | refs/heads/master | 2021-01-18T07:56:46.265156 | 2015-05-10T10:05:35 | 2015-05-10T10:05:35 | 35,339,284 | 0 | 0 | null | 2015-05-09T18:03:12 | 2015-05-09T18:03:12 | null | UTF-8 | R | false | false | 449 | r | utility.R | todo <- read.table("household_power_consumption.txt", header = TRUE, sep=";", na.strings="?")
hpc <<- with(subset(todo, Date == "1/2/2007" | Date == "2/2/2007"),
data.frame(Timestamp = strptime(paste(Date, Time),
format="%d/%m/%Y %H:%M:%S"),
Global_active_power, Global_reactive_powe... |
0653701c98c76fe2d14d8be159575bb438c2293e | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query25_query08_1344/query25_query08_1344.R | faf2a79700b4005e8f7bbb9577aef0be11463866 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | query25_query08_1344.R | 79fa44dbade359ecf7230a32a46cb6f3 query25_query08_1344.qdimacs 790 2113 |
df1189b5e231e0a46fdc6ca1714547d3dc2a9e4e | 81a791350b09bb1999a42b7d26f160eb69039172 | /ch3/R/cogsH_analysis.R | da9d6fe84f01ccd685ed3fa394baaad6f3ab9903 | [] | no_license | ollyburren/thesis | 08ab64cf3ec3b31213a87eb6cc676c23c2409978 | 3ab8bbf6e7a255f6ddfdd1ffdf5f79fb8dd57d20 | refs/heads/master | 2020-07-18T22:59:41.613683 | 2019-06-13T09:28:28 | 2019-06-13T09:28:28 | 94,329,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,590 | r | cogsH_analysis.R | ## analyse hierachical prioritisation
DATA_DIR <- '/home/ob219/share/cogs_bb/COGS'
fs <- list.files(path=DATA_DIR,pattern="\\_prioritised.tab",full.names=TRUE)
res.DT <- lapply(fs,fread) %>% rbindlist
## examine protein_coding only
resf <- res.DT[biotype=='protein_coding',]
## filter such that there is at least m... |
553a570fb765ef1ba0e03279f88f622cb56af9ab | 1197eab6d7008068cd5558d26039fa157c6e7854 | /ui.R | cc0d5012ce684145fdaa92cf409bc49fc44c9009 | [] | no_license | arjitmazumdar/DataProducts | 66976b90e9a38cfb9bf57f63ce7376eb43e12716 | 1f490236d971fe62cbb16eae0c521c3252b76887 | refs/heads/master | 2016-08-12T03:53:32.081992 | 2015-12-27T11:31:27 | 2015-12-27T11:31:27 | 48,642,153 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | ui.R | # ui.R
shinyUI(fluidPage(
titlePanel(" BMI- Body Mass Index Calculation For Men and Women"),
sidebarLayout(
sidebarPanel(
p(h4("Please Enter Your Details")),
textInput("text", label = ("Name"),
... |
fb72ee83b281b21d283768edaad6a2f428f03e90 | 32f251147606d865a04834ba8f08f8be75410738 | /man/Hdr_LN2.Rd | 4899b3447d869ff6eb19991624d42a3e2d8c3e0a | [] | no_license | cdv04/ACTR | 4e17aaab32d319b1b609b6c1c0c553a0f7e41317 | d1762dc8884eb37b023cf146a71c05a96508cc08 | refs/heads/master | 2021-01-01T05:11:47.528297 | 2017-04-07T10:16:40 | 2017-04-07T10:16:40 | 59,212,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 731 | rd | Hdr_LN2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Hdr_LN2.R
\name{Hdr_LN2}
\alias{Hdr_LN2}
\title{Calculating HDR5 of observed data from log normal distribution.}
\usage{
Hdr_LN2(edr10.df, th)
}
\arguments{
\item{th}{The desired probability (i.e. 0.05 for HDR5)}
\item{edr10}{A dataframe con... |
50bd58e9ece0751d14487be10b0b851365bd4909 | 046d61375e3d1fb5efcad840a992a9ea2b7d897f | /R/eb.R | 81cd6a8b8ee0ea34a3aa3b82bd2a47bc2e87530d | [] | no_license | pbreheny/deepn | a494f634ebcce4bdf022af6539aa1fc92bd5af5c | 04d69d464f1b8f410d747fe416898ec22a8361ef | refs/heads/master | 2021-01-09T20:18:45.151939 | 2020-05-04T22:17:33 | 2020-05-04T22:17:33 | 61,055,789 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 226 | r | eb.R | # NOT FUNCTIONAL
eb <- function(z, se, lam=0.05) {
n <- length(z)
w <- 1/se^2
m <- weighted.mean(z, w)
mu <- lam*m + (1-lam)*z
v <- 1/(w + lam*w)
mu[is.na(mu)] <- m
#v[is.na(v)] <- 1/(lam*)
#list(mu=mu, v=v)
}
|
d14c9f8f841de0ad71c0ecc905d5006a881247b4 | e0b0ddad937ce559aba8ce8e0ef2d5432ed839c9 | /result/real_data_0621/lib/sim.R | 795695727509e49d9f71eac3eb6334daeefe037a | [] | no_license | jenjong/RankConsistency | 968b4dfb7f5a43b33ad8bc0a8d872dbb4d6a24f5 | ad262789e833757e2437fb2423ca71e7ce89793c | refs/heads/master | 2020-03-11T01:21:25.848962 | 2019-04-08T11:11:15 | 2019-04-08T11:11:15 | 129,689,557 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,653 | r | sim.R | #1 Dirichlet density function
ddirichlet<- function(x,alpha.vec)
{
xd = 1-sum(x)
v<- sum((alpha.vec[1:2]-1)*log(x)) + (alpha.vec[3]-1)*log(xd)
v1<- gamma(sum(alpha.vec))/prod(gamma(alpha.vec))*exp(v)
v1
}
#2 glmnet design matrix and reponse matrix
gen.designR <- function(p)
{
x = matrix(0, p*(p-1), p)
... |
a1c7d8a5ad122811bd5e4d7eab53b17f5a6f5267 | 51edc04f9e08625a2ba5fd4bb1ab18cd6b244549 | /cachematrix.R | 9bc6f2cdf9ca1f1cdcbe6fe034e8f9f1886d36fc | [] | no_license | cmattoon/ProgrammingAssignment2 | da2b6d4f0623271aa7d1f1d685586fe3c3f83730 | 29f85802713d1156b98e380946077d8cbc8b4b05 | refs/heads/master | 2020-12-25T21:01:00.118162 | 2014-10-25T17:36:41 | 2014-10-25T17:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,285 | r | cachematrix.R | ## Solves and caches inverse of matrix.
## Usage:
## > cache_matrix <- makeCacheMatrix(c(11,12,21,22), ncol=2, nrow=2)
## > inverse <- cacheSolve(cache_matrix)
## Attaches getters/setters for both the object
## and the inverse property.
makeCacheMatrix <- function(x = matrix()) {
inverse <- NULL
## This functi... |
0a913dbb663ccbcedf194a9b5a9d9fecc9e77910 | d45283f3b64c81c2a1c1e7a4cf5e2ff4d9e7b495 | /man/mtcarz.Rd | f8c54db704efa8522a4990805273cd7f12278183 | [] | no_license | DuyDN/descriptr | d138c1121e4fdb969b4d70e08402320c8417b1d2 | 6f3469f2e068c8e685dbb25471468b0816d1406e | refs/heads/master | 2022-05-19T14:40:56.429504 | 2020-02-01T10:20:44 | 2020-02-01T10:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 334 | rd | mtcarz.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ds-data-mtcarz.R
\docType{data}
\name{mtcarz}
\alias{mtcarz}
\title{mtcarz}
\format{An object of class \code{data.frame} with 32 rows and 11 columns.}
\usage{
mtcarz
}
\description{
Copy of mtcars data set with modified variable types
}
\keyw... |
c2e4221beb946aa02ac7713de2b3c01cab9ad375 | 288b4b6998906714ab368e0ee14c70a4059be4ab | /tests/testthat/test_data_mcdaniel1994.R | 550f3a9f377bcbb1d95ab35cb1780af18cb741a5 | [] | no_license | qsh7950/metadat | f6243a382c8c0e3f4c9a0e2cd657edb0ffa3e018 | 5c70fa63d7acfa1f315534fb292950513cb2281e | refs/heads/master | 2021-02-26T06:42:18.937872 | 2019-10-21T21:58:33 | 2019-10-21T21:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 207 | r | test_data_mcdaniel1994.R | source("hashTable.R")
context("Checking data: mcdaniel1994")
library(digest)
test_that("checks data md5 hash", {
expect_match(digest(metadat::dat.mcdaniel1994, algo = "md5"), hashTable$mcdaniel1994)
}) |
459c300a1e4ce858d587412b34bf906e812f59b4 | dbfe5ce272e204a8e1663ced35c9d48ef4870496 | /man/str_similar_pair.Rd | 902e24218c87186defe968a20b33412d249c7af4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmito/hmRLib | fac91a4e2ddfcd899283ec0b63c87c31965fb17f | f2cfd54ea491ee79d64f7dd976a94086092b8ef5 | refs/heads/master | 2023-08-31T07:21:31.825394 | 2023-08-28T10:02:07 | 2023-08-28T10:02:07 | 41,907,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 551 | rd | str_similar_pair.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/character.R
\name{str_similar_pair}
\alias{str_similar_pair}
\title{Check similarity pair of given string with themselves.}
\usage{
str_similar_pair(string, similarity = 3, only_sub = FALSE)
}
\arguments{
\item{string}{character for checking ... |
1251f1fff2d5b13c78109d3d978bc16eba23bc96 | 3eab8baafc916551a9cae1f1145949facfbe20ba | /Sync_DB_with_Ratings.R | ddbae58617586e800c69062ce73c263f001cfb64 | [] | no_license | LovinSpoonful/IS607-Project3 | 1d1a67c666eeb7dc4eeb0ada5a4da4958c07c514 | 2a7fbadb946aa8a8ecf1cbd09f4ae02d84131ab3 | refs/heads/master | 2021-01-10T16:54:25.180508 | 2016-03-27T03:20:56 | 2016-03-27T03:20:56 | 54,080,950 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,413 | r | Sync_DB_with_Ratings.R |
library(RMySQL)
# MySQL DB info
proj_user <- "project3"
proj_pwd <- "CUNYRBridge4"
proj_db <- "skill"
proj_host <- "db4free.net"
## ------------------------------------------
## Using RMYSQL
## ------------------------------------------
# establish the connection to the skill DB on db4free.net
skilldb = dbConne... |
6a1141c819ee1ee596d6b7e86e8032173c0b7075 | 6033a4d1ddfa4000df0095adf4e16d60b465fab7 | /top5_CityHotel.R | cad98d4272401598c25273e4fdd2f88fe9a50e5e | [] | no_license | Pari02/Summer_Practicum_Orbitz | e2408856605e7a4f7449c585df12bd801cf726db | 61b519b26b8f829a69170068dd90467a24fb6985 | refs/heads/master | 2021-01-15T16:57:39.754646 | 2015-09-27T09:01:03 | 2015-09-27T09:01:03 | 38,257,253 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,989 | r | top5_CityHotel.R | # installing required libraries
install.packages("rjson")
install.packages("jsonlite")
install.packages("hydroTSM")
install.packages("RCurl")
install.packages("XML")
install.packages("zoo")
installed.packages("ggplot2")
library(rjson)
library(jsonlite)
library(hydroTSM)
library(plyr)
library(RCurl)
library(XML)
librar... |
40b51f19aaa54eeb40ccf1b1f244b1ba3a9bc3d3 | 30b6762b3eefc492ef6e41715e6076aed74154a6 | /vim/nostow/test/test_colorscheme/statistics.R | 67b6d539d891e8f41bd64ca419701b0d8dd17cb7 | [
"MIT"
] | permissive | viccuad/dotfiles | e7ac04e3c4671aa8f1f1d6e7fca5278e6c0ec458 | fbd13a108c8201310af323ccda74aac23ec7a03a | refs/heads/master | 2020-04-15T22:48:29.276891 | 2017-09-03T09:49:49 | 2017-09-03T09:49:49 | 18,060,758 | 26 | 11 | null | null | null | null | UTF-8 | R | false | false | 135 | r | statistics.R |
library(foreign)
detach("package:datasets")
x <- rnorm(1)
if(x > 0)
cat("Yes\n")
else
cat("No\n")
x <- numeric(123)
x <- NULL
|
7fd07f3ab621a634f0ab1fa02782ca58b8bad400 | 4f8c7cd717fd4a0a7b9b5d9e7dbd856b21ad8533 | /v1/server.R | 9d2bd33f591261f9a5d521be8cbbdfde50a0f856 | [] | no_license | omker04/LinkedIn | c9b7803a05784e9aaf076724c25cc1e5ba5816bd | 54b80a68f3cebc79682dbc086f110efac4d35af7 | refs/heads/master | 2020-03-14T22:02:43.632143 | 2018-05-02T07:08:54 | 2018-05-02T07:08:54 | 131,811,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,203 | r | server.R | shinyServer(function(input, output, session) {
##### Login Signup ####
observe({
if (input$user_name != '' & input$user_ID %like% 'GTS' & nchar(input$user_ID) == 7 & input$agree) {
enable('login')
enable('signup')
} else {
disable('login')
dis... |
b60a0b789623b93d91b469c5461c68fb2b0cdf23 | 20a14c8e7e54196ec8fe97157b52a8a7789ab349 | /wrangling/joining_data.R | 0ed0194101d25826a3a7a11f0ed35f49816245b4 | [] | no_license | azbenoit/EDX | f31235250f69d331ff675087fd3dc7626ee27321 | 5bd741b10ea0cef4542fb6d162930937fa321048 | refs/heads/master | 2022-11-22T13:55:54.653207 | 2020-07-30T22:32:26 | 2020-07-30T22:32:26 | 261,275,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | joining_data.R | library(tidyverse)
library(Lahman)
top <- Batting %>%
filter(yearID == 2016) %>%
arrange(desc(HR)) %>% # arrange by descending HR count
slice(1:10) # take entries 1-10
top %>% as_tibble()
Master %>% as_tibble()
top_names <- top %>%
left_join(Master, "playerID") %>%
select(playerID, nameFirst, nameLa... |
2f15b74feb8bd89edbb1efd047ef733e3ff2c517 | afd08df66beef2f756ead9d2af095b5a6f0aee8c | /R/gather.PharmacoSet.R | f51a809dca0fe0e56d511ae41cddccf417b94512 | [] | no_license | chapmandu2/tidyMultiAssay | 05ee00642684c5813cb7d05fdfc65bd62ba72993 | 59d1388c87e8ce68f5b52e38315fa2b5bf37e5ad | refs/heads/master | 2021-01-23T03:37:31.209263 | 2017-01-06T08:54:27 | 2017-01-06T08:54:27 | 64,685,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,404 | r | gather.PharmacoSet.R | #' @title
#' Convert a PharmacoSet object into tidy format
#'
#' @description
#' Convert a \linkS4class{PharmacoSet} object into tidy format. This is essentially a wrapper function
#' for \code{\link{gather_response.PharmacoSet}} and \code{\link{gather_assay.PharmacoSet}}
#'
#' @param x PharmacoSet object
#' @param sa... |
df60569aaebf7bdcd5a36db1cc01d72d38d7f1e8 | 28d8c54ff161be6c0123748935c5c88124fea7b8 | /data-raw/create_test_data.R | da35fae9bacf5c757c3ec0773c33eb1a8c2623bc | [] | no_license | lawinslow/LAGOSNE | 1b1fd7b7574a1e5cf9c87b6c28d30c3008255b41 | b68fff7dc4862e90b5f178a545e46e6ecf5f97fb | refs/heads/master | 2020-03-08T16:48:32.275788 | 2018-03-26T19:33:06 | 2018-03-26T19:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,345 | r | create_test_data.R | # Create a testing dataset from compiled LAGOS database rds
# LAGOS:::lagos_compile("1.087.1", "rds")
dt <- LAGOSNE::lagosne_load("1.087.1")
dt_subset <- purrr::map(dt, function(x) head(x, n = 2))
# manually add rows for lake_info test
dt_subset$state <- rbind(dt_subset$state,
dt$state[whic... |
04ffcb4963e596f4708c7cf3f9eefbb1b6331491 | e85a80ba4df857d2cccc3884a782be50833ea7f0 | /05.transcription_factors/04.expression_correlation/two_gene_correlation_all.R | 7aa8ecc6c28242b791deb1f1694e0b01fb0497db | [] | no_license | zengxiaofei/monolignol-biosynthesis | 4c9ffc2cc9b69c4056a114dadb8c2de16e73fddb | c16862fc70bf32aa679eb792cb973f3f0c5c1e28 | refs/heads/master | 2023-01-11T17:45:54.555382 | 2020-11-05T03:06:30 | 2020-11-05T03:06:30 | 272,724,214 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 801 | r | two_gene_correlation_all.R | #!/usr/bin/env Rscript
args <- commandArgs(T)
library(ggplot2)
args <- commandArgs(T)
gene1 <- args[1]
gene2 <- args[2]
md <- read.table("RSEM.gene.TMM.EXPR.annotated.CCR1_2.matrix", header=T)
tmd <- as.data.frame(t(md))
sp <- cor.test(tmd[[gene1]], tmd[[gene2]], method="spearman")
pval <- sp$p.value
rho <- sp$estim... |
0b2452b69422c17f681dc4f78ac9b6ba6a9a7f9b | 3a94e79e085df45b5bcf25e7778a26daee82ad53 | /man/plot_risk_premium_en.Rd | 37085ce4638d37e3e22deef31bdaeb11c6cc8771 | [
"MIT"
] | permissive | cran/ceRtainty | bac5e856ec90963f4d72f9a2d0abbc50fdff6202 | f43c62da68d3c6bb6ae256c8c87cd4186d60b866 | refs/heads/master | 2020-12-21T21:32:37.227829 | 2019-06-14T13:40:03 | 2019-06-14T13:40:03 | 236,569,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 729 | rd | plot_risk_premium_en.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_risk_premium_en.R
\name{plot_risk_premium_en}
\alias{plot_risk_premium_en}
\title{Plot of the Risk Premium values using Exponential Negative Utility Function}
\usage{
plot_risk_premium_en(data, rac_ini, rac_fin, rac_len)
}
\argum... |
7393dcba81010504c594e5a509d8ef8e7b0d8076 | ef4c19bbcd2bb4915aa17654c7760fe0e6e14e5c | /man/prostate.Rd | 0f383a8f26046225f4edb524fd6ae85c97481c61 | [] | no_license | 3shmawei/faraway | ee4f1442e5b28de2c4e436c57a7c34f2f3065a2b | dc770de1a2d55d31a217e14c911495644ea17b3f | refs/heads/master | 2020-03-23T18:10:35.105916 | 2016-02-15T15:07:03 | 2016-02-15T15:07:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 923 | rd | prostate.Rd | \name{prostate}
\alias{prostate}
\title{Prostate cancer surgery}
\description{The \code{prostate} data frame has 97 rows and 9 columns.
A study on 97 men with prostate cancer who were due to receive
a radical prostatectomy.
}
\usage{
data(prostate)
}
\format{
This data frame contains the following columns:
\describe{
... |
5c0fb9d13e862293229b5a771de0a0bd56ea1213 | 285d35f03c59b3eca8a8639e30009cc020ee7fbf | /00-metadata/HemisphereChart.R | 5087979dd93f066f0c8b2c7c66bbaa35a70c6ecd | [] | no_license | octopode/cteno-lipids-2021 | 5a039c0506111cc3bbd6e689bd7bf02ac585dc1c | b2c66cf59149e5c79918bdcc317303a23e59e338 | refs/heads/master | 2023-03-26T07:59:36.219753 | 2021-03-12T18:19:25 | 2021-03-12T18:19:25 | 289,368,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | HemisphereChart.R | library(tidyverse)
library(ggrepel)
library(ggpubr)
# plot that lonely northern hemisphere
land <- map_data("world") %>%
filter(
(region %in% c(
"Greenland",
"Iceland",
"Canada",
"USA",
"Mexico",
"Guatemala",
"Belize",
"Honduras",
"El Salvador",
... |
8737b7ad3adc7d8cfc14ef229f68bb1ec4d795cd | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9043_0/rinput.R | 5cd176e81ccc82b2fffc244bc97c6c47ff3460e3 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("9043_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9043_0_unrooted.txt") |
20c11f00e8e6b423ee86a89ba4cf104cb88724dc | 8ad96eb29e6839e486a6d2cd72a4a93bab45d57d | /script/subscript/calculatePP.R | 20a171bb48bd5adcb6c2b51f864f979dbb934aa3 | [
"MIT"
] | permissive | hoangtn/DECO | 4ca3049875db954eca9044397dfe59fda8ae638b | 864bb0e9ac163717739536c37688479a05e0a826 | refs/heads/master | 2023-08-06T14:37:53.698455 | 2021-09-24T00:13:09 | 2021-09-24T00:13:09 | 272,843,394 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,081 | r | calculatePP.R | ##Calculate posterior probabilities
calculatePP <- function(pars,
caseData = NULL,
controlData = NULL,
dnData = NULL,
mutData = NULL,
geneName, geneSet){
outData <- data.frame(geneName, geneS... |
cadbae3e6bf8fc2ee3a6744caf5f50dee59d3a0e | 087f9b379877bc87466f8b24d97be9632d46ed2f | /DataCode.R | feaad97124a726e3c04e454afc83540b70ace391 | [] | no_license | Soma586/Data | e407904a7e382ec81bbd123be15bc51b07bec372 | a469b2eba7d7f86ba455b3bce396074008eee10f | refs/heads/master | 2020-03-29T08:08:47.364818 | 2018-12-13T16:56:47 | 2018-12-13T16:56:47 | 149,696,017 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 322 | r | DataCode.R | pro <-read.csv("FHVData.csv")
x = as.numeric(pro$American)
mean(x)
sd(x)
y = as.numeric(pro$Uber)
mean(y)
sd(y)
z = as.numeric(pro$Highclass)
mean(z)
sd(z)
hist(x, main = "Histogram of Pro$American")
plot(z, main = "Plot of high class", y = "frequency")
plot(y, main = "Plot of Pro$Uber", ylab = "frequency... |
b3622870f9dc95f92c64e4e4a1e53c3ee8bc2285 | aac4e0c44de4aa89ca0081f2de4d113897ee9c65 | /man/scotland_births.Rd | ac74221b97d15148d380cf0d804f2f224f8b3b3c | [] | no_license | TKosfeld/fosdata | c2c39db8cc7a62ebfca48ba87b30c4ebb9a3eee9 | 7353861f61ae094c474a8e1a4d698f4919333ba6 | refs/heads/master | 2023-08-01T11:53:33.944662 | 2021-09-15T04:12:52 | 2021-09-15T04:12:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 684 | rd | scotland_births.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scotland_births.R
\docType{data}
\name{scotland_births}
\alias{scotland_births}
\title{Births in Scotland}
\format{
A data frame with 45 observations of 76 variables.
\describe{
\item{age}{Age of the mother, in years}
\item{x****}{Year of... |
dd412b8fab20ef3b30e9e8ea6247f880dfbe3cb5 | 504f277ca5e3d508ff047d24944ab6550ed8e431 | /pairwiseAcf.R | 4232dc5909e0f6450698d95591deece108fa0d5f | [] | no_license | srivathsesh/DengueAI | ca99c032920acb5bd17fb025f8c45d23c6d2c99e | 54cbe790404b72ee94bdbe79996a708c06373ff2 | refs/heads/master | 2020-03-18T23:48:24.731364 | 2018-06-11T19:29:24 | 2018-06-11T19:29:24 | 135,429,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,263 | r | pairwiseAcf.R | #****************************************************************
# Optimal lags decision
#****************************************************************
pairwiseAcf <- function(x, y, varnames) {
bestlag <- function(p) {
# browser()
cf.df <- forecast::Ccf(y[,1], x[, p], plot = T,lag.max ... |
6838502364ef51da33704d5fbf365525389fcb1c | b5ebe52bb3594b62395ff452235fed8c8be477b8 | /tsa_project/main/R/latest.r | 91f7ba9c8bed881fee5da72b671c7dc9b2a69772 | [] | no_license | Steven-Sakurai/Math-Potential-Well | 1e69992ca867d85d05af756ca471cf64627a9f20 | 01c5bdf1964b363b4455c6da4c9879aff1b66846 | refs/heads/master | 2021-01-20T01:17:16.833077 | 2017-06-18T15:31:26 | 2017-06-18T15:31:26 | 89,248,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 743 | r | latest.r | library(curl)
library(forecast)
library(TSA)
library(rugarch)
tmpf <- tempfile()
curl_download("http://www.metoffice.gov.uk/hadobs/hadcrut4/data/current/time_series/HadCRUT.4.5.0.0.monthly_ns_avg.txt", tmpf)
gtemp <- read.table(tmpf)[, 1:2]
gtemp = as.numeric(gtemp$V2)
mytemp = gtemp[600:1980]
plot.ts(mytemp)
acf(m... |
ce65d4d9c7ce818c2de072fe0b4ea237608bc947 | 28767234045ae57efe03a7d9949f75c01388ce14 | /ImageCollection/02_metadata.R | 998b055928488969db45602c3678d62f59387544 | [
"MIT"
] | permissive | yangxhcaf/rgee-examples | 596ef77d80b33be402e1c4e5bbb76dba0a135fa6 | 9e2dc8c18a87ebf2bae9666830f9018a9ce3df1f | refs/heads/master | 2021-02-12T04:39:26.594480 | 2020-02-29T09:41:16 | 2020-02-29T09:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,133 | r | 02_metadata.R | library(rgee)
ee_Initialize()
# Load a Landsat 8 ImageCollection for a single path-row.
collection = ee$ImageCollection('LANDSAT/LC08/C01/T1_TOA')$
filter(ee$Filter$eq('WRS_PATH', 44))$
filter(ee$Filter$eq('WRS_ROW', 34))$
filterDate('2014-03-01', '2014-08-01')
print('Collection: ', collection$getInfo())
# Get ... |
849b103d1d49b847a2de93b097945d1085c94f95 | 4ee386eaa3017a4d8a83ff902ef45ef1572c92e9 | /R help/XML/extract_XML_attributes.r | 7d963c65f7ebb1fc70b4dc71b66370067d11be58 | [] | no_license | aayush26/My_Notes | 3a733fad0cfd34495530d77082c1b96dff8a626e | 5c53ce2bb5fef4c328c4118e9c4ab22b5c8a3068 | refs/heads/master | 2021-01-17T13:36:09.202631 | 2019-11-11T13:51:24 | 2019-11-11T13:51:24 | 39,803,397 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 379 | r | extract_XML_attributes.r | library(XML)
file <- xmlTreeParse("Tags.xml",useInternalNodes = TRUE)
xmltop = xmlRoot(file) #access top-node
#xml tag attribute extract
Id <- xpathApply(xmltop,'//row',xmlGetAttr,"Id")
Count <- xpathApply(xmltop,'//row',xmlGetAttr,"Count")
ExcerptPostId <- xpathApply(xmltop,'//row',xmlGetAttr,"ExcerptPostId")
WikiPo... |
05c294e6db47514cba6270b211ea95c92faaf77a | 5c0ad661c78c7d51fbcf73ab8d1f8459c76e78b2 | /CH9#4.R | d77e15c150c0028db060649163712d714cc8df9b | [] | no_license | nickblink/Intro.-to-Stat.-Learning-Codes | 38b00eb44347e299527f74294331bc539eda5ba7 | 7b82a911ea5fb74107412e7a90cbc9fe90213003 | refs/heads/master | 2020-04-06T20:57:54.843322 | 2018-11-16T00:10:58 | 2018-11-16T00:10:58 | 157,788,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,605 | r | CH9#4.R | # I guess all the previous stuff got deleted. Well screw it I'm gonna
# continue with 8. Whose gonna come back and look at this anyway?
library(ISLR)
D = Auto
D$mpg.level = ifelse(D$mpg>median(D$mpg),1,0)
D$mpg.level = as.factor(D$mpg.level)
D = D[,setdiff(Colnames(D),'mpg')]
library(e1071)
tune.out = tune... |
3b79f8460e26d2dd2087b711eb675ac2da845561 | 821045753bd189beebe239e346b1e3183be415b4 | /tests/test_Bike_counter.R | e6bbc630a26e579751ffd060059ecce2456955f5 | [
"MIT"
] | permissive | flynn-d/BikeCount | 9688bf4580bb117b7e44d6f5d1c3602e2011d8d7 | 4befb007d703cededb12cf72017f506737fff1c1 | refs/heads/master | 2021-06-18T11:43:29.411162 | 2020-12-06T02:21:19 | 2020-12-06T02:21:19 | 142,794,979 | 0 | 1 | MIT | 2020-12-06T02:21:20 | 2018-07-29T20:56:30 | R | UTF-8 | R | false | false | 265 | r | test_Bike_counter.R | # Testing the Bike Counter code
# Building off of these resources
# http://r-pkgs.had.co.nz/tests.html
# https://dzone.com/articles/example-unit-testing-r-code
# https://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf
source('Bike_counter_get.R')
|
98ec6bd0644e56997af91c37d44a6c7c22f23c55 | dbe5615e3de9440d1e2ba4ee362feb6a457229b8 | /Plot3_code.R | 53e8e354aeb156a8ccdd35c9e189779c15c57d25 | [] | no_license | vucko83/ExData_Plotting1 | f3d160643d7c16d870c0c496e808526b36371f19 | 2de3a8209c213d292b13083cb466ed5a7dc0b7b6 | refs/heads/master | 2021-01-17T10:27:04.671695 | 2014-10-12T22:28:41 | 2014-10-12T22:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | Plot3_code.R | power<-read.table("household_power_consumption.txt",header=T,sep=";")
power$Date<-as.Date(power$Date, format="%d/%m/%Y")
subpower <-power[(power$Date=="2007-02-01") | (power$Date=="2007-02-02"),]
subpower$Global_active_power <- as.numeric(as.character(subpower$Global_active_power))
subpower<- transform(subpower, times... |
4388932ec223f5d1fb352602c06e26e7c2e6341c | a462a24ff937e151e8151f3a1bdc9c3714b12c0e | /creation/create_scripts_azzini.R | 34239fe133301c2e9933512c11cf198e5ca2c61e | [] | no_license | noeliarico/kemeny | b4cbcac57203237769252de2c50ce959aa4ca50e | 50819f8bf0d19fb29a0b5c6d2ee031e8a811497d | refs/heads/main | 2023-03-29T14:36:37.931286 | 2023-03-16T09:04:12 | 2023-03-16T09:04:12 | 330,797,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,243 | r | create_scripts_azzini.R | scripts_azzini <- function(pors, n, file_name, rep = 0, type = "") {
imports <- c("
import pandas as pd
import numpy as np
from kemeny.scf.borda import *
from kemeny.scf.condorcet import *
import kemeny.scf.distance as dist
import kemeny.scf.initialization as init
import kemeny.azzinimunda.azzinimunda0 as am0
impo... |
b7f4e07a772a0d3a6ab3a2967dc196acb2adb382 | c9f3369c749e5a3cfebaa96dc1b484e72a3dd7d0 | /man/brmle.Rd | 543d05ba72917ac569d158d07c22816a1b165333 | [] | no_license | amoloudi/R-PKG-Distributions | 128ff992a10a0da915f27aa941d2f9d476ad9e9a | 20daa9657d6833cb7aff2ac9194340504c1f0270 | refs/heads/master | 2021-09-02T19:18:04.772144 | 2018-01-03T19:13:48 | 2018-01-03T19:13:48 | 115,752,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 814 | rd | brmle.Rd | \name{brmle}
\alias{brmle}
\title{
bernoulli estimation
}
\description{
finds parameter of bernoulli distribution given as input
}
\usage{
brmle(x)
}
\arguments{
\item{x}{
x is a vector contains a set of bernoulli numbers
}
}
\details{
p is mean of X values
}
\value{
return value is the parameter p of bernoulli distr... |
3ff2ce4247b9dc35c6baf511ce6fe11874751ba9 | 33c3502bf722baa887d932a7a42d0ab1456ea450 | /Task3R.r | 56805206894b65090341be32f7c55373a4c8e262 | [] | no_license | aasthas10/TSF-Task3-R | 043e6269beb7dffd9d92b1fd2e6766dd9274b428 | 4527e027c1a5f3a84ec000461ce7f4137856f15e | refs/heads/main | 2023-05-08T15:30:25.271553 | 2021-05-09T17:11:35 | 2021-05-09T17:11:35 | 365,224,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,367 | r | Task3R.r | library(dplyr)
library(ggplot2)
library(tidyr)
library(shiny)
library(plotly)
library(corrr)
library(treemap)
superstore <- read.csv("C:\\Users\\ADMIN\\Downloads\\SampleSuperstore.csv")
head(superstore)
tail(superstore)
summary(superstore)
#To check if there are any null values
is.null(superstore)
#To check if the... |
d10a1ae4e300a41ee3cd16aeaf842c9742070ec5 | 197590555db25e2b43692e4a89c3c8388c03fdf1 | /tests/testthat/test-custom-noncompliance.R | 59ec62e8ea9bd85d48414f3d619d3d879b2e3fb7 | [] | no_license | yadevi/DeclareDesign-1 | f843ef77d937d1dd0975b99f8ab5914c20461c1c | badcd6e6edbb2e0bb3cf51b3da1047664acea789 | refs/heads/master | 2021-06-14T03:53:23.472797 | 2016-12-05T06:16:05 | 2016-12-05T06:16:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,698 | r | test-custom-noncompliance.R | rm(list=ls())
library(testthat)
library(DeclareDesign)
context("Noncompliance")
test_that("test whether noncompliance works", {
population <- declare_population(noise = "rnorm(n_)", size = 1000)
sampling <- declare_sampling(n = 500)
potential_outcomes <- declare_potential_outcomes(formula = Y ~ 5 + .5*D,
... |
54a63a56079e6878b5a5c3aead24b5afecf3ec0b | f6d8e20dec1641dae4d8dcbeacea647ffede8a5f | /R/SvalbardGradientButtonData/iButtonParse.R | 7c73ace69a37472f6f4559198b389c7e124de766 | [] | no_license | Plant-Functional-Trait-Course/PFTC_Data | 0f440f97cd92814d60dba8a6508e5e1c4988fa46 | c436657f33226bd53b565ad90be422d7343de78b | refs/heads/master | 2022-12-16T07:25:48.797221 | 2020-09-10T14:56:33 | 2020-09-10T14:56:33 | 150,146,451 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | iButtonParse.R | iButt <- read.csv("Celevation_TEMPfile.txt")
fluxes <- read.csv("Cflux_SV_Gradient_2018.csv")
iButt$Datetime <- as.character(iButt$Datetime)
iButt$Temperature <- iButt$Temp + (iButt$Decimal/1000)
datestimes <- strsplit(iButt$Datetime, split = " ")
iButt$Date <- sapply(datestimes, FUN="[[", 1)
iButt$Time <- sapply(dat... |
f7aa03e7e7362ca3cdaa05c1ab82e1775cf0f3e0 | 2d1a2eef9ed2df3670c24a80378cb5e8acd7003d | /man/print.Cosinor.Rd | af475f95b61b6a0b6ed92ca6af6dd913a08d8304 | [] | no_license | agbarnett/season | bd7b5a12ccab2c9337ab2961204b512f2fee4f42 | 6a707fccc0bdef472446b758e548e259f48e7b10 | refs/heads/master | 2022-05-20T06:30:33.394625 | 2022-03-20T09:48:02 | 2022-03-20T09:48:02 | 126,654,287 | 1 | 1 | null | 2022-02-16T02:59:35 | 2018-03-25T01:20:28 | R | UTF-8 | R | false | true | 618 | rd | print.Cosinor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.Cosinor.R
\name{print.Cosinor}
\alias{print.Cosinor}
\title{Print the Results of a Cosinor}
\usage{
\method{print}{Cosinor}(x, ...)
}
\arguments{
\item{x}{a \code{Cosinor} object produced by \code{cosinor}.}
\item{\dots}{optional argum... |
0d99b79b11551ce32895e489fd01f30500a12ecb | bcfdc2cd1d0ff50ce66662a1a37fd9f5adc90f68 | /global.R | 60697023949ab1d98dcf05102748bea61633c286 | [] | no_license | alstoc/LM_vs_SEM_shiny | d82197060e361129f38840b69ed64345d0230b41 | ce223d78a98b40d7e52523bf492a946918a1d5e5 | refs/heads/master | 2023-05-03T10:21:10.500114 | 2021-05-17T11:27:22 | 2021-05-17T11:27:22 | 365,478,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | r | global.R | load("./data/sim_res_study_1.Rda")
load("./data/sim_res_study_2.Rda")
# Create table containing error variance and corresponding reliability
rel_err <- tibble(reliability = c(0.5, 0.7, 0.8, 0.9, 0.95, 1.0),
#error_var = c(1, 0.428571, 0.25, 0.111111, 0.052632),
error_var = c(225... |
f71c61d27c803bb2b78759485cd8cfd149b9e30e | fcbe81388b0f883ff36a9e7173277f80789fa871 | /man/pd_sector_var.Rd | 60b926d4676232ffd31c9d5979bf3faeb92f5cd0 | [] | no_license | cran/crp.CSFP | 15b76b1860f47153a0909b1b9520f4357738d383 | b94ad004acd7cfb33210b5f3c74976ca7561c04a | refs/heads/master | 2021-01-10T21:24:19.961192 | 2016-09-11T18:35:59 | 2016-09-11T18:35:59 | 17,695,304 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 363 | rd | pd_sector_var.Rd | \name{pd_sector_var}
\docType{data}
\alias{pd_sector_var}
\title{Sector variances for the Credit Suisse example portfolio}
\description{
The file contains the sector variances corrsponding to the example portfolio from the Credit Suisse First Boston for CreditRisk+.
}
\references{First Boston Financial Product... |
de160f6e3a4b04ef1a177185b425fb58ef68b16d | 8eda0c211d86fba9ea1abec607de84127d34ffeb | /lib/image_df.R | 380b5b2de492bb6014d09501890fb442ed4ab910 | [] | no_license | NinaShao1230/Fall2017-project3-grp9 | f2c942cf31d201346301d920143220b348d81908 | bbda084d60b89bd559affc117958f6f291a4d6de | refs/heads/master | 2021-07-25T01:21:49.922482 | 2017-11-02T04:42:17 | 2017-11-02T04:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,025 | r | image_df.R | install.packages("OpenImageR")
# library(EBImage)
library("OpenImageR")
setwd("/Users/ninashao/Desktop/Fall2017-project3-fall2017-project3-grp9-master 2")
img_labels<-read.csv("/Users/ninashao/Desktop/Fall2017-project3-fall2017-project3-grp9-master 2/data/training_set/label_train.csv",header = T)
img_dir <- "/Users/nin... |
519772641356cbcc1c270f3eb18cbeda2db06142 | 95510affefea922b31ae8f8141f373d2274b7b17 | /3 - Sampling.R | dc97443c8e24304d81535275972a74c43f99f6c6 | [] | no_license | armandyne/Data-Science-Capstone-Project | ed50c83b42dd477604e5e2b102e9ca19b9dc49e4 | 57afda53168fd46cb4a6618109fde8b2e888afa2 | refs/heads/master | 2020-03-10T08:27:45.372241 | 2018-04-14T18:29:24 | 2018-04-14T18:29:24 | 129,285,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 296 | r | 3 - Sampling.R | load(paste0(data_dir, "/", "raw_datasets.rda"))
blogs_sample <- sample(blogs_vec, size = 10000)
news_sample <- sample(news_vec, size = 1000)
twitter_sample <- sample(twitter_vec, size = 20000)
save(blogs_sample, news_sample, twitter_sample, file = paste0(data_dir, "/", "sampled_datasets.rda")) |
ce5ddc7b01574f54929cc062081bcb976bc446d7 | 4c32c6c3cf83a05cbc1ff323977872233c4637f1 | /R/Stitcher.R | 13e1d0d9c0fe4eca9ebb97b8199799f0bdd9fda2 | [] | no_license | icorroramos/COMPAR-EU_diabetes_model | fb4f343d563c1179d7e0d7256b94f1953d098415 | 8e7bf1445daafee7655135c75bc02b73e99695f5 | refs/heads/master | 2022-08-29T21:08:00.103803 | 2022-08-06T09:21:19 | 2022-08-06T09:21:19 | 207,499,341 | 0 | 2 | null | 2021-03-17T08:34:57 | 2019-09-10T08:00:48 | R | UTF-8 | R | false | false | 3,091 | r | Stitcher.R | ### Function to combine the results of two model runs.
### Maintains names and structure of output objects so that analysis scripts can be used
stitcher <- function(comp.name, location.1, location.2){
load(paste0(location.2, comp.name, '.RData'))
npats.loc2 <- ifelse(exists('sim.vars'), sim.vars[[2]], sim.vars.uc[... |
8494cb3ce5fd4785b16e27a3450eb27b7e3a731d | 4f14e7e4a3a91ca32330362158028e65f3f75011 | /slice_b_gamma.R | 04071e699be45d58564e7678c02f933843ecbb91 | [] | no_license | drvalle1/resist | 31f5231ce944d9b9c86b4f6dd63cfa327c80c116 | 4cc588b91a8a82ca2ba698c8001b3fc6cc18bde8 | refs/heads/master | 2021-02-26T06:25:37.518977 | 2020-08-31T16:37:06 | 2020-08-31T16:37:06 | 245,502,435 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,602 | r | slice_b_gamma.R | Doubling_bgamma=function(soma.media,w,b.gamma,yslice,MaxIter,ysoma){
b.gammaLo=b.gamma-w*runif(1)
b.gammaLo=ifelse(b.gammaLo<0.0000001,0.0000001,b.gammaLo)
b.gammaHi=b.gammaLo+w
#calculate llk
ylo=llk_bgamma(soma.media=soma.media,ysoma=ysoma,b.gamma=b.gammaLo)
yhi=llk_bgamma(soma.media=soma.media,ysoma=y... |
73a08da5c1e32d79005da50a44058963dc4f76a8 | 3581b1fb06e1455db0cbafd1c43e2ac71a250734 | /R/doNlme.R | 29b9e51df125d57df326517ceb0f78c3a935b158 | [] | no_license | cran/mixlow | a4f85e942ef212bfbed81551c2d68b9197e2dc99 | 779a43f75afd02322ade30e575a45a2d1bd81e79 | refs/heads/master | 2016-09-05T13:24:41.248119 | 2012-03-20T00:00:00 | 2012-03-20T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,176 | r | doNlme.R | `doNlme` <-
function(mixlowData, nlsData, drugs=getDrugs(mixlowData), analysis="multiple",
varFunction=1, method="ML", verbose=FALSE) {
## outer loop that sets up calls to NLME
if (!inherits(nlsData, "nlsData"))
stop("use only with \"nlsData\" objects")
if (analysis=="single") {
if (is.list(varF... |
1ae1a18a31abfb2a116cc827ee61c01500910b3a | 1f0a75ecce94daf0003f6545e9ef4ac4c56ccf6d | /man/PictureRadialGradient-class.Rd | d40b93c11dd85ad57bae66563b8a09f7b25fc349 | [] | no_license | sjp/grImport2 | 767e71b961204b9b25389c7e07a629e2c9d6e069 | 00e310e43fa9bc33db2d4eef81340069493a2150 | refs/heads/master | 2021-01-19T04:55:45.773061 | 2015-02-27T10:41:20 | 2015-02-27T10:41:20 | 24,830,205 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,124 | rd | PictureRadialGradient-class.Rd | \name{PictureRadialGradient-class}
\docType{class}
\alias{PictureRadialGradient-class}
\alias{applyTransform,PictureRadialGradient,matrix-method}
\alias{grobify,PictureRadialGradient-method}
\title{Class "PictureRadialGradient" }
\description{
A description of a radial gradient that is meant to be used as part of
a... |
c1807d4e1bae8307844e831cdcfe8de043b052f9 | 90e52d80527b046428fe779017e880a3845e76fb | /CourseProjectv2/plot3.R | acff0f945dd4fa79d414376f1e2841e2febf5bfd | [] | no_license | raneykat/ExploratoryAnalysis | f28099ef1a00e8616aa64f090aae220499c71358 | 4481571a50cbcbc5959fd7583604197ebbe76496 | refs/heads/master | 2020-05-17T23:50:02.005582 | 2014-12-21T23:10:11 | 2014-12-21T23:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,399 | r | plot3.R | # Katherine Raney
# Coursera Exploratory Data Analysis
# December 2014
# Course Project 2, Plot 3
# setwd("C:\\raneykat_git\\ExploratoryDataAnalysis\\ExploratoryAnalysis\\CourseProject")
#get the data file we need and unzip it
library(downloader)
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.... |
fa6863e412d9ce93d9387730bf5b4e414d230869 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610052075-test.R | dd8f158adaaf7d2f6c81d867f251948ab0398b32 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 959 | r | 1610052075-test.R | testlist <- list(rates = 4.14452302922905e-317, thresholds = NA_real_, x = c(-2.11966640218428e-289, Inf, 9.70418706714725e-101, 7.55109302986233e-308, 9.70418706357123e-101, 9.70418706716095e-101, 9.70418706716128e-101, 9.70418706716128e-101, 9.70418706716128e-101, 7.55652533908718e-308, 7.91826926828267e-101, 9.7... |
88b04bd7443f8b18a3178d57910147c47e6dbfaa | dd5df187c9f002ff6eae9d70b7c6f69b8ebe15c4 | /R入门小例子.R | 7041af6b471e3835ce211562629e741a078fa136 | [] | no_license | liliwin/Rproject | 6429d0209425ca633c3bec59289836f37828c9fa | 12be261051b543131ff90daaf192b27444e407ed | refs/heads/master | 2021-01-20T22:29:04.905614 | 2016-07-29T15:46:08 | 2016-07-29T15:46:08 | 64,316,708 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,953 | r | R入门小例子.R | #############################################################################
#一组学生参加了数学、科学和英语考试。
#为了给所有的学生确定一个单一的成绩衡量指标,需要将这些科目的成绩组合起来。
#另外,还想将前20%的学生评定为A,接下来20%的学生评定为B,以此类推。
#最后,希望按字母顺序对学生排序。
#############################################################################
Stuld <- c(1:10)
StuName <- c('John Davis','Ange... |
ad7f33022bc2416fe05b4d866b642342a64c965c | 4c14bcc37fa428673536b87083afb734866f947c | /man/array.resistance.Rd | a6a09f5359aadd87c99d1f06275cca08f79366d4 | [] | no_license | RobinHankin/ResistorArray | 9c06802cb867eb3c40014ae5552ae8b8420411d1 | fe8588cc44b3c5afd91033efd768ce9846860087 | refs/heads/master | 2021-09-28T17:31:52.431138 | 2021-09-18T22:25:41 | 2021-09-18T22:25:41 | 168,077,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,556 | rd | array.resistance.Rd | \name{array.resistance}
\alias{array.resistance}
\title{Resistance between two arbitrary points on a regular lattice of
unit resistors
}
\description{
Given two points on a regular lattice of electrical nodes joined by unit
resistors (as created by \code{makefullmatrix()}), returns the
resistance between the t... |
fbb68e8f420780d1f3799a6fb4e5a0dd84c3c85e | c08e6b516a3d341d1fdb893448922082dc3626cf | /man/dimsum_stage_fastqc.Rd | 0e685f04d1427d73d9f96019279ce66fad0bdfff | [
"MIT"
] | permissive | lehner-lab/DiMSum | eda57459bbb450ae52f15adc95d088747d010251 | ca1e50449f1d39712e350f38836dc3598ce8e712 | refs/heads/master | 2023-08-10T17:20:39.324026 | 2023-07-20T15:29:47 | 2023-07-20T15:29:47 | 58,115,412 | 18 | 5 | null | null | null | null | UTF-8 | R | false | true | 754 | rd | dimsum_stage_fastqc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dimsum_stage_fastqc.R
\name{dimsum_stage_fastqc}
\alias{dimsum_stage_fastqc}
\title{dimsum_stage_fastqc}
\usage{
dimsum_stage_fastqc(
dimsum_meta,
fastqc_outpath,
report = TRUE,
report_outpath = NULL,
save_workspace = TRUE
)
}
\argu... |
0002a42fc5f39ff7145d768a6280ed4e7e03f1ff | 4ba85b2f9f4c11255905ed3228101248595986ad | /k-Nearest-Neighbors and Boosting/DigitRecognition/DigitRecognitionkNN.R | 0caeb2f236aae63fb24b920067797074d5ed9cea | [] | no_license | prabhuvashwin/Machine-Learning | 97cd7b0260e9f921839a87931725010cfa6d0df0 | c63bfadae9a421d093ad8647c9f9b95cf95abdd6 | refs/heads/master | 2021-06-14T01:29:24.255604 | 2017-04-08T06:17:06 | 2017-04-08T06:17:06 | 87,610,303 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,137 | r | DigitRecognitionkNN.R | ## Author: Ashwin Venkatesh Prabhu
## Implement k-NN algorithm for Optical recognition for handwritten digits dataset
require(class)
## Getting the train and test data
train_data <- read.csv("optdigits_raining.csv", header = FALSE)
test_data <- read.csv("optdigits_test.csv", header = FALSE)
## Getting the class varia... |
bff663b5250684c5397280bc3168b36457322319 | 30a8fe01e73e6483e99daddab56a8f97af3b60fd | /GenomeBrowser2_Plot.R | 5eebd3a5a2897c08e39e7326565d8774c6290e8f | [
"MIT"
] | permissive | Jonna-Heldrich/meiosis_scripts | 3e60552cd3b17ef0104e90f3eb4c0a4e1b09fb89 | e75b05d44d21a29c84eff22e879dc252eb4e05aa | refs/heads/master | 2020-08-11T07:44:08.162751 | 2019-10-12T04:44:38 | 2019-10-12T04:44:38 | 214,519,955 | 0 | 0 | MIT | 2019-10-12T04:16:34 | 2019-10-11T20:04:48 | R | UTF-8 | R | false | false | 1,393 | r | GenomeBrowser2_Plot.R | # Genome Browser View plotting
# Purpose: Plot whole chromosome or region of chromosome as genome browser view
# input: 2 outputs from GenomeBrowser1_Chr.R
plot_genomeview <- function(df_samp1,df_samp2,position1,position2,name1,name2,chrnum,color1,color2) {
par(las=1)
par(mfrow=c(2,1))
ax=c(min(df_samp1[df_samp... |
1cf1e61d134f5269ddeb905cf83be4f479be4b8f | 4056e89d2e74109f4938051dbe09017ab0c48f43 | /man/flat_habitat.Rd | 9c57f7ea916459db53ec1d37aa13c90b3cff15be | [] | no_license | petrelharp/landsim | af4209dd8f5ffdd8a32a367d8e58b1b1f632e885 | c4e7cb8cb637c58bcacc1d92e4a01023eb0b281a | refs/heads/master | 2021-01-19T04:32:44.496828 | 2017-11-22T22:54:10 | 2017-11-22T22:54:10 | 47,908,664 | 6 | 2 | null | null | null | null | UTF-8 | R | false | true | 734 | rd | flat_habitat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/random_habitat.R
\name{flat_habitat}
\alias{flat_habitat}
\title{Create a Flat Habitat}
\usage{
flat_habitat(diam = 20000, res = 100, value = 1, width = diam,
height = diam)
}
\arguments{
\item{diam}{Diameter of the desired habitat (in real... |
d059805170d2f5bd961c15e3e2ef91078d3f49f5 | 69b68868434fce241a10b100bcc8eb7ad564ecb2 | /R/SepsisProjection.R | ecfbef9612597b151ca030f3b17f3d17b5246d14 | [
"MIT"
] | permissive | jknightlab/SepstratifieR | 1481d5777b6d179719ec3cf921512d1c7dbd7271 | 0ad77fb3447b41f0464b5577b8d2186bdbc31c54 | refs/heads/main | 2023-04-18T08:53:08.735906 | 2022-03-14T13:32:32 | 2022-03-14T13:32:32 | 397,996,598 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,470 | r | SepsisProjection.R | # Defining SepsisProjection class
setClass("SepsisProjection",
slots=list(gene_set="character",
predictors="numeric",
cosine_similarities = "data.frame",
SRS = "factor",
SRS_probs = "data.frame",
SRSq = "numeric... |
d2b368823a0339228497eaa6800bf0225ae8b9fc | 5bf426ec23846b07687b4bbbe7f29a655001aa2d | /ExistingStrokeRiskExternalValidation/extras/codeToRun.R | 624975daee556ba09a9d7a3fb8f85c447cf3bc65 | [] | no_license | julwa/StudyProtocolSandbox | 14a0ad48897f977878859e87e97ac2ff6ced173e | a2030d9706222ebb9eb955c51f12263b7559617f | refs/heads/master | 2023-07-10T21:03:58.762135 | 2021-08-13T12:40:12 | 2021-08-13T12:40:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,394 | r | codeToRun.R | #file to run study
library(PredictionComparison)
library(ExistingStrokeRiskExternalValidation)
options(fftempdir = 'T:/yourFftemp')
dbms <- yourDbms
user <- yourUsername
pw <-yourPassword
server <- Sys.getenv('server')
port <- Sys.getenv('port')
connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = dbm... |
945a2c7d67f7df9d396e67cf71255764c41222d6 | 1fa9f418caddb65fb8feaa9b236764c98c61fd17 | /src/libRbind/testEst.R | e29efe821ef5d726e8fa863bc30fc8cffb9150c5 | [
"MIT"
] | permissive | MADAI/MADAIEmulator | 485a19013de8d6160e50e2ed1886f94d3b0f8592 | 7d926ad04a791c7694defd88db41c13f7ee4e6aa | refs/heads/master | 2016-09-01T19:39:03.556529 | 2012-11-27T15:16:39 | 2012-11-27T15:19:50 | 4,770,211 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,518 | r | testEst.R | ## some functions for testing the estimation parts of the emulator
##
## ccs, cec24@phy.duke.edu, aug-2011
##
## aims:
## 1: plot lhood over a plane while keeping other hyperparams fixed (lhoodcompare)
## 2: compare max lhood for various regression and cov fn models (not implemented yet)
## 3: do a k-sets withold test ... |
a68f6e445c72567683821a81044ec25880b7fcfc | 7fd749dc1a52e201dfe433fa0da403414687f5c0 | /R/chi_diag.boot.R | 35812ed81c2c6eb5a1dba7864d917f2a96327aa4 | [] | no_license | cran/r4lineups | a179b83afdc8b8c68ac812cd600e86bc0ece48e8 | 6753d4662d34ea39261878f9f0584788be7c23f7 | refs/heads/master | 2020-03-27T03:58:08.061355 | 2018-07-18T12:20:02 | 2018-07-18T12:20:02 | 145,902,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 109 | r | chi_diag.boot.R | chi_diag.boot <- function(df, d=d){
q <- df[d] %>% sum((df[2,]-log(d_bar(df))/(df[1,])))
return(q)
}
|
e1cf90d2e1d2bda9121e176023db74392e9de362 | 568db5b2c448e80d459f4f9c923d2efbd0acc120 | /R/BCIPlot.R | 324a3c48c79bcbf719d799889cf01117defffe85 | [] | no_license | bromsk/NCRNbirds | 0becc5be7b1ee521fe4ee14d6c7e6f6751047b10 | 25b2c87700ded8f96800193aa9a94add9667bac8 | refs/heads/master | 2020-04-21T15:09:45.937162 | 2018-12-06T21:16:10 | 2018-12-06T21:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,587 | r | BCIPlot.R | #' @include NCRNbirds_Class_def.R
#' @include BCI.R
#'
#' @title BCIPlot
#'
#' @importFrom dplyr case_when group_by n_distinct pull right_join summarize
#' @importFrom ggplot2 aes annotate element_line geom_point ggplot ggtitle guides guide_legend labs
#' @importFrom ggplot2 scale_color_manual scale_x_continuous sc... |
09afc44965bc26503d11f8b7152510363635fab3 | 6dba9fa38b058cee5e4dbfa6b3b7ac5e3c88c0f0 | /loop2.R | 32d3677e9217100b360af8d3f7ae23bbe94e1eb0 | [] | no_license | AngelicaValdes/Tesis | 2c7ea3889b8d720ec7f31d5475e7c40f0ed4ba56 | 82d0d5dec09bb016256b18aee13feec864695bea | refs/heads/main | 2023-08-24T13:08:38.825748 | 2021-10-08T17:12:13 | 2021-10-08T17:12:13 | 413,637,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,114 | r | loop2.R | dotR <- file.path(Sys.getenv("HOME"), ".R")
if (!file.exists(dotR))
dir.create(dotR)
M <- file.path(dotR, "Makevars")
if (!file.exists(M))
file.create(M)
cat("\nCXXFLAGS=-O3 -Wno-unused-variable -Wno-unused-function",
file = M, sep = "\n", append = TRUE)
cat('Sys.setenv(BINPREF = "C:/Rtools/mingw_$(W... |
c75540601561f4f6a5acf511317aafbde5f4db89 | bdadf9e6d2f86a00793fad1806b743cb755b4277 | /La Palma Skript.R | 64a00a1df7d98a1f3f5a8b30ea62db61781cb495 | [] | no_license | s2jsvoge/R-scripts-La-Palma | f050dc8a94b2416f9d1842c8bc5757ad4537ddc2 | 2b2755689a8a973eb4ec9d6cc2e7fd6490c6a417 | refs/heads/master | 2021-01-01T03:52:49.785217 | 2016-05-26T12:55:54 | 2016-05-26T12:55:54 | 59,143,614 | 1 | 0 | null | 2016-05-28T16:47:02 | 2016-05-18T19:06:37 | R | ISO-8859-1 | R | false | false | 5,521 | r | La Palma Skript.R | ######################################
##### Fog precipitation efficiency ###
##### in different forest types ######
##### on La Palma, Canary Islands#####
######################################
# Hypothesis: Fog precipitation efficiency in cloud influenced forests on La Palma
# is determinded by v... |
a39281cf974115bf941c5899cbe24597fbab737f | f9f42e00cdc3ddb75f4496733fbba28ca1f740b0 | /R/actinoUtils.R | 833bf40550e1492fc03fbf462f57509d9fb70a69 | [] | no_license | richardsprague/actino | 20f36f951cb7a45294225005de8c1e69fc4a7fdd | f4bbaa1c7cf3f520de34e53ef340877ebc9ee07d | refs/heads/master | 2021-12-09T21:08:21.017115 | 2021-12-03T23:37:40 | 2021-12-03T23:37:40 | 80,489,917 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | actinoUtils.R | # actinoUtils.R
#' @title Dataframe at a specific rank
#' @description turn a uBIome data frame into a matrix at a specific rank
#' @param df a well-formed dataframe created by join_all_ubiome_files_full
#' @param rank tax_rank (default = "genus")
#' @importFrom stats na.omit
#' @export
dataframe_at_rank <- function(d... |
3bf32773724e318d5841b54ece315e9973bdfbba | 40a72b0add98f0ddadac4e07e64287b2d2dbb22a | /r/result_plots_v2.r | 4a5704cdf401a4b3666836dba4525a96151b74bf | [] | no_license | andydawson/stepps-calibration | a5e8c1a2fafef07b070cbab444967fcbebb66602 | c72cd26600fb1d82666264f962c5176fa0f8beb4 | refs/heads/master | 2020-05-27T17:23:08.311656 | 2018-04-13T14:04:11 | 2018-04-13T14:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,443 | r | result_plots_v2.r | library(rstan)
library(ggplot2)
library(fields, quietly=TRUE)
library(RColorBrewer)
wd = getwd()
#####################################################################################
# user pars
#####################################################################################
path_utils = 'r/utils'
path_data = ... |
dd4e9d4d8ea37d2af98470b697ce1456040d8903 | 2d35f719a15e28eebe7b819c1fe9fac9d7c37862 | /fig/CIcover10h.R | 1e990438b810d1fd83facf73494ce8eb3a5bed86 | [] | no_license | JDC-Shimada/bayesbook | f7fe5fcb40fd4a5cb2de6ce1ba53df05fd1830f9 | 9202919453c7fc575191ae7b950b53c6d9d328e8 | refs/heads/master | 2023-04-18T15:59:41.525953 | 2021-05-06T00:57:12 | 2021-05-06T00:57:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | CIcover10h.R | args = commandArgs()
basename = sub(".R$", "", sub("^--file=(.*/)?", "", args[grep("^--file=", args)]))
if (length(basename) != 0)
pdf(file=paste0(basename, "_tmp.pdf"), colormodel="gray", width=7, height=3)
par(family="Palatino")
par(mgp=c(2,0.8,0)) # title and axis margins. default: c(3,1,0)
par(mar=c(3,3,2,2)+0.... |
d825b5012d0648c79463c4dfe89db8e28474f527 | b447d3c0c2b6a24cd0c4dce87e1626a92cf58dde | /ui.R | 3821461fb7d76569853875a9f5167b9899371e31 | [] | no_license | MrConradHarrison/CLEFT-Q-CAT-Score-Checker | 3b4e693ee2deda97ab818690c6c57ffcb4631914 | 02d1deeb5ae896c9f08812c1281831b135ff71f5 | refs/heads/main | 2023-08-19T10:16:41.390055 | 2021-10-01T12:02:48 | 2021-10-01T12:02:48 | 400,149,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,531 | r | ui.R | shinyUI(
navbarPage("CLEFT-Q CAT Score Checker",
tabPanel(
"Radar Plot",
fluidPage(
titlePanel("Radar Plot"),
# Text
br(),
h4("Please use this Score Checker to compare CLEFT-Q CAT scores to median scores
from the CLEFT-Q field test (Klassen", em("et al.,"), "2018).... |
806178f67e1b432300391f8213e4ad57c47329fa | 4f6acb159819268d7108f8e43e4c40e777af9612 | /man/dynfrail_dist.Rd | 953217f9043f4c7bf033326fc9e9c4612250b1b9 | [] | no_license | cran/dynfrail | 54d2e3fb9c9e0ae5d8b25191db2c0b8e726c8132 | 4a89b5deba02a9a6f28797abf7ce2672f465701c | refs/heads/master | 2021-07-23T00:57:01.678044 | 2017-10-30T09:11:49 | 2017-10-30T09:11:49 | 108,834,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,845 | rd | dynfrail_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dynfrail_arguments.R
\name{dynfrail_dist}
\alias{dynfrail_dist}
\title{Distribution parameters for dynfrail}
\usage{
dynfrail_dist(dist = "gamma", theta = 2, pvfm = -1/2, lambda = 0.1,
n_ints = NULL, times = NULL)
}
\arguments{
\item{dist}{... |
6c8bb0da63c86863907e79ea71d50a2af33b5c2d | 04cd0fbc561e73b4a8e4912c5253681715faa3ef | /Source_data_files/Preclinical_study/weight_change_day_plotting_stats.R | dee208a10da44d4d47fdb59872f4f48101c8e45e | [] | no_license | raymondkiu/Infant-Clostridium-perfringens-Paper | 50a30f717187e65d5c83d403ecc5954ae2df2a07 | aeec074baec297019641969ba696d09456554d13 | refs/heads/main | 2023-06-10T17:03:54.348138 | 2023-03-21T12:27:26 | 2023-03-21T12:27:26 | 312,297,407 | 1 | 0 | null | 2023-05-30T14:13:37 | 2020-11-12T14:14:53 | R | UTF-8 | R | false | false | 2,533 | r | weight_change_day_plotting_stats.R | setwd("~/")
library(tidyverse)
library(reshape2) # for melt function
library(Rmisc) # for summarySE
data <- read.csv("weight_change_day_data.csv", header = TRUE, stringsAsFactors = TRUE)
head(data)
#data1 <- melt(data, id.vars ="Group" , variable.name ="Day")
#data1
#write.csv(data1,"weight-change-melted.csv")
# Inp... |
1125d31a5384f12a870407d13572742a6bb75e9c | 917c9867f05b73b37c7d68d28fe4a1c57702fd28 | /ReadFiles/zooObject.R | b2009c6d1a77ec95c60a4279ba7cb7c82b2ac79f | [] | no_license | xiabofei/rlanguage | e06f58dd25629bd11206369a4189220605bfe550 | 809435e5da08427f33223dee367d161e20a0424c | refs/heads/master | 2020-12-06T17:14:31.562219 | 2016-09-27T06:20:29 | 2016-09-27T06:20:29 | 66,824,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 576 | r | zooObject.R | # 1. zoo这个包当时专门为了处理daily的finacial data
# 2. 有处理时间序列数据相关的需求 可以再具体去查zoo包的用法
# http://ftp.auckland.ac.nz/software/CRAN/doc/vignettes/zoo/zoo-quickref.pdf
A <- data.frame(date=c("1995-01-01", "1995-01-02", "1995-01-03", "1995-01-06"),
x=runif(4),
y=runif(4))
A$date <- as.Date(A$date)
# 构建一个... |
54f70fac02bf992ecc8385d64dd663dfa9165de9 | 2fa58d99bebdb471fc7b81fab879b9c93560e8f7 | /predicting_prices/ui.R | 8b4bdb973d13a84f5c1530e9afb838b8071f0077 | [] | no_license | albert2828/coursera_ddp_final_project | 86fe5df78b5575c7a9480b5c2873ff9fc35b0bba | ef300f5f1868273fc06d7989a42c6a8ba9509317 | refs/heads/main | 2023-04-21T21:00:11.693000 | 2021-05-19T21:26:06 | 2021-05-19T21:26:06 | 368,397,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,283 | r | ui.R | library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("Compute the price of your car"),
sidebarLayout(
sidebarPanel(
sliderInput("age",
"Age of your car:",
min = 1,
... |
34d4362ea8162d273afd4dd9202974b768a8e09f | b8a0bf8c783e5454a6c5bbb76385c6e852bbe577 | /quant v1.3/Visualize.R | 65b84e7d045dcb3f028d419e4b76fae4792fd456 | [] | no_license | highandhigh/Quantitative-Finance-Project | 20ee30f1a79f19989d54ffc70046128946d7646b | 9bc5179b036a624164865ffa8291ea58febc6895 | refs/heads/master | 2021-01-13T16:33:40.910622 | 2016-06-24T16:11:57 | 2016-06-24T16:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,723 | r | Visualize.R | # 量化金融项目
# By: JiaRu, jiaru2014@126.com
# R version 3.2.3
# Platform: x86_64-apple-darwin13.4.0 (64-bit)
# Date: 2016-06-22
#
# Version 1.3
# ===================================================================
# 可视化
#
# 输入 tradebook(with attr: out-sample period) dt
# 输出 ggplot object
# layers:
# 1. EndPrc
# 2. Buy /... |
15f6c1b6b16a98911a726ff1fcc724e3419917e1 | 34b1404a1ff8c8abe0be16f9d0bc29f633043e35 | /tests/setCellLazy.R | 3741d18fc87f489c68d7ae3e3202bd70f1e7ca93 | [] | no_license | duncantl/RExcelXML | 729183fdc549951d986dd730ee9b16846a3a3d86 | bb278b9e15ae44bf538b86d04f0490c128db4a31 | refs/heads/master | 2020-06-07T07:09:44.596626 | 2012-01-18T23:22:58 | 2012-01-18T23:22:58 | 3,922,555 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 448 | r | setCellLazy.R | library(RExcelXML)
fn = system.file("templateDocs", "Sample3sheets.xlsx", package="RExcelXML")
w = excelDoc("bbb.xlsx", create = TRUE, template = fn)
wb = workbook(w)
sh = wb[["Sheet1"]]
c1 = cells(sh)
styles = getDocStyles(w)
ft = Font(sz = 10L, face=c("b","i"))
newSt = createStyle(sh, format = 14, font = ft, halign=... |
633c2e944f1b5016cf22016e68270f5bf87a3f28 | 44e281a60264d4a48b40f6fdf1005395a6103dc8 | /R/dnegocc.R | ec94b95dcf8b980710d9740f8cef23bd19fefeee | [] | no_license | cran/occupancy | 7f0bd71c4f30ecf4b1cc73864177de5e2ceeb67e | 4421086015ad2103131cd18e514706913d49ea8f | refs/heads/master | 2023-06-05T13:28:09.280196 | 2021-06-24T10:00:02 | 2021-06-24T10:00:02 | 379,975,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,659 | r | dnegocc.R | #' @rdname dnegocc
dnegocc <- function(x, space, occupancy, prob = 1, approx = FALSE, log = FALSE) {
#Check that argument and parameters are appropriate type
if (!is.numeric(x)) stop('Error: Argument x is not numeric')
if (!is.numeric(space)) stop('Error: Space param... |
d47b9f92b924389badcbbff74fd4c23630d5e31b | 838eef61b899bafd172b48d8689bdc0a34d2c7cd | /photographer_classifier/pkgs/PhotographerModels/man/load.model.Rd | 777689f4bd4300240c239b9d5bf67da10d86586e | [] | no_license | rajatmnnit/csx415.1-project | 8bc669768f43d4a87248fa006d36ba2042a31182 | 16a1b3e2e6a70401d841d53b40fd071594c216c2 | refs/heads/master | 2020-03-08T13:26:55.512439 | 2018-08-07T22:43:29 | 2018-08-07T22:43:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 622 | rd | load.model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{load.model}
\alias{load.model}
\title{Load the classification model.}
\usage{
load.model(mtype = "gbm")
}
\arguments{
\item{mtype}{Type of the model to be returned. Valid value [svm | rf | gbm]. Defaults to the highest accuracy ... |
f477f3b3fe460ca121dc0ac3ed9ba48fc4e24dd3 | 84dd0562ebd14dab4913a27313c3e82b792e3d76 | /R/cor_RNA.R | a96354688cfd34de45265f08d47915ed5cd017d3 | [
"Apache-2.0"
] | permissive | yikeshu0611/TCGAimmunelncRNA | daaca3623943b63b83ad98ef357c179ad6048c2f | 9c86b20caa6674a976aca6ea3111755fd34bb5b5 | refs/heads/main | 2023-06-11T09:01:11.701450 | 2021-07-03T07:10:31 | 2021-07-03T07:10:31 | 381,676,631 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,638 | r | cor_RNA.R | #' correlation of mRNA and lncRNA
#'
#' @param data data of FPKM2df()
#' @importFrom foreach %dopar%
#' @export
#'
cor_RNA <- function(data){
mRNA <- data$mRNA[data$group$bar_code[data$group=='Tumor'],]
message('\nuse ',nrow(mRNA), ' tumors for correlation analysis')
message('mRNA:',ncol(mRNA))
lncRNA <... |
982a87f73bb5964c6b6fda2d900dd1f422fee7e0 | 9994253dee538a79e4c7a9d9cdcde5dccb9fe2f7 | /man/readMyData.Rd | d3104869b5653328776f3e9e6713e631142654a5 | [] | no_license | lehmansociology/lehmansociology | aa8d80e4a1bbb0e85c63aa25a318ef24daf69483 | 9ff6232f8f26ee0a5921e7f013bca7994bc2f2e1 | refs/heads/master | 2022-06-14T06:01:19.829363 | 2022-05-15T05:30:56 | 2022-05-15T05:30:56 | 103,927,010 | 1 | 2 | null | 2019-12-31T14:45:44 | 2017-09-18T10:48:28 | R | UTF-8 | R | false | true | 273 | rd | readMyData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readmydata.R
\name{readMyData}
\alias{readMyData}
\title{Read My Data}
\usage{
readMyData(datasetname)
}
\description{
This function reads a webchip style dataset
}
\keyword{Freq}
\keyword{data}
|
7c9b5f729d3456af979b3bfd3b1d0c9692e7275e | c5d173f7755dc27e348ef616ebafba137ee7e1da | /man/glue_fmt_chr.Rd | 480fc4cbdfe920f30cf22137530c3822b41c1b35 | [
"MIT"
] | permissive | Ilia-Kosenkov/RLibs | 85679202753b7565d8995350e74b28a8c3d624d9 | 60e34778a96f5ba9705b5fa5da0bffcc3be482fd | refs/heads/master | 2021-03-27T16:13:53.106985 | 2020-01-23T15:33:33 | 2020-01-23T15:33:33 | 96,409,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 372 | rd | glue_fmt_chr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glue_fmt.R
\name{glue_fmt_chr}
\alias{glue_fmt_chr}
\title{glue_fmt_chr}
\usage{
glue_fmt_chr(..., .envir = parent.frame())
}
\arguments{
\item{...}{Passed to \code{glue::glue}.}
\item{.envir}{Evaluation environment.}
}
\value{
Format-aware ... |
bc075509eb99a880e2cac4fd6162e7ee5ad2e668 | 269d71aab45fac39e11c44d40aaa264dc27026e6 | /WHO_Life_Expectancy.R | 59884cbd72a066afb848e823e9af088cfc96e9a4 | [] | no_license | arun98-mohan/ML_Academic_Assignments | 41013aa64616203f0bf49f8c4eef35c959e7282b | d3e2f9a1f5b0703c25c0c99bae1d40dc1fad27cb | refs/heads/master | 2020-04-18T01:51:12.649239 | 2019-03-04T23:40:24 | 2019-03-04T23:40:24 | 167,137,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 610 | r | WHO_Life_Expectancy.R | life<-read.csv("/Users/Arun/Desktop/Datasets/life.csv")
head(life)
life2<-life[,c(4,5,6,7,8,9,10,11,12,13,14,15,16,17)]
head(life2)
life2<-na.omit(life2)
cor(life2)
plot(percentage.expenditure~GDP,data=life2)
set.seed(110)
training_row_index<-sample(1:nrow(life2),0.75*nrow(life2))
training_data<-life2[training_row_i... |
9c046dd052a91ea881a9d2d0bfba85f1fa7e705b | 726573b44fd67576df1df8e916b562b2b84e5091 | /man/clean_spocc.Rd | ad464b12cce51e6fc6e1e0e43df856c634411ed0 | [
"MIT"
] | permissive | Libardo1/spocc | 0b17b9a4c4cfe467f53b55093f70e535ccafe657 | bb9379125053e902d6006198db856687bd4b0149 | refs/heads/master | 2021-01-17T14:37:28.115221 | 2014-07-01T17:14:12 | 2014-07-01T17:14:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 581 | rd | clean_spocc.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{clean_spocc}
\alias{clean_spocc}
\title{Clean spocc data}
\usage{
clean_spocc(input, country = NULL, habitat = NULL)
}
\arguments{
\item{input}{An object of class occdat}
\item{country}{(logical) Attempt to clean based on country}
\item{habitat}{(logical) Att... |
0033b0e7f1910eb08e8c8ec367edfc5fff40ef8c | ca0537a5f6bec94d7d472e5b0fa022b465f3853a | /plot5.R | 7bab16ee9c77fbe076fc9ec43eeacc9d8dd91a42 | [] | no_license | tjeerdluykx/ExData_CP2 | 8ef958f44d92ab3f939ca0e5a8d18148803769b3 | fc0bafea06df3092b6cd83dbb6edb415f1cbca07 | refs/heads/master | 2016-09-06T12:39:33.086960 | 2015-07-23T06:33:15 | 2015-07-23T06:33:15 | 39,489,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | plot5.R | ## Title: plot5.R
## Author: Tjeerd Luykx
## Date: July 22nd 2015
## Description: create plot question 5.
library(dplyr)
library(ggplot2)
FileName <- "exdata-data-NEI_data.zip"
# Downloading and unzipping dataset:
if (!file.exists(FileName)){
FileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2F... |
ad2099c3e56e5fd7076c9bd01b109c803f7314b5 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /SuperGauss/R/Cholesky.R | aa9192621a72c4284fa075e0afdeb5185234b409 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,135 | r | Cholesky.R | #' Cholesky multiplication with Toeplitz variance matrices.
#'
#' Multiplies the Cholesky decomposition of the Toeplitz matrix with another matrix, or solves a system of equations with the Cholesky factor.
#'
#' @name Cholesky
#' @aliases cholXZ cholZX
#'
#' @param X Length-`N` or `N x p` matrix of observations.
#' @pa... |
75b256dc6b3c7a57f522fa1e25440f51dfe8915d | 2f22514a6c4b4e769d08027c9db4b8fdccac3fd7 | /Rbonaut2/man/itemID2Params.Rd | 1256d34c734a8388d6cf8878c5c48fdb99256985 | [] | no_license | cavorit/Rbonaut2 | 4489bff4ac9fb4c228d9315de4c80e9fe9e0fd3d | b0ecbd74411cc2c1306b06e059c130f45a0749b5 | refs/heads/master | 2021-01-24T14:45:43.549973 | 2017-02-22T14:51:03 | 2017-02-22T14:51:03 | 47,259,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 641 | rd | itemID2Params.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/itemID2Params.R
\name{itemID2Params}
\alias{itemID2Params}
\title{itemID2Params}
\usage{
itemID2Params(ItemID)
}
\arguments{
\item{ItemID}{charakter der Länge 1, welches den Namen des Items angibt. Implementiert sind BL01:BL32}
}
\value{
list... |
fa5ddcb90227b6385d405b81f50c1df650e39c97 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/crimelinkage/examples/compareCrimes.Rd.R | 46f0abd64a3cde4bd259ba76f31c2bf51efd86c9 | [] | 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 | 466 | r | compareCrimes.Rd.R | library(crimelinkage)
### Name: compareCrimes
### Title: Creates evidence variables by calculating 'distance' between
### crime pairs
### Aliases: compareCrimes
### ** Examples
data(crimes)
pairs = t(combn(crimes$crimeID[1:4],m=2)) # make some crime pairs
varlist = list(
spatial = c("X", "Y"),
temporal... |
67b79784f6a5c3a584691b979b73499bda7559f4 | 791faa0afc9c0e613df80709016f4cb094473e5f | /MFA/man/LG_table.Rd | 5e3fca9ff1e031dc01ddf73ceec03e78bffa51cb | [] | no_license | LlamaL/ShinyApp-RStudio | 84f79b30c4b5a57507f52776acc5d28f0a8ce7fa | 7e7ab1490c86cf89c50e9a3b2364322579a49bd3 | refs/heads/master | 2021-05-03T09:59:47.998108 | 2018-02-06T22:23:02 | 2018-02-06T22:23:02 | 120,529,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 578 | rd | LG_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LG_table.r
\name{LG_table}
\alias{LG_table}
\title{Lg Table}
\usage{
LG_table(dataset, sets)
}
\arguments{
\item{dataset}{a normalized dataframe or matrix}
\item{sets}{list of vector contains vector of indices of each group}
}
\value{
a tabl... |
4aea51ba5512e034ceed75d37bf94ec03a660406 | 1cbaa63faef96016849ec72cffb7a6f1428a30c9 | /man/MakeFIFOs.Rd | 86fae4cb0346572e04dd51884e363ac6493076d0 | [] | no_license | cran/MultiJoin | efe3c4106ab9f3ebcf52a3ddfbebc2a6756b9816 | 81d3779fab11e7af59f0505b4d287390d4099683 | refs/heads/master | 2021-01-25T10:00:01.703163 | 2018-11-15T21:10:07 | 2018-11-15T21:10:07 | 35,290,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,144 | rd | MakeFIFOs.Rd | \name{MakeFIFOs}
\alias{MakeFIFOs}
\title{creates named Unix pipes, which gzipped files can be streamed to for e.g. further joins}
\description{Additional filters can be implemented based upon the input arguments.
This string is typically used in between pipes. }
\usage{MakeFIFOs(file = "file1.txt.gz", FIFO =... |
5e51e171e6fd584f068d215d0b6d34c27543e73c | 706ffaca97a7b980b960010aa96aaea81fd274a1 | /02_rprog/complete.R | 27e8a3e53bbdae26598d3a8dda6b8467fdd3df11 | [] | no_license | szebenyib/datasciencecoursera | ea40f3550307a512a5cbd545963c822ee5017a97 | b1adfaea1198875dabb619009c7e02f72499e2d3 | refs/heads/master | 2021-01-19T18:30:06.560198 | 2015-12-26T21:06:30 | 2015-12-26T21:06:30 | 31,818,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 935 | 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
## ...
## ... |
e95aea46e74ce7b3c73c3b14f2eab2647ac4c877 | 438352c9be21915f9aa2bda4b1743e45904a5118 | /man/compute_budyko2.Rd | cdea4a0915863c1efa87ff48a25356ca99d90048 | [] | no_license | Lihao-CAU/ecohydroexamples | 1658fce766a2d54fc70faa96caf8b9435d8e9e9a | 768dd71af5b8cccb93bb20270af7a40ad746128b | refs/heads/master | 2020-06-15T20:24:06.892433 | 2017-11-10T03:26:01 | 2017-11-10T03:26:01 | 195,384,528 | 1 | 0 | null | 2019-07-05T09:48:09 | 2019-07-05T09:48:09 | null | UTF-8 | R | false | true | 508 | rd | compute_budyko2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_budyko2.R
\name{compute_budyko2}
\alias{compute_budyko2}
\title{compute_budyko2}
\usage{
compute_budyko2(P, PET, w = 2.63)
}
\arguments{
\item{P}{precipitation}
\item{PET}{potential evapotranspiration}
\item{w}{adjustment parameter ... |
56e99c455865fc54953782af3b31ba6089d1c278 | 7a24a59293bafdd638d2fb9cdc10aa00359f5797 | /man/read.fitskey.Rd | 2141a8d277143a0f094ce740146bbc25bdcfca01 | [] | no_license | cran/astro | c0c92d6ff150a68ce81cc7f75e1888ee6498c36f | 19710691a4a1a7d18aab7ccd31a7be31e0fe2b2a | refs/heads/master | 2021-01-13T01:30:32.071603 | 2014-09-08T00:00:00 | 2014-09-08T00:00:00 | 17,694,512 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 975 | rd | read.fitskey.Rd | \name{read.fitskey}
\alias{read.fitskey}
\title{Read FITS Header Keyword}
\description{The mid-level function 'read.fitskey' allows FITS header keywords to be read directly into R.}
\usage{read.fitskey(key, file, hdu = 1, comments = FALSE,
strip = c(" ","'"," "), maxlines = 50000)}
\arguments{
\item... |
b67a9c5e1df771b9bfae0f281582157b2573d308 | 2800fef4eae5c523fb424ef3c672c5f3e9abe537 | /data-raw/procdat.R | de8b5a073d38fdf4543368db9d2fa7183f6628c6 | [] | no_license | bbuchsbaum/pcfacespace | 78097fc869ffa6961a7cd867edafd8d88c5bfe8c | 607c4e20ba05d99f937673703c3bb58aa84fd9a8 | refs/heads/master | 2023-03-08T07:58:20.171989 | 2021-02-18T18:22:44 | 2021-02-18T18:22:44 | 302,968,567 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 915 | r | procdat.R | library(rmatio)
pfd_all_faces <- rmatio::read.mat("data-raw/pfd_all_faces.mat")[[1]]
#usethis::use_data(pfd_all_faces, overwrite=TRUE)
pfd_avg_face <- rmatio::read.mat("data-raw/pfd_avg_face.mat")[[1]]
#usethis::use_data(pfd_avg_face, overwrite=TRUE)
pfd_pc <- rmatio::read.mat("data-raw/pfd_pc.mat")[[1]]
#usethis::... |
eb4a2001f5d0691bceaeed8b52edea8204f9f467 | eb38363e113cd1331b929276155f4dd409cd5de4 | /man/one_URL_geoJSON.Rd | 057d8fe13796ae5013e3d7b80a15467beaca3e66 | [] | no_license | ElliottMess/pcodesOCHA | 581d261de3c0cbe790055a9a8a7e5972a05a3357 | 3a991dc02e3694ff012694616521120d9f1a3452 | refs/heads/master | 2023-05-09T03:57:25.028768 | 2021-05-12T12:00:23 | 2021-05-12T12:00:23 | 328,928,392 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 837 | rd | one_URL_geoJSON.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pcodes_scrapping.R
\name{one_URL_geoJSON}
\alias{one_URL_geoJSON}
\title{Scrap geoJSON from one URL on \href{https://gistmaps.itos.uga.edu/arcgis/rest/services/COD_External}{OCHA COD REST API}}
\usage{
one_URL_geoJSON(layer_URL)
}
\arguments{... |
c61bb4f5aeaf314f3b53d47b93c7dd7e401b8231 | f48eca83e984133c32ef38560e7015ed9ae1f4de | /r5_weather1.R | c164d2376cd636a3dbb51767b6744c8734c01b87 | [] | no_license | DataScienceGB/test | d39c3e7859ae384fd48926c1a75cf4fec515088b | cf429494320727efa6ffc0e32c42326e2a23a6e8 | refs/heads/master | 2020-04-06T04:52:36.236085 | 2015-08-23T04:34:02 | 2015-08-23T04:34:02 | 30,780,962 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,562 | r | r5_weather1.R | library(sqldf)
library(xtable)
library(ggplot2)
#Check for file existance
# if exists then load it else
#if not exists bring it from source and inflate it and load it
#overwrite inflated file if exists
csv_storm_file="./data/repdata_data_StormData.csv"
bz2_storm_file="./data/repdata_data_StormData.csv.bz2"
if (file.... |
49fbee138ba296868dde79411b1205b828bbb5e0 | 8c7dc1facdc0672df7fed535258a1d446b419c9d | /00_packages_and_helpers/helpers_plot_functions.R | 1f7c4ba89358e063ac8a5149ec730a01230697d4 | [
"MIT"
] | permissive | boyercb/mmc | 2b0dbebe5d6f0fcce60c9fedadd520a6ddc26e7c | 654fe8d8e59a503b0ac835433b270a21aaa7f47b | refs/heads/master | 2020-06-26T18:11:50.404833 | 2020-01-21T03:30:42 | 2020-01-21T03:30:42 | 199,709,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,671 | r | helpers_plot_functions.R | # ggplot theme ------------------------------------------------------------
mmc_theme <-
function() {
theme_bw() +
theme(
axis.ticks = element_blank(),
axis.line = element_blank(),
panel.border = element_blank(),
panel.grid.major = element_line(color = '#eeeeee'),
st... |
8a4289dad507d5d63ca971a1b9ec36639602ee8c | 38829c3f894aa8617bd1d914fa8ad2a8efe962e0 | /R/GCAT/man/plot_data.Rd | 3c5c8e60c6ba0589e469278a8c04d281ad456936 | [] | no_license | ybukhman/GCAT | 04304e045c6b16cc2f1e7beb14ebedc115508c70 | f7be365b210f0f4c5c3851b9edf3e5e25924f19a | refs/heads/master | 2021-01-21T20:22:33.938413 | 2019-07-16T03:14:59 | 2019-07-16T03:14:59 | 34,178,856 | 2 | 5 | null | 2016-03-29T16:08:58 | 2015-04-18T19:06:00 | R | UTF-8 | R | false | true | 1,032 | rd | plot_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.fit.R
\name{plot_data}
\alias{plot_data}
\title{plot_data}
\usage{
plot_data(input.well, view.raw.data = F, unlog = F, scale = 1,
main = paste(plate.name(input.well), well.name(input.well)),
number.points = T, draw.symbols = F, const... |
9b46358f257fce2a69fcee7f440a7acb047b0ddd | d141653ead8c6ab785dbfc47d402197a19fa4985 | /R/shutdowns_by_geo_scope.R | 73fd8cf643d0a70ec188816a79e0ade1d7d4a070 | [] | no_license | bbc/vjdata.26005.internet.shutdown | 8186f93de67c91bd0a9b08c7c87bb8727726641d | fa7f8931a87329f682624c5fca21047f400cda29 | refs/heads/master | 2022-04-06T16:07:58.621915 | 2020-02-13T14:33:42 | 2020-02-13T14:33:42 | 228,865,144 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,786 | r | shutdowns_by_geo_scope.R | pacman::p_load('tidyverse','dplyr','ggplot2', 'bbplot2', 'lubridate', 'grid')
source(prepare_dataset.R)
###### by geographic scope ######
# countries and number of shutdowns by level of geographic spread
geography_scope_count <- tidy_data_geography %>%
group_by(continent, country, geo_scope) %>%
count(geo_scop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.