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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
daf003d2cb1865698a0251fa0779f0ae8e63f788 | 584025b690582ab9ac588c77ebc5e746e95816f8 | /man/include.Rd | c12f4207091e043bb6a2f8129af3bc9802fa15a4 | [] | no_license | rstudio/htmltools | 27b459793e6c7dfb12bcd196e72378072d85e92a | 251526c9886ca9ab5460c7bd4d73c0d61e2b40b8 | refs/heads/main | 2023-08-17T23:16:13.900249 | 2023-08-14T19:49:04 | 2023-08-14T19:49:04 | 18,398,793 | 210 | 82 | null | 2023-09-08T14:34:59 | 2014-04-03T10:11:03 | R | UTF-8 | R | false | true | 1,326 | rd | include.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tags.R
\name{include}
\alias{include}
\alias{includeHTML}
\alias{includeText}
\alias{includeMarkdown}
\alias{includeCSS}
\alias{includeScript}
\title{Include Content From a File}
\usage{
includeHTML(path)
includeText(path)
includeMarkdown(p... |
63a7553f56d85ce836f7943764849a17bcf8e3cc | c73553a8936ec72cbbfbcc5e88cabbc946ce32a6 | /R/generics.R | af6f47d82032e5abc5ca4e98d8103d2ba5fce6c0 | [
"MIT"
] | permissive | stephaneghozzi/trendbreaker | b0f9a1475f56bd7f14fb10573c5fe2b807c508e5 | 5002f7f12dc90c079f4391eb88be4166916403c5 | refs/heads/master | 2022-10-22T02:47:22.895042 | 2020-06-17T09:17:19 | 2020-06-17T09:17:19 | 275,192,241 | 1 | 0 | NOASSERTION | 2020-06-26T15:47:17 | 2020-06-26T15:47:16 | null | UTF-8 | R | false | false | 1,561 | r | generics.R | #' S3 generics for trendbreaker
#'
#' These are generic functions used by the *trendbreaker* package, mostly used for
#' accessing content of various objects. See `?trendbreaker-accessors` for methods
#' relating to `trendbreaker` objects, and `trendbreaker_model-accessors` for methods
#' relating to `trendbreaker_mode... |
0d93bf530a8f0f1daeb7190d335bf2a58609a515 | b4fa675971a21aa98021a1ff2c3f831ad89834e7 | /RMGWebScraping.R | 6d6cc528de0e460676e0883d766bfa12b8c00a42 | [] | no_license | bslakman/representing-chemical-data | 4b9f59f3fc136e0f6cd152706827acd2076417c5 | 6f015fb5f93724ad767de32bafde93a0ad3cad29 | refs/heads/master | 2021-01-24T10:49:29.491673 | 2016-10-05T21:28:48 | 2016-10-05T21:28:48 | 70,100,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,070 | r | RMGWebScraping.R | # Belinda Slakman
# DSCS 6020 Term Project - Web Scraping
# This file will scrape the RMG website at http://rmg.coe.neu.edu for chemical data.
# Load required packages
library('RCurl')
library('XML')
# This function scrapes thermodynamic data from the RMG database according to sourceType (either 'libraries' or 'grou... |
571faec5aa89adbdce04f30bc8d68e2ad1d4924a | e94b06a65f3f5ad73bcf869606fd3178f6a18919 | /Scripts/Trait_differences.R | 0f2f7d02f735dda8693173dbb54a6f6098683ad8 | [] | no_license | phil-martin-research/Invas_ES | da0a79e9b17498ba26761a393ad177d1399939cd | 4bf3fc0838428e62ab697aec4480d7b5ec9a8553 | refs/heads/master | 2021-10-28T14:40:02.868814 | 2016-08-11T12:59:56 | 2016-08-11T12:59:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,707 | r | Trait_differences.R | #script to sort out trait data and check for inconsistencies
library(ggplot2)
#load in data
Species_traits<-read.csv("Data/Species_resolved_traits.csv")
Species_traits$Median_height<-ifelse(!is.na(Species_traits$Single_height),Species_traits$Single_height,(Species_traits$Upper_height+Species_traits$Lower_height)/2)... |
bb64aad82960ba9f92a9b516160ccca465ccf28c | b21d84bf18b039f4832157d6071e07f036c9d6cf | /man/GenerateReport.Rd | eec98828b11b901ac6975cdb4b8fde76188457f8 | [] | no_license | apxr/analyzer | d0ff7682b1a5fc9ad5ae1bf8b0546d052c2bcba0 | 6dd8de796323ed9b40288c50f7080a9044301f59 | refs/heads/master | 2023-01-30T09:57:47.253439 | 2020-12-14T23:16:48 | 2020-12-14T23:16:48 | 260,771,475 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,102 | rd | GenerateReport.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GenerateReport.R
\name{GenerateReport}
\alias{GenerateReport}
\title{Generate the report}
\usage{
GenerateReport(
dtpath,
catVars,
yvar = NULL,
model = "linReg",
title = "Report",
output_format = "html_document",
output_dir = NU... |
76e7bea9736caf9f08cabf76d76ff9f374044230 | d10d46c626637e7f467da67010734f22554c7911 | /R/01.2-dados_setores_censitarios.R | b9edc11d60b3e6780f63c9d6d976bab73a348e71 | [] | no_license | r-akemii/acesso_oport | 6e08c945312784c1ed8ba7637e8223a2c2e93817 | 2bb7dd307be0ddb9ac09523b873f01bd3eceed7a | refs/heads/master | 2020-12-13T10:45:26.764169 | 2020-01-16T16:11:03 | 2020-01-16T16:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,929 | r | 01.2-dados_setores_censitarios.R | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
###### 0.1.2 Seleciona e agrega microdados dos setores censitarios
# carregar bibliotecas
source('./R/fun/setup.R')
# # Cria data.frame com municipios do projeto
# munis_df <- data.frame( code_muni= c(2304400, 35... |
64f11195806733984d9bccea8844acafc2e2bc34 | 388e04f6e256c7ad21d5119b7ca56a92b576013c | /R_Programming/rankall.R | 8ecf8198c812368235b0c0ab166deb8f4c653e7c | [] | no_license | dinoamaral/DataScienceCousera | 9f7a9b21683d5b8f69c4575881862c13b92f35c2 | 9acbf12a7be8cc1e8c4915e6548a999b556586f0 | refs/heads/master | 2016-09-11T02:28:58.487472 | 2015-09-13T17:05:11 | 2015-09-13T17:05:11 | 38,140,963 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,642 | r | rankall.R | setwd("~/GitHub/DataScienceCousera/R_Programming")
hosp_finder <- function(state_sub, col, num) {
outcome_sub <- as.numeric(state_sub[, col])
len <- dim(state_sub[!is.na(outcome_sub), ])[1]
if (num == "best"){
rank <- state_sub[, 2][order(outcome_sub, state_sub[, 2])[1]]
} else if (num == "worst"){
rank... |
08bbe9670b5ddb38d99e65badec4c79fa0fd72df | 9818307f3706a47345e0dec83675adcc681d736c | /Rscript/nls.R | fdc9441a8cbdaa29dd36a29ac730f9b741aa3d10 | [
"MIT"
] | permissive | msk940609/rmsp | b63b854a12a057e0a0aa93b65d97a29032757676 | 19bd2a16d7b2bbb2b5ddabeece1c84a28b7ec298 | refs/heads/main | 2023-07-14T12:31:29.459897 | 2021-08-30T16:15:44 | 2021-08-30T16:15:44 | 396,658,333 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,344 | r | nls.R | library(devtools)
library(tidyverse)
library(knitr)
library(shiny)
library(data.table)
library(ggplot2)
sp1=fread("Datafile/ex_spectrum1.csv")
sp2=fread("Datafile/ex_spectrum2.csv")
sp1
ggplot()+
geom_point(data=sp1, aes(`Raman shift`, Intensity), col="red")
#geom_line(data=sp1, aes(`Raman shift`, Intensity), co... |
97ede1d5f28fad143e73e8062bd3b803923a208b | 44c1963ad10663bc6511c9cd6c6d977cc8bb7656 | /Plotting Test Heuristics.R | 88fcb70ec2d73283e28ab914539b984cd5d4e40a | [] | no_license | Tomlowbridge07/Local-Observations-Generic-Attack-Time-Distributions | 912084c726c8b76cece1c013ffbe70ee464961ce | 774683a7b7c20315ee11f48bb5836a5c79eb62c7 | refs/heads/master | 2020-03-22T03:34:19.854980 | 2018-10-08T13:42:40 | 2018-10-08T13:42:40 | 139,439,361 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,791 | r | Plotting Test Heuristics.R | source("Testing Heuristics.R")
library(ggplot2)
library(reshape)
library(tikzDevice)
#This R file contains functions which take in the Test Matrix and return values
#Test Matrices come in the order MinError,BestHeuristics,AdjMatrix,AttackTimes,Capacity,Lambda,Costs,Whole Errors
#This function returns the matrix of e... |
0ca158ba017eff5a7426d3a6600d5a3bd85a8203 | 34de2b3ef4a2478fc6a03ea3b5990dd267d20d2d | /R/rprograms/file/fileread/fileread1/fileRead.r | d05f1383dba73a2fc193173dd6dbf64e149a6b16 | [
"MIT"
] | permissive | bhishanpdl/Programming | d4310f86e1d9ac35483191526710caa25b5f138e | 9654c253c598405a22cc96dfa1497406c0bd0990 | refs/heads/master | 2020-03-26T06:19:01.588451 | 2019-08-21T18:09:59 | 2019-08-21T18:09:59 | 69,140,073 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 366 | r | fileRead.r | #!/usr/bin/env Rscript
# Author : Bhishan Poudel
# Date : Feb 11, 2016
# Program :
# ref: http://www.r-tutor.com/r-introduction/data-frame/data-import
# Setting working directory
this.dir <- dirname(parent.frame(2)$ofile)
setwd(this.dir)
# reading csv file
cat("\n")
fileReadcsv <- "data.csv"
mydata = read.csv... |
9cf46c62edc47a0b3647b16cf8d246f009736bdc | ba43d630f29f969fdeb0794019bbdf05fa0e9890 | /R/gumbel_r.R | c66091e0f07e0e3b2e7a6f8e3257f9d69bf2abaf | [] | no_license | LuchTiarna/PsyFuns | 8faaa174c88ee64e631c716dec19c73b298352ac | 35b5104e82a0293fb214bfee69be336904c13499 | refs/heads/master | 2020-06-14T11:17:39.769489 | 2019-07-07T17:04:48 | 2019-07-07T17:04:48 | 194,991,237 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 862 | r | gumbel_r.R | #'@name gumbel_r
#'@rdname gumbel_r
#'
#'@title Gumbel_r
#'@description
#'Right gumbel function is a sigmoid type function.
#'\cr
#'It's CDF formula is: exp(- exp(-x))
#'\cr
#'It's PDF formula is: y = exp(- exp(-x) - x)
#'
#'@param x Vector of x parametres
#'@return Vector of result vaues
#'@rdname gumbel_r
gumbel_r <... |
bd5e60029bd8c5da8ed2b5e9f76398c67397417b | 24bc03ae395f42bd16386d7c0c6dfafb2c360487 | /R/ji.ds.class.R | fae16affd7e8f55711894d532e06f2c4164ac075 | [] | no_license | datashield/ji.dev.cl | 25307208dcbfb5213d3ca27aaaa7e3866f94a15d | 93c378cb4191621897dc509338ca99dd73249e66 | refs/heads/master | 2020-05-04T04:25:33.072519 | 2013-12-02T09:44:49 | 2013-12-02T09:44:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | ji.ds.class.R | #'
#' @title Retrieves the class of an object
#' @description this function is similar to R function \code{class}
#' @param datasources a list of opal object(s) obtained after login in to opal servers;
#' these objects hold also the data assign to R, as \code{dataframe}, from opal datasources.
#' @param x an R object
... |
28bfde191590cf8c2e88e72f6c93641223f16639 | 82a04ac219608d776f5fc6f89325e1d99fe6c04e | /5.7 Exercise.R | c98d2f575416bb0b830f69bcf8f6436e4e084f2c | [
"MIT"
] | permissive | PacktPublishing/Programming-for-Statistics-and-Data-Science | ba3ee85580430769b9a81184505a71e50527f162 | 08cb273ca132658a92f3ccd3e66349d495174d97 | refs/heads/master | 2023-02-09T01:42:05.078048 | 2023-01-30T09:34:51 | 2023-01-30T09:34:51 | 185,159,458 | 11 | 16 | null | null | null | null | UTF-8 | R | false | false | 680 | r | 5.7 Exercise.R | # Create a 5x5 matrix with the rnorm() function, and a 5x5 matrix with runif(). Create each in a single line of code (Hint: nest the operations)
# For the two matrices, get the following information; for the first four, save the new values as columns in their corresponding matrixes:
#Column averages
#Row avera... |
05441f3c6de5f6fe2a19592c2c2600dc1fb4812d | 183caf378df099da122f65ea9b75002b1e12b774 | /projFocus/ceRNA/DESeq.r | 17184ddef5401dcd5ede8962c969ffd2ffa1bab4 | [] | no_license | cwt1/scripts-1 | f58e476ddb2c83e0480856a95a95a644ad3c001c | 061d6592aa6ab11c93363fcb40305a57db05e3f2 | refs/heads/master | 2021-05-28T01:31:30.896133 | 2014-08-25T19:02:37 | 2014-08-25T19:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,496 | r | DESeq.r | #!/usr/bin/Rscript
#J.HE
#input:
#output:
#TODO:
# args <- commandArgs(TRUE)
# if (is.null(args)){
# print("Please provide parameters")
# exit
# }else{
# print(args)
# }
# library(EBSeq)
library(DESeq)
rootd <- "/ifs/scratch/c2b2/ac_lab/jh3283/projFocus/ceRNA/result/exp"
setwd(rootd)
# load raw expressio... |
4fac5ef395e8be29bde39352b8668c121a75fa38 | eef7754e99418c7c040e2bc18e95b3263d542426 | /man/sca.Rd | c950375b467a04a6a091924d5b23b84d1a009cb6 | [] | no_license | cran/cabootcrs | e63b5ce9d86b5f2b973c19b8a250095f81f81c55 | a5e3efc3f1e555b547a9b0ffb266052bee11a770 | refs/heads/master | 2022-03-06T06:23:19.926820 | 2022-03-02T22:00:02 | 2022-03-02T22:00:02 | 17,694,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,170 | rd | sca.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sca.R
\name{sca}
\alias{sca}
\title{Performs standard Correspondence Analysis calculations}
\usage{
sca(X, catype = "sca", mcatype = NULL, p = 2, needtrans = FALSE)
}
\arguments{
\item{X}{A data matrix with rows >= cols}
\item{catype}{Can be... |
6667026891e2c8305c1891bd94c8e4063aa8ebfe | 8f6565e5310613a58bffb390591dbada2d4d00f7 | /scripts/Second_run.R | a41fae3b7d257983400c1c24777fc7161a10e63a | [] | no_license | AugustT/whats_flying_tonight | 2aa0ee6e85ea87449b2347b877bbe2640437c3d7 | afda2a00ca4df9a4152725812ec65657c1aeac68 | refs/heads/master | 2021-01-18T05:11:10.861463 | 2018-11-16T14:38:43 | 2018-11-16T14:38:43 | 45,030,483 | 0 | 1 | null | 2015-10-27T09:33:47 | 2015-10-27T09:33:47 | null | UTF-8 | R | false | false | 8,317 | r | Second_run.R | ## Gather new data, create phenologies and hectad count data ##
rm(list = ls())
# This file should be re-runable. You shouldn't have to change anything in this
# file, just update the sql queries in the NMRS folder so that they include the
# year range of interest. Note the info in the app will also need to be
# upd... |
f1bf450ddfb4231064e203d06c44ac404dab4cfb | dd4f8da164a0c50e503cad009e2128bf4eb2a7ed | /project1.R | e706e9f2e2554790486accf057e8ee83cb0581c0 | [] | no_license | ootmon1/linear-regression | 5f7574855a3341b6db231f7e21454004931ce843 | 277fc9df1fbbeac72c2bcd174ec1ad9226afe628 | refs/heads/master | 2020-11-25T23:53:36.884438 | 2019-12-18T18:13:51 | 2019-12-18T18:13:51 | 228,895,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,396 | r | project1.R | # Program: Project 1
# Author: John Dixon
# Date: 17 Feb. 2019
# Description: Linear regression using the Boston data set.
# get Boston data frame from MASS library
library(MASS)
df <- Boston[]
# explore the Boston data set
str(df) # show structure of df
summary(df) # show stats for each column
sa... |
5ddadcc384f9e9acfe20955ab8277057f73744fc | 9386a55c2b8b01d0f0f2190221c9ea27521c3c71 | /wind.event.predictor/clustertest.R | 1a60dfbbcc302a9bfaf77ae1692e445be9dde78e | [] | no_license | lisaoshita/apcd.r | 0fd50db5a7fbd030eb3e3cc4052bc3ce8bc476e3 | abae94cf88516e25d66958d2f5d404825d4d9002 | refs/heads/master | 2021-07-10T12:30:46.424243 | 2018-12-06T01:19:37 | 2018-12-06T01:19:37 | 129,440,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,331 | r | clustertest.R |
library(dplyr)
library(sp)
# functions to convert polar coordinates to cartesian:
make.x <- function(ws, wd){
ws*cos((90-wd)*pi/180)
}
make.y <- function(ws, wd){
ws*sin((90-wd)*pi/180)
}
s1.training <- training %>%
select(date, year, wd.s1, ws.s1, pm10.cdf)
colnames(s1.training) <- c("date", "year", "wd", "w... |
faf80660eff4c6365bc12089846a7d93e8c85162 | 48dbeff0b9b2fd9336ee33e0a33771bdd4ca5ea2 | /Script.R | 25503aa2644fa96079bde735e4cd85f5474915d9 | [] | no_license | julianarturoc/Reproducible-Research | 1714cd444015de76d0b7b5d4a6de8ce8e7f5b886 | 7c57f9c99d96522b1b0ed6295c8f5647ab630c77 | refs/heads/master | 2022-08-01T08:17:51.387729 | 2020-05-31T04:29:47 | 2020-05-31T04:29:47 | 268,208,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,476 | r | Script.R | ## ------------------------------------------------------------------------
# 0. loading libraries
library(ggplot2)
library(dplyr)
library(lubridate)
## ------------------------------------------------------------------------
# 1. Reading Data
unzip(zipfile="activity.zip")
data<-read.csv(file="activity.csv", header=TR... |
0059365c6c6071e96f73d8a0af79d1973540ff4e | f681257722365f95a24cfbe26310345b50a4a4f6 | /R/lcvp_group_search.R | f08b7748ccbadad0ee3bc1af57e0428720e45d1c | [
"MIT"
] | permissive | idiv-biodiversity/lcvplants | ac3008d1a0ec7a19211e670905a7056442082724 | 4521372afff25f0f8e7f43a2f825277dc6a1c5d4 | refs/heads/master | 2023-05-23T22:01:33.748106 | 2022-11-07T14:48:18 | 2022-11-07T14:48:18 | 215,979,088 | 14 | 4 | NOASSERTION | 2021-09-14T16:56:14 | 2019-10-18T08:37:16 | R | UTF-8 | R | false | false | 8,323 | r | lcvp_group_search.R | #' Search plants by taxa or author names in the Leipzig Catalogue of Plants (LCVP)
#'
#' Search all plant taxa names listed in the "Leipzig
#' Catalogue of Vascular Plants" (LCVP) by order, family,
#' genus or author.
#'
#' @param group_names A character vector specifying the taxa or author names.
#' This includes na... |
f0ff6569afe2760c90d3f932ea8b8d26a9cc9601 | a189183555031f077a0b52ac55176c808b272e9d | /GIS_4.R | 221a9fd653846aa71fac91d9008f358b071963d6 | [] | no_license | TomoyaOzawa-DA/GIS | 030d427c13e1009178d3c92f21273fa78811469a | 07321e584d43859d9d40a647bcfad5d728bbaa8c | refs/heads/main | 2023-01-06T21:49:55.093138 | 2020-10-30T12:22:52 | 2020-10-30T12:22:52 | 308,618,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,762 | r | GIS_4.R | ###########################################
### 【地理情報講座#3】Rでの距離計算入門 ###
###########################################
### 1. 2つの店舗間の距離計算
# geosphereというライブラリ
install.packages("geosphere")
library("geosphere")
# distGeoというコマンドで距離計算ができる。単位はm。()内で距離を測りたい2組の緯度経度を指定します。
# 他にもコマンドがありますが、distGEOが一番正確みたいです。
# gas_naha[1, c("l... |
ea7e51bded805246f312f3aabd80c8d966172de9 | d5d9f5fb71e07db529cc6c50d50e18577ed6ab20 | /scripts/cleaning/wm_math.R | 09b0d0878fabf3b4aea235a2be9be4ab4046babc | [] | no_license | laurafdeza/Dissertation | c0ab736cf96227ce49d5833b42587d572deea262 | 6cd94b2e32d0863eb342fe4ce1ddc49e12672beb | refs/heads/master | 2022-04-28T16:47:38.986331 | 2022-03-09T16:39:05 | 2022-03-09T16:39:05 | 251,065,189 | 0 | 4 | null | 2021-03-26T00:08:38 | 2020-03-29T15:27:13 | HTML | UTF-8 | R | false | false | 3,686 | r | wm_math.R | # Working memory
# Scores for working memory are not homogeneous—the highest mean score is for the EN, then MA, and then ES
# (My hypothesis is that the lower scores are due to the need to remember gender and concepts rather than just the word)
# So, since anticipation is closely linked to processing speed, which is ... |
467575501c988c1a86c177d01bf9c8c1ba63d509 | c15b64c651fac5e9e6cd41044d8c9766620e55ce | /Statistical Summaries.R | b5b046221cc8ae933c823120a50f6a454dfec140 | [] | no_license | kunal09/R_programming | ac846c36e98445b045d8eef2d292ed4ee2433cb2 | 5a6d9f0e104bd3370657951f8508f7570a71f1ab | refs/heads/master | 2021-08-23T23:05:03.119763 | 2017-12-07T00:58:39 | 2017-12-07T00:58:39 | 113,111,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 417 | r | Statistical Summaries.R | #Statistical Summaries
mydata <- read.table("http://www.sthda.com/upload/boxplot_format.txt",stringsAsFactors = FALSE)
mydata
#provides a statstical summary of the data
summary(mydata$V2)
#how many times some value has occured
table(mydata$V3)
#returns the min value of a function
min(mydata$V2)
range(mydata$V2)
median... |
2fec8f48c0e6416725f022ec71550091cfc78c65 | 7b0c33ec54d5b05d81b10de246a8fb8c23fc0c1d | /dectree.R | c9844e68a3e84341e7eb111046bcc7a7e217ee62 | [] | no_license | nirave/nfl-red-wine-supervised-learning | 1f9855119f9e422cfe7f8b5cc374a70b9d4458ed | db6c35e0f149b33af3863192118f9ab1314bfc4f | refs/heads/master | 2021-01-25T01:03:13.239211 | 2017-06-18T23:22:13 | 2017-06-18T23:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 650 | r | dectree.R | library(RWeka)
modeldecisiontree_cv<-function(training, cat, dataType, learnType) {
train_control <- trainControl(method="repeatedcv", number=10, repeats=3)
param_grid <- expand.grid(C = c(0.01, 0.05, .1,.2,.3,.4))
trained<-train(as.formula(paste(cat, " ~.")), data=training, trControl=train_control, t... |
7527845e5f0efa963409242b9168bbfe85bd4419 | 29666f9152da5d06e208a248add2393d2130180c | /man/safe_month_min.Rd | 986fc4b3f147a5b5215e8949dac5aa47fe6fd36e | [] | no_license | Nicktz/fmxdat | 147433ce18ec493fdf3431e4fe40e05fc8e4a253 | ec52cdcc65d3431edce67a0ff65b5258a5184bd7 | refs/heads/master | 2023-08-18T14:03:45.452330 | 2023-08-08T07:27:38 | 2023-08-08T07:27:38 | 205,252,472 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,022 | rd | safe_month_min.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/safe_month_min.R
\name{safe_month_min}
\alias{safe_month_min}
\title{safe_month_min}
\usage{
safe_month_min(datesel, N = 6)
}
\arguments{
\item{Ra}{N months back}
}
\value{
N months back
}
\description{
Safely goes back N months for monthly d... |
8d5bb3849756d6fd7dd986f6cad4f94e6e452588 | 8c84ea2e7e9c74c085ac1c04d3af2f2818264e97 | /scripts/ch11.R | a52f685b6a2a043f3d96a18146218cd98bc8a8c1 | [] | no_license | liao961120/rethinking_code | 250351fc54e61dd81e8e23bacf9c1e4a4a35b346 | 5b4d07eb7a71c5735825066c564dec11b399f6aa | refs/heads/main | 2023-06-01T13:03:19.506478 | 2021-06-20T05:16:14 | 2021-06-20T05:16:14 | 335,544,180 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 16,157 | r | ch11.R | #+ Setup
remotes::install_github('rmcelreath/rethinking', upgrade=F)
library(rethinking)
#' ## R code 11.1
#+ R code 11.1
library(rethinking)
data(chimpanzees)
d <- chimpanzees
#' ## R code 11.2
#+ R code 11.2
d$treatment <- 1 + d$prosoc_left + 2*d$condition
#' ## R code 11.3
#+ R code 11.3
xtabs( ~ treatment + pro... |
1b0abf0959dc72cdd79906d448a9bd637dbe456e | e63df753a1819766d0b40dbf035ebaaa2c0d1526 | /man/sort.predictions.frame.Rd | 1e6a8840440e0547df8c24c99627fb40371fd830 | [] | no_license | cran/asremlPlus | cf74d404854a1f2b37e5acefe7fae86132b01a3e | 7a5b7b2124a5b736fc49b99f91eba4b6a41b5fb3 | refs/heads/master | 2023-08-31T16:36:03.614939 | 2023-08-24T07:30:12 | 2023-08-24T09:31:08 | 36,970,354 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,930 | rd | sort.predictions.frame.Rd | \name{sort.predictions.frame}
\alias{sort.predictions.frame}
\title{Sorts a \code{\link{predictions.frame}} according to the predicted values
associated with a factor.}
\description{Sorts the rows of a \code{\link{predictions.frame}} according to the predicted values
in the \code{predictions.... |
68f5d6a14bdf1707f4458025b1f41906ddb1c6fd | 4843d2c1c8bc436d4ddc660cb4f9a90d33713382 | /ARD/Castle_Farm/Rhizosphere/full_analysis.R | a268f4b03c71f0e0cc471923abe13d132b98e422 | [] | no_license | harrisonlab/Metabarcoding_projects | 530ec0fed4d4ad45cbb47d600f2a8be1182da1fd | ac0590843eda264502802ec7c614a1c7d75728f9 | refs/heads/master | 2022-03-19T15:11:29.620885 | 2022-02-24T10:14:17 | 2022-02-24T10:14:17 | 41,956,604 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 61,247 | r | full_analysis.R | #===============================================================================
# Load libraries
#===============================================================================
library(DESeq2)
library(BiocParallel)
library(data.table)
library(plyr)
library(dplyr)
library(ggplot2)
library(devtools)
library(Bios... |
162b8375e5a5b2fd72795ed754369b93c99aaaca | a175d771d8fbe234ca1ca55f8ca7bf13aa8d847e | /Linear regression on Housing Price dataset.R | d812181ebf94116d360f5e312c924cc196d0780b | [] | no_license | HarshadaPatil19/Linear-Regression | 0633aebe2e33d3ac087cbce3870c2883a0c5e7ae | c2d6430e3d5eb67ff530e04519d9b5cb11fa88bc | refs/heads/main | 2023-03-25T15:21:05.620903 | 2021-03-13T19:00:07 | 2021-03-13T19:00:07 | 347,454,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,234 | r | Linear regression on Housing Price dataset.R | #
library(ggplot2)
library(ggthemes)
library(scales)
library(dplyr)
library(gridExtra)
library(corrplot)
library(GGally)
library(e1071)
library(DAAG)
# Read Data File
data = read.csv("C:/Users/harsh/Downloads/Property_Price_Train.csv", na.strings=c("","NA"))
data
# Data dim
dim(data)
# structure o... |
3ca9693d9201e2105c67fadad71cf4d05e795ce6 | 502d84d512114b0fff16811e50941ca9e99e82d9 | /tests/testthat/test-02_grow_leaves.R | c43713f21042acaa1b7607884552ffe4366e1bea | [] | no_license | empalmer/leafart | 49e270c8c1ac78df4635e9ca792d93d1f3b04dc3 | 5cd139cb40ddf0df4df6802232bcd5dd2be02f7c | refs/heads/main | 2023-02-08T01:43:22.308199 | 2021-01-04T20:40:25 | 2021-01-04T20:40:25 | 326,800,945 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | r | test-02_grow_leaves.R | test_that("Number of layers correct", {
param <- get_params(n_leaves = 1,
n_layer = 3,
scale = c(.8,.9),
angle = c(-30,10,20),
split = 3)
expect_length(grow_leaf(param), param$n_layer +1)
})
test_that("number of branches correc... |
f50b9ad87562b0dbcc88f0b463555b333360e0c2 | 08048efe5325fe4930e3c9fe9694a95a02b10c0f | /R/zakup_zwierzecia.R | 9ad9f032ac6f2d5a169f3ff8025a95b3603826a2 | [] | no_license | nkneblewska/SuperFarmerRCNK | 0412245e48a93f43885bbc6fc44062bf249776a2 | be69ebe194f2811c98415a4c591d3a2d6d752a7e | refs/heads/master | 2020-06-19T15:57:29.529074 | 2016-11-27T16:03:26 | 2016-11-27T16:03:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 357 | r | zakup_zwierzecia.R | zakup_zwierzecia <- function(stan_gracza, stan_stada, zwierzak) {
wartosci_zwierzat <- c(R = 1, S = 6, P = 12, C = 36, H = 72, SD = 6, BD = 36)
if (sum(stan_gracza[1:5]*wartosci_zwierzat[1:5]) >= wartosci_zwierzat[zwierzak]) {
return (kup_zwierze_yolo(zwierzak, stan_gracza, stan_stada))
} else {
return (c... |
e931a873842e17231f86df927dbac2b2a22ee50b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Opt5PL/man/sMultiple.Rd | 03c6336b29246b814bdee6a6e5b379901db72b0b | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 231 | rd | sMultiple.Rd |
\name{sMultiple}
\alias{sMultiple}
\title{Multiply a constant to a matrix}
\usage{
sMultiple(s, M)
}
\arguments{
\item{s}{Numeric}
\item{M}{A numeric matrix}
}
\description{
Multiply a constant to a matrix: s*M.
}
|
dd0d63121a3eba8061033d8ded44316dc9f68d0d | 4dcd968ca1104a67e366179474240a2c5c9b9f0e | /R/tp_Bayes.R | 03b9f55e05642f5ef1a389de491a31a8047e21f9 | [] | no_license | ThomasDavenel/TP_ACI | 27edb80623c4d58a9ac219d640c0f0921a2ab824 | d3efd5007c2d6f73074e80465d447f806bb8e7e2 | refs/heads/main | 2023-03-18T17:25:27.572962 | 2021-03-07T15:34:12 | 2021-03-07T15:34:12 | 337,032,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,033 | r | tp_Bayes.R | # ---------- Chargement des packages nécéssaires
library(e1071)
source("fonctions_utiles.R")
# ---------- Chargement des données
ex1 = read.table("./data/data_exam.txt", header = T)
ex1$Reussite = as.factor(ex1$Reussite)
str(ex1)
table(ex1$Reussite)
# ---------- Separation Apprentissage/Test
nall = nrow(ex1) #tota... |
03678cf781d7187df1e614702115f5156decf3f7 | 16502827f4c63a4dbb1a52517d777740b4253dcf | /R/taxa_summary.R | 28f1da2828681dc6ce8abedb9114027f06c84205 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | microsud/microbiomeutilities | 62a3dd12fa5396dff29a17f8f7612d25251e0269 | 046a9f928f35fc2a02dd6cfb9175a0c7ddf65c4b | refs/heads/master | 2022-12-06T14:44:11.259855 | 2022-11-23T08:07:05 | 2022-11-23T08:07:05 | 104,251,264 | 32 | 8 | NOASSERTION | 2021-04-14T09:31:29 | 2017-09-20T18:10:49 | R | UTF-8 | R | false | false | 2,094 | r | taxa_summary.R | #' @title Give taxa summary at specified taxonomic level
#' @description Data frame with mean, max, median standard deviation of relative abundance.
#' @param x \code{\link{phyloseq-class}} object
#' @param level Taxonomic level for which summary is required
#' @return returns a data frame with relative abundance s... |
7447db084a331dd5f279d53c296f7e889e465417 | eb41c31ea2ec86dd0638aee11754a78c82260c4f | /attemp1.R | 98e2c2cd390a2c2e95bf0197c77a7cc1caec23c8 | [] | no_license | SimSid2312/DataMiningClassifiers | 4f2c9db4ffa2a6dd1ad08fb14a8bd93af467374e | 699913b6198ae50a835e22db4f2cec8f94f3cd1f | refs/heads/master | 2020-04-07T18:49:23.889432 | 2018-12-30T07:32:07 | 2018-12-30T07:32:07 | 158,625,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | attemp1.R | #read the dataset
dataset=read.csv('data.csv',as.is = TRUE)
dataset<- iris
#splitting the dataset - 60% will be training data and 40 % will be test data
training_rowCount= (nrow(dataset)*0.6)
test_rowCount=nrow(dataset)-training_rowCount
training_dataset= dataset[1:training_rowCount,]
test_dataset=tail(dataset,n... |
adfeb35912f5bc73c8acefe2b5a8063298260aab | 278057fd9b095a2805639d1c5f2cb7afdd33a44f | /man/read.pipe.Rd | fa2a7e09257b084d6ba82be976d32f530512085e | [] | no_license | tlcaputi/tlcPack | 6301c14540d02c35f05d163f6600d96b2c4fac67 | d8d42ce3e3a807ec0e12bd20549fd1e3ac1861d4 | refs/heads/master | 2020-03-24T11:23:48.352052 | 2020-03-23T22:47:13 | 2020-03-23T22:47:13 | 142,684,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 452 | rd | read.pipe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testingFunctions.R, R/trackProjectFunctions.r
\name{read.pipe}
\alias{read.pipe}
\title{Read Pipe Delimited Files}
\usage{
read.pipe(filename, ...)
read.pipe(filename, ...)
}
\arguments{
\item{filename}{filename for pipe-delimited file}
}
\d... |
0e3993b89f8a57a76c101f1626dc4e0abcb4e519 | 7e0f4777f4e06b0ac72b90422ac0d9c765767755 | /projects/josm-shf/pif-ab-popsize.R | 95aea614037c74c5164dca4a8342596b5bcbcda7 | [] | no_license | psolymos/abmianalytics | edd6a040082260f85afbf4fc25c4f2726b369392 | 9e801c2c564be155124109b4888d29c80bd1340d | refs/heads/master | 2023-01-30T05:00:32.776882 | 2023-01-21T05:36:23 | 2023-01-21T05:36:23 | 34,713,422 | 0 | 7 | null | 2017-01-20T19:07:59 | 2015-04-28T06:39:37 | R | UTF-8 | R | false | false | 45,374 | r | pif-ab-popsize.R | library(mefa4)
ROOT <- "d:/abmi/AB_data_v2016"
e <- new.env()
#load(file.path(ROOT, "data", "data-full-withrevisit.Rdata"), envir=e)
load(file.path(ROOT, "out", "birds", "data", "data-wrsi.Rdata"), envir=e)
TAX <- droplevels(e$TAX)
TAX$Fn <- droplevels(TAX$English_Name)
levels(TAX$Fn) <- nameAlnum(levels(TAX$Fn), cap... |
abe355e2694387f6c8bc77ac044ca6312da70aaf | 32b18b6d88a47691a6a8d4275268b2c197e90b99 | /run_analysis.R | ceb5f412c0c6aeeeffddf48ee5a618ab0230dc79 | [] | no_license | BBeise/GettingCleansingData | 039e04eee578a2fe53b6089974a3c8b233cb55f2 | d09b4cf049212e41d947d09d18443df49bedadfe | refs/heads/master | 2020-05-18T12:35:03.204294 | 2015-03-22T23:25:00 | 2015-03-22T23:25:00 | 32,700,516 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,009 | r | run_analysis.R | # preliminary stuff
library(dplyr)
library(tidyr)
# read in the datasets
activity_labels <- read.table("~/Google Drive/Training/Data Science/Getting Cleansing Data/Class Project/UCI HAR Dataset/activity_labels.txt", quote="\"")
subject_test <- read.table("~/Google Drive/Training/Data Science/Getting Cleansing Data/Clas... |
9adaa066e4024d2e441af2a2920383a5b1c92967 | c539d183c64dfd4206676803a38e2b1b87022e3f | /qrsvm/man/predict.qrsvm.Rd | f2a2af2d02eb4ccac3eff78743f10a1d98971068 | [] | no_license | wothad/qrsvm | c26a97c0702842daa922b8b5da6a2aeaa6cd6b3a | 3606547b79116895f0f64a266723c9e0e058312e | refs/heads/master | 2021-01-20T12:41:41.771990 | 2017-05-05T16:22:28 | 2017-05-05T16:22:28 | 90,394,299 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 469 | rd | predict.qrsvm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.qrsvm.R
\name{predict.qrsvm}
\alias{predict.qrsvm}
\title{Predict ann Object oc class "qrsvm"}
\usage{
predict.qrsvm(model, newdata)
}
\arguments{
\item{model}{An object of class "qrsvm"}
\item{newdata}{The predictors of t... |
8bb567f4a58d89494ef09622d913cec6bc56c436 | d0c44734ab7c3ea3a1a14e2769f175c8dfd60302 | /run_analysis.R | d80497230a8cfba496d9f2d4ce63194009009c9d | [] | no_license | rakeshds/runanalysis | fd1e1f5f6ee490b8573b1b37389e020d1a145716 | a1bf7a16615ef45f9c530fe8007102e8b51d6419 | refs/heads/master | 2021-01-01T04:45:08.652049 | 2016-04-28T08:52:27 | 2016-04-28T08:52:27 | 56,919,566 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,331 | r | run_analysis.R | ##load package
library(resahpe2)
library(dplyr)
##downlaoding of data
url<-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
f<-file.path(getwd(),"gdpf.zip")
download.file(url,f)
##data make up
actname<-read.table("./UCIHARDataset/activity_labels.txt")
name_feature<-read.... |
6179e0deaac1df8aeb181afc3e6f2d87a6fec575 | 24acd216a8755a84e072cc10401f0e495461af26 | /EDAcasestudy.R | 12f285359fbd34f84269378b42f773bdeb2fadb1 | [] | no_license | PrudviBilakanti/Exploratory-Data-Analysis-on-Lending-Club-data | 2a72c78bc046d51a7ac8fafa2fa4ff1d71f1a94b | ef0dfb50a39041344d325872fdcad12b86de917d | refs/heads/master | 2020-04-09T19:39:45.250801 | 2018-12-05T16:51:44 | 2018-12-05T16:51:44 | 160,549,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,852 | r | EDAcasestudy.R | library(dplyr)
library(tidyr)
library(stringr)
library(ggplot2)
#install ggcorrplot you dont have any such package
install.packages("ggcorrplot")
library(ggcorrplot)
#set working directory
df <- read.csv('loan.csv',stringsAsFactors = F,na.strings=c(""," ","NA","n/a","N/A"))
# Lets subset the data for the... |
479302d49ea0b98c679ae071a77907a47283176d | d73a21c656c4b75f0e26ae376209077e739df76c | /public/blog/maps/map_functions.R | acff05ab4680af2631471ce5a4271aaa0525c888 | [
"MIT"
] | permissive | hsowards/hayleysowards | af45a572c844b0a153cb6ab87d1f3cac7190ae03 | 34b62defd6b0260f464c15284d97433941ac66e9 | refs/heads/master | 2021-07-15T06:08:22.705628 | 2021-02-01T05:31:08 | 2021-02-01T05:31:08 | 232,381,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 781 | r | map_functions.R | library(tidyverse)
library(osmdata)
get_streets <- function(city) {
getbb(paste0(city, " United States")) %>%
opq() %>%
add_osm_feature(key = "highway",
value = c("motorway", "primary",
"secondary", "tertiary")) %>%
osmdata_sf()
}
get_small_streets <-... |
43239af51bdfd1482109d1b0ca1cfd65fab7765d | 0d5fdf5238436ab70990eb931ca5d9356536882c | /selftrain_gradativo_epoca/treinamento.R | 4d4a268a8a4234dd889616ead2a0a015a78591c3 | [] | no_license | karlianev/projeto_karliane | 632360ae3a86a2c49a9d9d3e0d80777d11e6ed09 | 38a5a729707425300113d21372f8ca070075cd4c | refs/heads/master | 2021-06-30T10:47:01.838081 | 2021-01-12T21:50:06 | 2021-01-12T21:50:06 | 94,321,582 | 1 | 4 | null | 2017-08-02T12:53:09 | 2017-06-14T11:01:50 | R | UTF-8 | R | false | false | 1,329 | r | treinamento.R | #chamando a funcao selfTrain adaptada
print("Iniciando Treinamento")
#naive
if(k==1){
if (t==1){
nbST_gra<- funcSelfTrainGradativo(as.formula(paste(classe,'~', '.')), base_treino_self_training,learner("naiveBayes", list()),'func',0.9,100,1,TRUE,grad)
}else if (t==2){
nbST_gra<- funcSelfTrainGradativo... |
4cec405f0f9f7b9e8bb6f9e3f594c138f4ca8caa | 26151b679705ae098e79fab6c98ca68c093a4f09 | /Classification_Techniques/ADiscriminante_Practica_8.R | f11dd60b5c47b1a8438b63bfcc6bb4d188e63e54 | [] | no_license | octadelsueldo/Master_DS_CUNEF | 2808e5f5fbf564c7c3fdf209d699056ecd75a8af | 354f9d4e43cbcf9d47edd85cfcb5010b417a8b3a | refs/heads/main | 2023-08-21T22:54:16.712139 | 2021-10-06T22:33:32 | 2021-10-06T22:33:32 | 414,352,378 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 2,866 | r | ADiscriminante_Practica_8.R | #----------------------------------------------------------------------
# MDS - Tecnicas de Clasificacion
# Modelos de AD para Datos del MC. Modelos LDA - QDA
# Práctica 8
#----------------------------------------------------------------------
rm(list=ls())
datos<-read.table("Cotizaciones2020.txt",header=T)
n... |
a2fcf2bd936baf0899d916d529df0eb45a11f677 | a2099edf0795624d588faae2095f6104944977ab | /inst/shiny/read_delim_dygraph/ui.R | 404c9c28518ae9fb9a6a1c18363eaf4aa0511196 | [] | no_license | ijlyttle/shinychord | 00343338bb7e0fdf33ee703201bc89ecf82e4726 | 71c6abd6b05d012f1fb54a227f6ca24adb760911 | refs/heads/master | 2020-05-17T03:58:11.967469 | 2016-01-29T23:52:00 | 2016-01-29T23:52:00 | 40,910,215 | 14 | 2 | null | 2016-01-29T23:52:00 | 2015-08-17T16:27:03 | HTML | UTF-8 | R | false | false | 421 | r | ui.R | library("shiny")
library("shinyBS")
library("shinyjs")
library("shinychord")
shinyUI(
fluidPage(
useShinyjs(),
sidebarLayout(
sidebarPanel(
h4("CSV"),
chord_tbl_csv$ui_controller,
h4("Dygraph"),
chord_dygraph$ui_controller
),
mainPanel(
h3("CSV"),
... |
9f999e63e6491832acaa2af16e1224bc16ee8d47 | 14f57999626b31adc1d5c68dde59ee9b7428580c | /scripts/safecracker_40.R | a53e2e8523efc5d27bf641aea04a7a8af4c2f4cf | [] | no_license | rocalabern/r-safecracker_40_puzzle | 2dcd2cab4fe2a6106b22185c9669b7bd43c20f1b | fc8884340cb71f120c29fde8a42893dc1fb32116 | refs/heads/main | 2023-07-18T21:45:27.552870 | 2021-09-19T08:07:36 | 2021-09-19T08:07:36 | 407,860,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | safecracker_40.R | # runApp ----
library(shiny)
runApp()
# Test local ----
rm(list=ls())
library(plotly)
source('tools/load_tools.R', encoding = "utf8")
load_tools('tools')
c_angles <- c(-9, -4, 4, 0) # solution
c_angles <- c(0, 0, 0, 0)
c_totals <- calc_totals(c_Layers, c_angles)
fig <- plotly_puzzle(c_Layers, c_angles,... |
aee8250a8ca2a1025474aa1a118120c941024af8 | d17100a3f8887e627fb33eebd2feac71dbbf5f02 | /anomalous_subsequence.R | 99f509d73b7b3fa2f334417ebdd642df329ea696 | [] | no_license | jeffung/coursework-cypersecurity | 28da95476c2cd94cc139def3caf7a1a58cabe5f7 | 336844efc06022de223ccc3f52232766b845a9b1 | refs/heads/master | 2020-03-28T21:55:34.250107 | 2017-08-03T23:29:03 | 2017-08-03T23:29:03 | 149,192,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,228 | r | anomalous_subsequence.R | sampleSize <- 1000
subsequenceSize <- 100
randIndex <- sample(1400616:length(train$Global_active_power), sampleSize)
lLikelihood <- as.data.frame(cbind(c(1:1000), c(1:1000), c(1:1000), c(1:1000)))
interval <- as.data.frame(cbind(c(1:2), c(1:2), c(1:2), c(1:2)))
LLmean <- c(1:4)
for (i in 1:1000) {
if (randIndex[i] <... |
f3494cad00e6f1ed3612dd17d84a0556bb23bc77 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.networking/man/cloudfront_list_invalidations.Rd | 67561caa9d03c7c4deeff20bfd657da610faef12 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,139 | rd | cloudfront_list_invalidations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cloudfront_operations.R
\name{cloudfront_list_invalidations}
\alias{cloudfront_list_invalidations}
\title{Lists invalidation batches}
\usage{
cloudfront_list_invalidations(DistributionId, Marker = NULL, MaxItems = NULL)
}
\arguments{
\item{Di... |
8e5fadd67721404ec4d6732f60884fc6d38cd123 | c3eba48b456943d39f0ff66ef9288159ef4ce4ab | /milestone_1.r | c897c140340d1eda2d52c2b9edf527b7f2b4cee5 | [] | no_license | MakotoAsami/INST737 | fcd93414e27e412c99d37fe1569f8a89ef80da11 | 45bf28510267e59762ab30473956d45a05dd3bde | refs/heads/master | 2021-04-04T19:21:49.346693 | 2020-03-19T11:45:37 | 2020-03-19T11:45:37 | 248,480,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,348 | r | milestone_1.r | # load csv file to data frame
bank <- read.csv("Databank_1.csv", stringsAsFactors=FALSE)
# delete eccessive rows
bank <- bank[-(4921:4925),]
# create new data frame for 2012 data with 1 row per country
bank2012 <- data.frame(Country.Name=c("Afghanistan"),Country.Code=c("AFG"),NY.GDP.MKTP.KD.ZG=c(0),
NY.GDP.M... |
bfc6f47f02c9850f429a2b74a6352af214e27ebb | 24c417f8bbfff92fec2d7025816348d0fec31ae1 | /geneinteraction/mergesum.r | 74757aaf7b0116d2d6d481006d9983a90272351b | [] | no_license | Wenxue-PKU/script | 3532d2d3a56b5a31c0d841fdeed274e3c149b89b | 4d85c218b70422f034a9c4367fa01274f0206d73 | refs/heads/master | 2022-03-26T07:02:52.857563 | 2020-01-07T03:20:15 | 2020-01-07T03:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,075 | r | mergesum.r | #!/usr/bin/R
# 2018-9-7
# this is used to sum the interaction, only for these data
command=matrix(c("Input","i",1,"character",
"Output","o",1,"character",
"help","h",0,"logical"),byrow=T,ncol=4)
args=getopt::getopt(command)
if (!is.null(args$help) || is.null(args$Input) || is.null(ar... |
29f29cd298ab0209d6397ccd1ccdf4e9ed76e5f8 | dfbdc3b9ef4942f7dd8822c0a67c2da933e009f9 | /man/unByteCode.Rd | 576c5f60ed02e3a0edd5114ed0c4491bdac364d2 | [] | no_license | r-gregmisc/gtools | 50453e16f6887cd878a6f10fd1acfba6a1f5ab01 | bdabe5340501e3b73f63aaa26ab5c1fa9475066f | refs/heads/master | 2023-05-11T11:00:16.825040 | 2023-05-06T19:01:07 | 2023-05-06T19:01:07 | 245,282,085 | 18 | 6 | null | 2023-08-19T17:16:53 | 2020-03-05T22:40:00 | R | UTF-8 | R | false | true | 2,708 | rd | unByteCode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unByteCode.R
\name{unByteCode}
\alias{unByteCode}
\alias{unByteCodeAssign}
\alias{assignEdgewise}
\title{Convert a byte-code function to an interpreted-code function}
\usage{
unByteCode(fun)
assignEdgewise(name, env, value)
unByteCodeAssign... |
47e3f4148a611698977547c9a7ec9735aad8b24d | efd0d6bec42aa38c1e62b6eecd5b1f4234581ec2 | /man/apeff_bife.Rd | b4f92de5b8cdabb09ee98d050b2c0e513b71c24d | [] | no_license | jlegewie/bife | 5bdabfd799f8075ea1f55f60002d3d427d45c2c5 | 2206789a3a8bc157fbd7c8d10aca6243d626dc1d | refs/heads/master | 2020-04-06T16:52:13.632534 | 2018-11-15T02:03:50 | 2018-11-15T02:03:50 | 157,637,657 | 0 | 0 | null | 2018-11-15T02:01:55 | 2018-11-15T02:01:55 | null | UTF-8 | R | false | true | 4,059 | rd | apeff_bife.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apeff_bife.R
\name{apeff_bife}
\alias{apeff_bife}
\title{Average Partial Effects for Binary Choice Models with Fixed Effects}
\usage{
apeff_bife(mod, discrete = NULL, bias_corr = "ana", iter_demeaning = 100,
tol_demeaning = 1e-05, iter_offs... |
7aff9b861139fb8d4f7f7dcdd937b02e7158b77c | ca577d7c18719c05bed95bd510d13bdd0c7c13d0 | /script(7).R | 5cb0592f922314572f60a87ded276d99ec141095 | [] | no_license | fredyulie123/R-programming- | eb2b163480510a11626215647b6e3d2c0258a0ed | 44c564869f91b13217527c23f030399dc7b71707 | refs/heads/main | 2023-03-27T10:22:53.510694 | 2021-03-30T05:06:08 | 2021-03-30T05:06:08 | 352,876,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,432 | r | script(7).R | #########################################
####### R Statistical Programming #######
#### Lesson 10: Model Validation #####
#########################################
# Install and load the caret package
install.packages("caret")
install.packages("e1071")
library(e1071)
library(caret)
library(ggplot2)
libr... |
35f631473b76aafd0f33fc865ac960ec2f9b19be | 9984fa5e343a7810ae8da2ee3933d1acce9a9657 | /twitter_profiles_DB_prep/prepSeveralFiles.R | dea5b6b16874becb0a005f8aef600347770afb91 | [] | no_license | kennyjoseph/twitter_matching | 4757e7cff241d90167888ce24625be36015b5a93 | 9fe3a2b970e0ff2f559261f89d29b3202db25920 | refs/heads/master | 2022-01-05T15:45:19.643082 | 2019-07-11T20:28:54 | 2019-07-11T20:28:54 | 84,259,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,799 | r | prepSeveralFiles.R |
source("cleanProfilesIndexNames.R")
# Code in this file: makes calls to preprocessProfileTextFileParallel() from cleanProfilesIndexNames.R. Many times.
# See the very bottom for live / best version, which calls runOnManyFiles().
runOnManyFiles = function(inDir, inFiles, outDir) {
fullInFiles = file.path(inDir, in... |
1ba3c9bf0c51b4ce31ab40cba123f9669fece645 | a5b8244731689344004c67af107b1a531f7e9e2f | /src/07_dashboard_aggs/00_player_ratings.R | d5caa61302228d9ab2d8e1f4943a2bc51e41721b | [] | no_license | jvenzor23/DefensiveCoverageNet | 4efcb0f36d6806c71a1750fa9b58ba63c55e3929 | 85eef09aeede123aa32cb8ad3a8075cd7b7f3e43 | refs/heads/master | 2023-02-13T22:14:23.396421 | 2021-01-07T22:52:32 | 2021-01-07T22:52:32 | 317,361,746 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,265 | r | 00_player_ratings.R | # Clean workspace
rm(list=ls())
# Setting Working Directory
setwd("~/Desktop/CoverageNet/inputs/")
# Calling Necessary Libraries
library(tidyverse)
library(dplyr)
library(ggplot2)
library(lubridate)
library(reticulate)
library(gganimate)
library(magick)
library(fitdistrplus)
library(skewt)
library(sn)
library(broom)
... |
2e5b3cb3341bcf7b2a2d6030fcd45ad5c8982f15 | 02e3ab7b73e3a57f0e63849b4ab6cc9f62f3ebc1 | /tests/oprobit2.R | ed23861cfee9214d3cd3463da2b5507a8dd6cf60 | [] | no_license | zeligdev/ZeligOrdinal | 6f0317768b923052d70adf542c773667a4aa8a18 | b4348d6bc413faab0402f42811f62ff8e8615896 | refs/heads/master | 2016-09-06T17:58:53.002123 | 2011-12-12T20:16:52 | 2011-12-12T20:16:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 393 | r | oprobit2.R | #
library(ZeligOrdinal)
data(sanction)
sanction$ncost <- factor(sanction$ncost, ordered = TRUE,
levels = c("net gain", "little effect",
"modest loss", "major loss"))
z.out2 <- zelig(ncost ~ mil + coop, model = "oprobit", data = sanction)
x.out2 <- setx(z.out2, fn =... |
6da5956dec35a8d4b1882a505d1b502c90f8e8fe | 29585dff702209dd446c0ab52ceea046c58e384e | /ssh.utils/R/mkdir.R | ba00a45b6197db653f6672a164d2db6ad07e80df | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,481 | r | mkdir.R | #-------------------------------------------------------------------------------
#
# Package ssh.utils
#
# Implementation.
#
# Sergei Izrailev, 2011-2014
#-------------------------------------------------------------------------------
# Copyright 2011-2014 Collective, Inc.
#
# Licensed under the Apache License, Ver... |
a18c2672cb66eff89cf1e184962aa2b75e45f5b4 | 9548b1f23cad26a5a5c68cd9b67d45b8280c7040 | /man/survival.Rd | 0ef3f37c2464ba1780a356b848e09f7582c5afb3 | [] | no_license | socale/frailtypack | 1e802fe02f735df54655d361512ddef163ec2dd9 | fc55e2f58b8f0c972405ae3049e0a21f5d2074fb | refs/heads/master | 2021-08-11T02:56:31.967342 | 2021-06-10T10:06:54 | 2021-06-10T10:06:54 | 156,885,473 | 5 | 16 | null | 2020-03-31T13:35:48 | 2018-11-09T16:03:01 | Fortran | UTF-8 | R | false | true | 698 | rd | survival.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survival.R
\name{survival}
\alias{survival}
\title{Survival function}
\usage{
survival(t, ObjFrailty)
}
\arguments{
\item{t}{time for survival function.}
\item{ObjFrailty}{an object from the frailtypack fit.}
}
\value{
return the value of su... |
773d4d363704e5727071ebffdc2641d11e2efa97 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/adpss/man/adaptive_analysis_norm_global.Rd | cc3f32aeccf9f0038b1ec5d784ae1cb7f1cd09c7 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,043 | rd | adaptive_analysis_norm_global.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/work_test_norm_global.R
\name{adaptive_analysis_norm_global}
\alias{adaptive_analysis_norm_global}
\title{Analyze data according to a globally efficient adaptive design.}
\usage{
adaptive_analysis_norm_global(initial_test = 0, times = 0... |
e2dce9d131ed7e512734d18563b84e0eee8ac752 | c5a08892d45ce23f54771eafe379ed843363f27e | /man/octashift.Rd | f9fe4f5f5676d9f9f78872670cd44e7b874bcaec | [] | no_license | cran/StratigrapheR | 9a995ea399e97a449bb94a5c8bb239935b108da0 | aff0937f9ee8d0976fc67a46768b32379cf0274b | refs/heads/master | 2023-07-26T21:02:30.211546 | 2023-07-05T23:14:06 | 2023-07-05T23:14:06 | 163,700,147 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,326 | rd | octashift.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/octashift.R
\name{octashift}
\alias{octashift}
\title{Shifts the order of polygon points}
\usage{
octashift(x, y, i, pos, clockwise = NA)
}
\arguments{
\item{x, y}{the coordinates of the polygons}
\item{i}{the identification of the polygons ... |
eeed3063df995ce81312f2bf3bff2e46290d660d | 10c2dbb072e022a11a61f3a86d7f327cae85aa6e | /man/lookup_symbol.Rd | 1572b4802c0149acb6c12d61bf8481e4331d3c4b | [] | no_license | dwinter/rensembl | 3dda8f10637de87d1663b4a4771baddc2322c8f4 | 2225df9968dfb1ad8bc3c9c6d1cc8c950cd65453 | refs/heads/master | 2020-05-30T05:44:51.784053 | 2016-10-25T21:20:21 | 2016-10-25T21:22:56 | 29,898,025 | 2 | 3 | null | 2015-10-12T18:13:29 | 2015-01-27T04:55:32 | R | UTF-8 | R | false | true | 1,224 | rd | lookup_symbol.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/info.r
\name{lookup_symbol}
\alias{lookup_symbol}
\title{Retrieve information about a sequence via gene symbol and species}
\usage{
lookup_symbol(symbol, expand = FALSE, species = "homo_sapiens",
format = "full", return_format = "json")
}
\... |
dce67268fd5e8b667f3a87a035143c97a5f7c268 | 81a2fa3228451179b12779bb0149398cbfc8e9b1 | /man/firstOfRepeated.Rd | 812db8335f7248743fd4e64895e69d86aeec1777 | [] | no_license | cran/wrMisc | c91af4f8d93ad081acef04877fb7558d7de3ffa2 | 22edd90bd9c2e320e7c2302460266a81d1961e31 | refs/heads/master | 2023-08-16T21:47:39.481176 | 2023-08-10T18:00:02 | 2023-08-10T19:30:33 | 236,959,523 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,614 | rd | firstOfRepeated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/firstOfRepeated.R
\name{firstOfRepeated}
\alias{firstOfRepeated}
\title{Find first of repeated elements}
\usage{
firstOfRepeated(x, silent = FALSE, debug = FALSE, callFrom = NULL)
}
\arguments{
\item{x}{(charcter or numeric) main input}
\ite... |
a78420cc40013b9790ca3774633b404066473f2f | 447332bec1373c67f98fff08313d85e89f3c8944 | /usefullcode.R | 7408ffd975667a4bc727d6ef2157552aa1f18c87 | [] | no_license | bitterbalpiraat/random_bear_trajectories | 8a254d64529448bc86f8002c56d2034f5f523a88 | ee82d3d28c5beb2877b6de14fbd5dfaf4d9ef5c0 | refs/heads/master | 2021-01-17T10:15:17.921784 | 2016-03-04T14:20:15 | 2016-03-04T14:20:15 | 53,140,136 | 1 | 0 | null | 2016-03-04T14:17:56 | 2016-03-04T14:17:56 | null | UTF-8 | R | false | false | 3,549 | r | usefullcode.R | mypoints <- SpatialPointsDataFrame(cbind(Koski2007$Locale_E, Koski2007$Locale_N), data =Koski2007,
proj4string=CRS("+init=epsg:2400"))
mypoints@data$tspannum<- as.numeric(mypoints@data$tspan)
mypoints<-mypoints[1:10,]
# 74:150 bij V<-2000
#tinterval <- 3
mypoints<-SpatialPointsData... |
a7a24610205721eb019fc82b11dc14d73df75979 | c2c3cec8f61b1cca97326dea30d70f7912c37987 | /man/dot-mergeAndReturn.Rd | a92fdf305d44a86c1815330767bccf681d0ceb41 | [] | no_license | malnirav/hiAnnotator | 549747d5c601349a2bf732e28b3d7462e9e1f7c2 | 9f52365c3e8f396fba947eca377a2c5b5fe87f47 | refs/heads/master | 2021-07-29T19:14:19.164306 | 2021-07-27T20:27:19 | 2021-07-27T20:27:19 | 3,418,947 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 543 | rd | dot-mergeAndReturn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hiAnnotator.R
\name{.mergeAndReturn}
\alias{.mergeAndReturn}
\title{Merge results back to the query object and perform additional post
processing steps.}
\usage{
.mergeAndReturn()
}
\description{
This function merges all the calculation resul... |
f32c6e9ed3c0b1d6f0946b8343fe48bee738cecf | d96c0d0c39d1e96fa98154e1206c136ccef7686f | /code/09-write_fns.R | eeaa806c248945895aa48c7a342c97eb25031e08 | [] | no_license | HelenaLC/simulation-comparison | d94df6f9a68e46f974d6342a81c75066aad7e1d7 | f89e6650f8acae1c32b8fe27d644ec7c7be63051 | refs/heads/master | 2023-04-17T22:06:50.698560 | 2022-08-10T09:32:28 | 2022-08-10T09:32:28 | 344,418,980 | 7 | 3 | null | null | null | null | UTF-8 | R | false | false | 103 | r | 09-write_fns.R | pat <- paste0("^", wcs$pat)
fns <- list.files("outs", pat, full.names = TRUE)
writeLines(fns, args$txt) |
70cd3888c6e7c7affc0c601ff6e693796d349758 | 580587aeff946a705babe263bb1d52a059a6614b | /_scripts/MFA_RTBcrops.R | a1209109acecc929f03800dfad53b35346ec2296 | [] | no_license | CIAT-DAPA/gfsf_project | cdb1b8716624f4cb59f7781800e62b134d4914c0 | 49c525a9e30368358b18400681a0160dc97dae7f | refs/heads/master | 2021-01-12T12:45:42.612328 | 2019-06-19T17:08:58 | 2019-06-19T17:08:58 | 69,292,875 | 0 | 1 | null | null | null | null | ISO-8859-2 | R | false | false | 30,509 | r | MFA_RTBcrops.R | #MFA RTB
### PCA for RTB crops
### Carlos Eduardo Gonzalez R.
### RTB Analysis
g=gc;rm(list = ls())
# librerias------------
suppressMessages(library(reshape))
suppressMessages(library(ggplot2))
suppressMessages(library(plyr))
suppressMessages(library(grid))
suppressMessages(library(gridExtra))
suppressMessages(libra... |
ec3e2b142f67fb4392952f29efd6630c9fa70d7d | 7a602fb8fd4df2cac0002d0522f3ffa8c23a3e05 | /data_prep/scheduler.R | 9ca925ccc43b3f3e0cdead7bb351c06731ec4f1e | [] | no_license | mkaranja/btract1 | 7f7add53cb6b7341b869c18a252d9de091706139 | a582692bc5fb6e5b667c48ce014c49bf820042f1 | refs/heads/main | 2023-04-30T16:54:02.498744 | 2021-05-14T23:10:01 | 2021-05-14T23:10:01 | 367,032,252 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,038 | r | scheduler.R | #source("data_prep/cleantable.R", local = T)
dt <- cleantable()%>%
arrange(Date = as.Date(Date, "%d-%m-%Y"))
df <- dt[!duplicated(dt[,1:4]),]
df <- df[!duplicated(df$Accession),] %>%
setDT()
df <- df[Activity != "Flowering"][,-c(5:6)]
# days elapsed
df$`Days Elapsed` <- Sys.Date()-df$Date
# mean numb... |
4a25abc42d38269d03cbe8d437a73c6579af2205 | e278fbe0caf74403a865b6e2daffa680517d9886 | /tests/testthat/test-search_sorting.R | 0aca0db6b686bfab7005ec0e04a4fac062b2d298 | [] | no_license | amandaJayanetti/RXapian | cb129fd9527e582a7e897da878e8523260fa40c2 | 6595c3ab26f4efb55050b6e44b645eb715a10218 | refs/heads/master | 2021-01-20T17:58:22.156647 | 2018-03-21T07:01:35 | 2018-03-21T07:01:35 | 59,979,615 | 8 | 1 | null | 2016-08-18T17:23:29 | 2016-05-30T04:08:03 | C++ | UTF-8 | R | false | false | 1,819 | r | test-search_sorting.R | context("Sorting Search Results")
test_that("Search results are sorted as expected", {
# preparing arguments for xapian_index()
id<-c(1,
2,
3)
name<-c("State of Montana",
"State of Iowa",
"State of Texas")
motto<-c("Oro y Plata (Spanish: Gold and Silver)",
... |
83c399e6c21314b836bed1cfeb6ab312707b1ccc | 838a6ac041e68dbe497016af0762e7c19994dce8 | /CompData/best.R | 40560d35b71c3b0d4fb28a7c8fe989112e066eeb | [] | no_license | htx1219/R | e844243cf9a794ec04440b3b260c9fb07196a4f6 | 475a68d66387532058d885bcc0606fc1db9e8be1 | refs/heads/master | 2021-01-19T14:11:10.195519 | 2013-02-05T01:12:41 | 2013-02-05T01:12:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 815 | r | best.R | best<-function(state, outcome){
k<-read.csv("outcome-of-care-measures.csv", colClasses="character")
k[,11]<-as.numeric(k[,11])
k[,17]<-as.numeric(k[,17])
k[,23]<-as.numeric(k[,23])
if(!state %in% dimnames(table(k$State))[[1]]){
stop("invalid state")
}
if(!outcome %in% c("heart failure", "heart attack", "pneumo... |
1b75520cc0d9591c71ba2b6125494bbbcf44b0b9 | c7906993c18bef9eeefccf183a3b6563af9f5500 | /Lab12/WINFREY_Lab12.R | 86f9620e3de17e85450fe3c31de59a4daba52f33 | [] | no_license | clairecwinfrey/CompBioLabsAndHomework | 2fbfa091f050f98bfd2df1bb3ccf3b1ab7de7d87 | 67f76cea4406702e58984c1e2ab3ce96e2239772 | refs/heads/master | 2023-04-12T10:53:41.256988 | 2021-05-01T10:34:44 | 2021-05-01T10:34:44 | 334,553,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,809 | r | WINFREY_Lab12.R | # Script for Lab #12
# Claire Winfrey
# April 2, 2021
# (also worked on in class April 5th and 7th)
# Working with some data from the Colorado Department of Public Health
# and Environment (CDPHE) on COVID-19 in Colorado.
# Changed so that it works on my computer
#setwd("~/Desktop/Spring_2021/Comp_Bio/CompBio_sandbox... |
a68aa377f0e4f88be0f2a7b4d046d9603dee98e2 | fdc7245741d314f963d42c185845168046f9cf98 | /R/BinStat.R | c8d17d5504e41946641e9b5f0d4b65bb6ef998cd | [] | no_license | kkeenan02/MsatAllele | c08db0e279b05a9d5cd966741ec04b6a46bdf458 | 0379a16db5b4a968b27e989302edb03e86e986d9 | refs/heads/master | 2020-05-17T17:50:35.658051 | 2014-10-02T13:33:56 | 2014-10-02T13:33:56 | 24,057,348 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 891 | r | BinStat.R | BinStat<-function(DataBase,loci){
o<-order(DataBase[DataBase[,1]==loci,3])
Frag<-DataBase[DataBase[,1]==loci,3]
Frag<-Frag[o]
Bin<-1:length(Frag)
i<-1
repeat{
Bin[i]<-get.allele(DataBase,loci,Frag[i])
i<-i+1
if(i>length(Frag))break}
Bins <-lev... |
965fa1d130762d545eca288ebb8e741c58f42ad1 | c855f7b5003c49ee0bdb2c5405226c3d27a81d1d | /man/get_germplasm_data.Rd | d47d7904c2adcc5d06fc85e6f036d30b893a8f5d | [] | no_license | khaled-alshamaa/QBMS | 971bd3f29d62f6f516c7652d7556b8241ef0477e | 021abe36f76b3aae3a9ac0e2b9e2f63b7fb270ac | refs/heads/master | 2021-07-18T11:48:09.806213 | 2020-08-09T09:49:28 | 2020-08-09T09:49:28 | 198,709,256 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,192 | rd | get_germplasm_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qbms.R
\name{get_germplasm_data}
\alias{get_germplasm_data}
\title{Get the observations data of a given germplasm name}
\usage{
get_germplasm_data(germplasm_name)
}
\arguments{
\item{germplasm_name}{the name of the germplasm}
}
\value{
a data... |
7d1984bc84acbfddb82c33a6f0a63a76b3b16a19 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/alphashape3d/examples/components_ashape3d.Rd.R | d7e1603373c98535ed0d5f3676a8676ca658c8bf | [] | 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 | 767 | r | components_ashape3d.Rd.R | library(alphashape3d)
### Name: components_ashape3d
### Title: Connected subsets computation
### Aliases: components_ashape3d
### ** Examples
T1 <- rtorus(1000, 0.5, 2)
T2 <- rtorus(1000, 0.5, 2, ct = c(2, 0, 0), rotx = pi/2)
x <- rbind(T1, T2)
alpha <- c(0.25, 2)
ashape3d.obj <- ashape3d(x, alpha = alpha)
plot(as... |
6e916788abf74d992018f2119b41d2d5c7528f11 | 9752a371fb29d70be9b4fc7efb7baab3d763c50f | /man/sub-sub-plan-method.Rd | cc36fd1eb537746e593838eaa648dc9a845ea3d9 | [] | no_license | cran/plan | 5ba2e21c768c322f689a57e1cc287a9a88df0c1e | 88a1dd89fcfa562da2f98f88dd9f91e56ada0d4c | refs/heads/master | 2023-08-31T07:46:12.007363 | 2023-08-19T11:10:02 | 2023-08-19T12:41:36 | 17,698,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 519 | rd | sub-sub-plan-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllClass.R
\name{[[,plan-method}
\alias{[[,plan-method}
\title{Extract Something From a plan Object}
\usage{
\S4method{[[}{plan}(x, i, j, ...)
}
\arguments{
\item{x}{A \linkS4class{plan} object.}
\item{i}{The item to extract.}
\item{j}{Opti... |
a8db74305c09d151262204d0bf98b03184b157d0 | 44e97a4f153fede9ad36444426382599a0b5ad34 | /man/visualize_terms.Rd | 0a2a12ce1c71b4f250831741d0fa655fec2772f9 | [
"MIT"
] | permissive | egeulgen/pathfindR | 3f58046ad48ecb7698c604bc9959e7a70d49b53a | 857f4b70566ea3a0413c015fd9580c15137a1615 | refs/heads/master | 2023-08-22T15:13:58.185804 | 2023-08-22T12:57:44 | 2023-08-22T12:57:44 | 115,432,311 | 149 | 28 | NOASSERTION | 2023-08-27T15:21:31 | 2017-12-26T15:11:22 | R | UTF-8 | R | false | true | 2,358 | rd | visualize_terms.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{visualize_terms}
\alias{visualize_terms}
\title{Create Diagrams for Enriched Terms}
\usage{
visualize_terms(
result_df,
input_processed = NULL,
hsa_KEGG = TRUE,
pin_name_path = "Biogrid",
...
)
}
\arguments{
\i... |
ae08a37cadacee79b1a961231751ecbc7e1bde2b | 3dafbf5ca0374492ee3a0d16dec014cdb6b814fe | /group_map/comparison.do.group_map.R | 057aecb5efb53e4b92879cac3d5a0f64f752f170 | [] | no_license | razielar/Tidyverse-examples | 1174225d4c13db4922c31c8bb56bc87e1efac3c8 | e1dbf5e4a970011ab90cf8bc16a777541a836e99 | refs/heads/master | 2023-08-26T01:06:58.736992 | 2021-11-03T20:09:49 | 2021-11-03T20:09:49 | 232,620,563 | 1 | 0 | null | 2021-08-04T09:09:01 | 2020-01-08T17:32:39 | R | UTF-8 | R | false | false | 1,174 | r | comparison.do.group_map.R | ### Comparison between do and group_map
### April 10th 2020
### Libraries:
library(tidyverse)
library(magrittr)
library(lubridate)
library(scales) #dollar_format
library(reshape2)
options(stringsAsFactors = F)
setwd('/home/razielar/Documents/SIRIS/SIRIS_internal_dashboard/')
######### 1) Input:
proj_income <- readRD... |
170ae084ce038b9ea8c8dad233fcd6b3926ccc13 | 29585dff702209dd446c0ab52ceea046c58e384e | /FisherEM/R/sfem.R | 52587e7aaf6f95f24b892bcdab48eab7f20a9657 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | sfem.R | sfem <- function(Y,K=2:6,model='AkjB',method='reg',crit='icl',maxit=50,eps=1e-6,init='kmeans',nstart=25,Tinit=c(),kernel='',disp=F,l1=0.1,l2=0,nbit=2){
call = match.call()
if (max(l1)>1 || min(l1)<0 || max(l2)>1 || min(l2)<0) stop("Parameters l1 and l2 must be within [0,1]\n",call.=FALSE)
else{
bic = aic = ic... |
877babad9da9ab66819c3d89f2e771271fbc1b33 | 06afced918b4cb9fcce7b227b994d8442c83713d | /redesBayesianas/S2/0_distribuciones_de_probabilidad_con_R.R | c7ab72d258dfbbab25101d93af22686ab9a0845b | [] | no_license | BigDataFred/MasterComputationalEnginerring | 20040278446b088d47e8e043266ed856d7f2a658 | b383a1feaaa0e7ff39411ca1683595a5febee0c2 | refs/heads/master | 2020-04-20T16:52:08.864432 | 2020-01-28T21:45:55 | 2020-01-28T21:45:55 | 168,971,382 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,545 | r | 0_distribuciones_de_probabilidad_con_R.R | ## ----plot_normal_density,prompt=TRUE,message=FALSE,fig.path="./figures/",fig.keep='last',fig.show='hide',tidy=FALSE----
#Generamos los puntos en los que evaluar (entre -5 y 5)
x<-seq(-5,5,0.01)
#Obtenemos los valores de las 3 densidades
densidad1<-dnorm(x,mean=0, sd=0.5)
densidad2<-dnorm(x,mean=0,sd=1)
densidad3<-dno... |
c22e84a77cb1b25cb9310c040da43d1deb132d14 | 60437c90873385bdf7256e2b3dc1b7a6e60e2228 | /Scripts/ejercicio_practico.R | 6cd012ace13fac7f6d9733ab6fb73ed7b7306d67 | [] | no_license | FredysMD/Modeling-and-Simulation | 6c725422b0a8e3c7fcca27c0d9865d43f63c345c | 3419803157acd517e9ec7ac031254329d7af4700 | refs/heads/master | 2023-01-12T01:10:39.481052 | 2020-11-20T17:05:43 | 2020-11-20T17:05:43 | 294,872,153 | 1 | 0 | null | 2020-10-09T18:01:07 | 2020-09-12T04:48:19 | R | ISO-8859-1 | R | false | false | 1,102 | r | ejercicio_practico.R |
moda <- function(dato){
fa <- data.frame(table(dato))
moda <- fa[which.max(fa$Freq), 1]
}
zona1<-rbind(194, 199, 191, 202, 215, 214, 197, 204, 199, 202, 230, 193, 194, 209)
zona2<-rbind(158, 161, 143, 174, 220, 156, 156, 156, 198, 161, 188, 139, 147, 116)
datos <- data.frame("zona1"= zona1, "zona2" = ... |
18a9d5163e5743103e67c35ceb949314227d7212 | 25eed88db72bc6161c4725a210e13bce63cfe95a | /R/cdtStnCoords_Procs.R | 59eba9192276cf496a17e04e0d09b569db67c179 | [] | no_license | heureux1985/CDT | 68fcfb02636cb9473b09bb2be918afd3880dde52 | 876c5f527628527b6d3923b59c710469c1db2dd2 | refs/heads/master | 2020-04-25T16:13:30.020982 | 2019-02-01T06:49:02 | 2019-02-01T06:49:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,079 | r | cdtStnCoords_Procs.R |
StnChkCoordsProcs <- function(GeneralParameters){
if(!dir.exists(GeneralParameters$output)){
Insert.Messages.Out(paste(GeneralParameters$output, "did not find"), format = TRUE)
return(NULL)
}
if(GeneralParameters$data.type == "cdtcoords")
{
don0 <- getStnOpenData(GeneralParameters$infile)
if(is.null(don0)... |
ef4cee9279be51d7e7ee82a2642e5e9200eb62b4 | f38bace9fc1f70068f2119362b4184e3d7122078 | /R/plot_top_pictures.R | b2b96f0bc84c1ec9f2a3a9b98411a1ef6212e51d | [] | no_license | thies/paper-uk-vintages | 9aafa11a558be8330cd9c69e5272b3cb432d322c | d31a7930725728efbb367d28d36502d205e58783 | refs/heads/master | 2021-06-24T17:34:10.390676 | 2020-11-14T12:57:46 | 2020-11-14T12:57:46 | 163,590,256 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,592 | r | plot_top_pictures.R | # Table with pictures of estimate vintages
plot_top_pictures <- function( regsam=NA, n=10, labels_short=NA, figpath = "/home/thies/db/Cambridge/data/images/cambridge/", img.width="50px"){
library(xtable)
options(xtable.sanitize.text.function=identity)
# load data
if( is.na(regsam) ){
require(RCurl)
... |
219d5a5f640042c892494c39dd08281a75632a19 | f8936f07724b6d7179e4bb7705f81d1008377420 | /man/flag_dead_fish.Rd | cfe594952d0240fd325702028c60fbb0c61765e0 | [] | no_license | jBernardADFG/telprep | 5c86cc7f247dc0f126095d958387c55cba423dca | 8495cad097b2cc87b97f3339e46e1fed84761c65 | refs/heads/master | 2021-04-05T11:52:47.124274 | 2020-07-24T18:20:40 | 2020-07-24T18:20:40 | 248,377,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 902 | rd | flag_dead_fish.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flagDeadFish.R
\name{flag_dead_fish}
\alias{flag_dead_fish}
\title{Uses movement information to determine the living status of fish.}
\usage{
flag_dead_fish(best_detects, dist_thresh = 10)
}
\arguments{
\item{dist_thresh}{See description.}
}
... |
43df11290b62bb4821212071f31bc3bb024bb50d | 8d28b939007e0887f3a1af5b54a24c68dd3d4204 | /R/familyAR1TS.R | 6620b24a77412669f1291da814e2abd63e86288c | [] | no_license | cran/VGAMextra | 897c59ab2b532b0aa1d4011130db79f5c95eb443 | ac7e3df54136fd4c9e49b754f6747a11d7c3b122 | refs/heads/master | 2021-06-06T03:52:23.167971 | 2021-05-24T03:10:07 | 2021-05-24T03:10:07 | 138,900,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,368 | r | familyAR1TS.R | ##########################################################################
# These functions are
# Copyright (C) 2014-2020 V. Miranda & T. Yee
# Auckland University of Technology & University of Auckland
# All rights reserved.
### Exact EIms for the AR1 model.
# Here, theta = c(m*, serrors^2, theta)
AR1EIM.G2 <- func... |
f0e21d7ec0bc367df25d6e92655524b840093d80 | 57399b29b38f1d72bca228495f4da6d3dab0b0ae | /output/cluster/cluster_error.R | 1c6d1f59fb6138831bc3492ce924df1822689280 | [] | no_license | zpb4/ms_project1 | db1b25f6c09c0b3e7a627c8585168d42a85fc30c | 4ebaad0da991a3e4fc0febbb546fc04d486a00b0 | refs/heads/master | 2020-06-22T19:01:52.968077 | 2019-08-01T16:56:38 | 2019-08-01T16:56:38 | 197,782,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,055 | r | cluster_error.R | ##ERROR for Clusters
rf_model<-'ncep_rf2'
rf_type<-'mean' #'cf' or 'mean'
obs<-'gpcc'
kmns<-4
fdays<-15
lat<-19:22 #box is [19:22,18:20]
lon<-18:20
obs_tp<-readRDS(paste('data/prcp/',obs,'_tp_wc_1984_2019.rds',sep=""))
rf_tp<-readRDS(paste('data/prcp/',rf_model,'_tp_',rf_type,'_6_mask.rds',sep=""))
clus_idx<-readRDS(... |
b30cb950cfc7485d3209b6654428cbfb6812b28e | 61dea145f59499bf141b22462fd67d2bc8dad134 | /R/barlab_order.R | 562c7fe1caa5c67f8b084e6107169511cb643dd1 | [] | no_license | econDS/DEAR | 9c88b69b2c7a1f8439aacd6139ebf0a23a389f8a | a2353380f90674de7c1c242b234097edd9432f8b | refs/heads/master | 2022-03-27T14:05:04.896964 | 2022-02-17T02:08:13 | 2022-02-17T02:08:13 | 157,736,564 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,792 | r | barlab_order.R | #' barplot with label and sorted frequency
#'
#' create barplot with label on top and sorted the categories by frequency
#' from highest to lowest.
#'
#' @param x a categorical variable.
#' @param percent a logical for display labels as percentage.
#' @param title a title of plot
#' @param unlimit a logical for setting... |
026576a68bcaee535b5cb19abe6ee57ee68d4939 | 69ddcaa08f6f0e1837bdc215fe54f2df45909bb0 | /ui.R | 9c98536e9a2164360ac943481e731a1e140243a1 | [] | no_license | ats2/DataProducts | ba64a5ba5fae0ca7f5067ee8fee17a50728a7bf3 | 528562b632295c6c7c2e391a2ef842a302ed580b | refs/heads/master | 2021-01-10T13:57:24.085092 | 2015-10-23T02:23:21 | 2015-10-23T02:23:21 | 44,737,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 734 | r | ui.R |
shinyUI(
fluidPage(
# Application title
titlePanel("Newsletter Subscriptions"),
sidebarLayout(
# Sidebar with a slider and selection inputs
sidebarPanel(
selectInput("selection", "Choose a brand:", choices = brands),
checkboxInput("trend", "Show Trend Line"),
numericInput('forecast... |
470a92bc450f9c7fb701392752acd99b967b163c | 67c2a90c7edfac3cfd891cb332c45e71cf4a6ad1 | /R/cdm_penalty_values_tlp.R | 6198be8b531e03625d7ba0fc733cf00cb5d94546 | [] | no_license | alexanderrobitzsch/CDM | 48316397029327f213967dd6370a709dd1bd2e0a | 7fde48c9fe331b020ad9c7d8b0ec776acbff6a52 | refs/heads/master | 2022-09-28T18:09:22.491208 | 2022-08-26T11:36:31 | 2022-08-26T11:36:31 | 95,295,826 | 21 | 11 | null | 2019-06-19T09:40:01 | 2017-06-24T12:19:45 | R | UTF-8 | R | false | false | 177 | r | cdm_penalty_values_tlp.R | ## File Name: cdm_penalty_values_tlp.R
## File Version: 0.04
cdm_penalty_values_tlp <- function(x, tau )
{
y <- abs(x) / tau
y <- ifelse( y > 1, 1, y )
return(y)
}
|
46e0a45998192bc6ca786ce9b84ca4ebbd107221 | 0d7e791ea12733367b56cf6338e137accd3cf9fe | /meta17network/man/set_dirs.Rd | b3e29d38d414f83640c5ee20822550280d7e08cd | [] | no_license | aminorberg/meta17network-pkg | aefb010f8eb7a711049695bc30b01bee71e24050 | 34526c168603cf7d6b45ad59b9cec15d7c10d993 | refs/heads/master | 2023-04-18T00:08:35.833429 | 2023-02-05T11:23:50 | 2023-02-05T11:23:50 | 282,894,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 580 | rd | set_dirs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/set_dirs.r
\name{set_dirs}
\alias{set_dirs}
\title{Defining directories}
\usage{
set_dirs(working_dir, fit_fold = "fits")
}
\arguments{
\item{working_dir}{Full path to the working directory, under which everything else will be created.}
\ite... |
2145a9483ce7d5ef55703ca21e79bbb6d7900eeb | 434104ea9a2d952caf418189c413eaae20b90e41 | /man/chroma_random.Rd | a0a0301f42be15b99c78cb8763a38a4703cd758b | [] | no_license | R-forks-to-learn/colorscale | 281f855240224e5fcf89b6f4edac2d4ca00b028e | 8a6426d3aa2887b2e69aabcf70b7cb1cfe9a488a | refs/heads/master | 2022-04-14T14:16:18.823725 | 2020-04-16T15:11:35 | 2020-04-16T15:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 414 | rd | chroma_random.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chroma-utils.R
\name{chroma_random}
\alias{chroma_random}
\title{Random colors}
\usage{
chroma_random(n = 1L)
}
\arguments{
\item{n}{Number of colors desired.}
}
\value{
A vector of hexadecimal string(s).
}
\description{
Creates a random colo... |
089a0762c33b0825eac3fd0a398c412ffc1b54aa | a9a713bd5993bd5d18dcb73f51f477a4d56e2a21 | /entry/markups/r-files/visits_area_special.R | 753de5fdaa90d753d0c6b497d585b45a7987bc38 | [] | no_license | d-sedov/location-configurations | 95865f1fc07fda6f3a52922f2654837887af7c08 | 4f476d4c385c0cba435e78984f56b8ec46c6a957 | refs/heads/master | 2022-12-20T00:28:56.985992 | 2020-10-14T12:42:18 | 2020-10-14T12:42:18 | 304,011,398 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,200 | r | visits_area_special.R | ###############################################################################
#
# FILE: visits_area_special.R
#
# BY: Dmitry Sedov
#
# DATE: Sun May 10 2020
#
# DESC: This code contains the code to estimate the extra visits from an
# an increase in area specifically for a large CBSA
# (in order to para... |
a0ddc799ef57680f8e15dde06b77b9f36b7c7034 | 688185e8e8df9b6e3c4a31fc2d43064f460665f1 | /man/plafit.Rd | 09d2bc6c2c64bfe13ab9b870668d04f75f654c6c | [] | no_license | IPS-LMU/emuR | 4b084971c56e4fed9032e40999eeeacfeb4896e8 | eb703f23c8295c76952aa786d149c67a7b2df9b2 | refs/heads/master | 2023-06-09T03:51:37.328416 | 2023-05-26T11:17:13 | 2023-05-26T11:17:13 | 21,941,175 | 17 | 22 | null | 2023-05-29T12:35:55 | 2014-07-17T12:32:58 | R | UTF-8 | R | false | true | 1,702 | rd | plafit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plafit.R
\name{plafit}
\alias{plafit}
\title{Calculate the coefficients of a parabola}
\usage{
plafit(wav, fit = FALSE, n = 101)
}
\arguments{
\item{wav}{a vector or single column matrix of numeric values to which the
2nd order polynomial is ... |
7bab8cb6845dfc10de79683229d2c5320f06e5b9 | 20d793950af5e0c63f2a55eabbd1987d2fac517f | /man/howell.Rd | 2285465fb6e850baf5cf5edc21d77a063affbb91 | [] | no_license | RemkoDuursma/lgrdata | d708ad4af6dc586aa7ffbdc4ccf9bbb551da23bf | 40f47e6588c056dfc9c909951e718ce4775bda3e | refs/heads/master | 2020-04-18T15:36:00.468086 | 2019-06-19T09:45:57 | 2019-06-19T09:45:57 | 167,615,274 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 823 | rd | howell.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\docType{data}
\name{howell}
\alias{howell}
\title{Howell height, age and weight data}
\format{A data frame with 783 rows and 4 variables:
\describe{
\item{\code{sex}}{factor male or female}
\item{\code{age}}{double Age (years) }
... |
e669445adbe1db377accf4f43574147996b69e15 | 1d7683d7394100ff40ffca9a906987f553058e46 | /MCM/美赛/PRESS分析.R | 705ee765f2585d1d7975a0f3ca9f6cf665f5d8fc | [] | no_license | lvksh/2018MCM | 49353b5c5b3e0e222fcdb4042a508e1e51d857fd | a3a73e62f3032cc60d455025742ea0a7958da0bd | refs/heads/master | 2020-07-25T12:29:09.134851 | 2019-09-13T15:24:54 | 2019-09-13T15:24:54 | 208,289,750 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,946 | r | PRESS分析.R | # 灵敏度分析
# load data_2 & analysi
#####
ProblemCData_CRTCB <- read_excel("ProblemCData_CRTCB.xlsx")
Y <- filter(ProblemCData_CRTCB,
MSN == 'TPOPP' | # population
MSN == 'TETCB' | # total energy consumption
MSN == 'CRTCB') # renewable + nuclear total consumption
X <- filter(... |
e4d683d6ee5688088295e194267c819df70b9fb8 | 1a6bd47467a151a6c59dac7948df7a6bf1d7694a | /Coherence.R | 51d15b4ba0a3f0544000172697038eb08956e6fd | [] | no_license | gopalam/R_Matlab_Scripts | 1c5f64fe4e279044ff5dd37fe6845de609b60a30 | b1ecd55008bb7a7d485a5609968b75e1b01ab5f3 | refs/heads/main | 2023-07-22T13:40:20.623552 | 2021-09-11T20:06:25 | 2021-09-11T20:06:25 | 405,449,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,212 | r | Coherence.R | Coherence <- function(signal1,signal2,Dt) {
# input signal1 , signal1, vectors to analyze for coherence.
# Dt, sampling interval (in time units of time, e.g 15 min sampling interval, Dt=1/96.)
#Frequency-dependent coherence on a pair of variables
# Dt= sampling interval in units of days
# coherence can be... |
9097eb3ea8521d3a70bc9b5112a7b756bbd25697 | 61836adc436f52ad22dc9546c4fc435c1d581234 | /cachematrix.R | ac7001db2a3954cff9006c8bf26da7d8e165f46a | [] | no_license | sonkrishna/ProgrammingAssignment2 | e806c637f7158295e08d9a760c1db93bcaa99189 | 28944627867098abf01ca4369c335840d1683e21 | refs/heads/master | 2020-12-29T18:52:31.021546 | 2014-10-26T12:35:24 | 2014-10-26T12:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,899 | r | cachematrix.R | ## This file has 2 functions.
## makeCacheMatrix - creates a wrapper around a matrix,
#helps cache matrix inverse
## cacheSolve - Computes matrix inversion if not already computed before.
#stores inverted matrix in its environment, that can be retrieved when needed
#next time
## This function,
#1. Takes in a matrix ... |
6aa38a4ca594644ff0e8d629c0b5d66a415dc38f | 55663fab76aba92730ab3b91e12b079e7d8b3466 | /EB.R | d5aba94692475e656206b3e5b9b28af1ab068bbc | [] | no_license | BimoUnderWater/Image-Processing | 97fec43f038997499172ccdd7dbf05c5db075733 | c48065d938d7f708a915c74250b53c6046c92f8f | refs/heads/main | 2023-03-06T19:38:16.549330 | 2021-02-22T14:37:44 | 2021-02-22T14:37:44 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | R | false | false | 10,712 | r | EB.R | ##########################################################
# 魚解析用スクリプト 2021/01/09 山中改良
# 魚解析用スクリプト 2019/04/18 山中作成
# マガン解析用スクリプト 2018/03/15 横山作成を基に作成
# できること:画像解析,暗さを指定して処理の自動停止,結果をcsv形式で自動保存,
# 解析日の自動入力,画像・マスク・結果の保存先フォルダの指定,グラフ作成,総個体数の表示
# 画像解析手法:差分→マスク処理→2値化→オブジェクトサイズ分類→ラベリング ... |
65f7e9c54ce4dcb74e5b82fa6b7999cd14b82d71 | a113344ac3a2bd80b0528079183ce6c43e4b65de | /man/dot-get_H.Rd | 65f5cb12237a66d085d0c0778a15cb96d70e5798 | [
"MIT"
] | permissive | cdmuir/tealeaves | 2ae939d9a2f2560f2b5af38c1bdbae9ae053b119 | f4495e2403107d7b549165ac5f8c3a48bbac086a | refs/heads/master | 2022-08-11T23:27:56.357289 | 2022-07-20T02:31:39 | 2022-07-20T02:31:39 | 156,582,831 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,648 | rd | dot-get_H.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tleaves.R
\name{.get_H}
\alias{.get_H}
\title{H: sensible heat flux density (W / m^2)}
\usage{
.get_H(T_leaf, pars, unitless)
}
\arguments{
\item{T_leaf}{Leaf temperature in Kelvin}
\item{pars}{Concatenated parameters (\code{leaf_par}, \code... |
62891260bee7e1b59f5fd1881c36e3c215b25884 | 6cc899d63c4bab1e667cc0f1c1e6286fbb8596fc | /man/dunn_index.Rd | e089c236cd5d413931b126f5d3dfe646ed7f25dd | [] | no_license | mobius-eng/ravcutils | 1b26a513b8b6eecb4d71ed26f775d462c1870287 | 7e3138c0b8ac1df8799bde50b391de2205f98d92 | refs/heads/master | 2023-08-13T11:32:27.675698 | 2021-10-13T10:48:09 | 2021-10-13T10:48:09 | 373,436,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | dunn_index.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ravcutils.R
\name{dunn_index}
\alias{dunn_index}
\title{Dunn index to select cluster numbers}
\usage{
dunn_index(data, classification, centroids, stdev)
}
\arguments{
\item{data}{matrix of observations}
\item{classification}{vector of classi... |
26d905c831600213e5c1790bb189eaab74227c2f | ef8bf01e222787092e3c62dadf19c573558b68b5 | /man/TF_EAE_LAND_OCCUPTN_1991.Rd | efa2ec3f2d240749b161175a909116d287eebd1b | [
"CC-BY-2.0"
] | permissive | weRbelgium/BelgiumStatistics | fdd8998e52ae43bf1564a61cba6a676edacd8dd4 | 37758b79164412322db35e9bb172d0ea5f3b192b | refs/heads/master | 2021-01-21T05:59:22.308770 | 2015-11-19T22:59:05 | 2015-11-19T22:59:05 | 44,752,835 | 17 | 2 | null | null | null | null | UTF-8 | R | false | false | 651 | rd | TF_EAE_LAND_OCCUPTN_1991.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{TF_EAE_LAND_OCCUPTN_1991}
\alias{TF_EAE_LAND_OCCUPTN_1991}
\title{TF_EAE_LAND_OCCUPTN_1991}
\description{
leefmilieu: TF_EAE_LAND_OCCUPTN_1991. More information about this data can be found in the inst/... |
9b03d9f8e06a7b42b959725a4f2ee1894a4ba66a | 10955e82b2b8e760bb5aed755dcc4555a6ee7ae4 | /R/script_ProATPsyn.R | 3be946eb45e933aef12939667f8975708f09ff8e | [] | no_license | wangjs/BioCycTU | b0dbd7aa94b4c8a92af45779946fed5664ebf1f0 | d278b20f301ef30267f8b47495b6b21e0df4b08b | refs/heads/master | 2021-05-06T10:32:04.256753 | 2014-06-03T19:22:13 | 2014-06-03T19:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,894 | r | script_ProATPsyn.R | #! /usr/bin/Rscript --vanilla
## subunit KOID
## beta K02112
## alpha K02111
## gamma K02115
## delta K02113
## epsilon K02114
## c K02110
## a K02108
## b K02109
CutSeq <- function(cutSeq){
# USE: cut a vector based on the 'cutSeq'. This function is used to cut "full" seq. It means the sum of 'cutSeq' should be eq... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.